|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.server.S_LibraryObject | +--oracle.ifs.server.S_TieLibraryObject | +--oracle.ifs.server.S_PublicObject | +--oracle.ifs.server.S_TiePublicObject | +--oracle.ifs.server.S_ApplicationObject | +--oracle.ifs.server.S_TieApplicationObject | +--oracle.ifs.server.S_PropertyBundle
An S_PropertyBundle is the server-side representation of PropertyBundle.
Method Summary | |
protected void |
deriveDefinition(S_LibraryObjectDefinition def)
Derives the S_LibraryObjectDefinition for this class. |
protected void |
extendedPreFree(OperationState opState,
S_LibraryObjectDefinition def)
Removes all properties from this PropertyBundle prior to freeing this PropertyBundle. |
protected void |
extendedPreUpdate(OperationState opState,
S_LibraryObjectDefinition def)
Performs operations prior to updating this PropertyBundle. |
S_Property[] |
getProperties(SortSpecification sort)
Gets the properties in this PropertyBundle sorted by the SortSpecification. |
S_Property |
getProperty(java.lang.String name)
Gets the S_Property of the specified name. |
AttributeValue |
getPropertyValue(java.lang.String name)
Gets the value of a particular property. |
void |
handleEvent(IfsEvent event)
Handles the specified event. |
void |
putProperty(AttributeValue av)
Inserts or updates a property in this PropertyBundle. |
void |
removeProperty(java.lang.String name)
Removes a property from this PropertyBundle. |
Methods inherited from class oracle.ifs.server.S_ApplicationObject |
isVersionable |
Methods inherited from class oracle.ifs.server.S_LibraryObject |
equals, free, getAttribute, getAttributeByUpperCaseName, getClassId, getClassObject, getId, getSession, isTraced, postEvent, postEvent, renderAsReader, renderAsStream, setAttribute, setAttribute, toString, trace, update |
Methods inherited from interface oracle.ifs.common.LibraryObjectInterface |
getId |
Methods inherited from interface oracle.ifs.common.Traceable |
getTraceLogger, isTraced, trace |
Method Detail |
protected void deriveDefinition(S_LibraryObjectDefinition def) throws IfsException
This is called by getDefinition() on S_LibraryObject. This must call super.deriveDefinition() before applying any class-specific changes to the S_LibraryObjectDefinition object.
deriveDefinition
in class S_PublicObject
def
- the S_LibraryObjectDefinition that contains
the definition of this objectIfsException
- if operation failspublic void handleEvent(IfsEvent event) throws IfsException
handleEvent
in class S_LibraryObject
event
- the eventIfsException
- if the operation failsprotected void extendedPreFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
This is overridden by classes that need to perform operations after successfully deleting the rows for the freed instance.
extendedPreFree
in class S_PublicObject
opState
- operation statedef
- the server-side definitionIfsException
- if operation failsprotected void extendedPreUpdate(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
The update option is specified as a SystemOption. The options are to remove a property, remove all properties, or put a property.
extendedPreUpdate
in class S_PublicObject
opState
- operation statedef
- the server-side definition class that
holds the attribute changesIfsException
- if operation failspublic S_Property[] getProperties(SortSpecification sort) throws IfsException
sort
- the specification of how the properties
will be sortedIfsException
- if the operation failspublic void putProperty(AttributeValue av) throws IfsException
The name of the property is taken from the name of the AttributeValue. The value of the property is the value of the AttributeValue.
av
- the AttributeValue containing the name and
value of the property to insert or update.IfsException
- if the operation failspublic void removeProperty(java.lang.String name) throws IfsException
name
- the name of the property to be removedIfsException
- if the operation failspublic AttributeValue getPropertyValue(java.lang.String name) throws IfsException
name
- the name of the propertyIfsException
- if the operation failspublic S_Property getProperty(java.lang.String name) throws IfsException
name
- the name of the propertyIfsException
- if the operation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |