|
|||||||||
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
The S_PublicObject class is the server side implementation of the iFS PUBLICOBJECT class.
Method Summary | |
void |
addRelationship(S_PublicObject rightPo,
S_LibraryObjectDefinition def)
Add a relationship to another public object |
protected void |
deriveDefinition(S_LibraryObjectDefinition def)
Add to the S_LibraryObjectDefinition for this class. |
protected void |
extendedPreFree(OperationState opState,
S_LibraryObjectDefinition def)
operations to be performed before freeing an object. |
protected void |
extendedPreInsert(OperationState opState,
S_LibraryObjectDefinition def)
Update any system attributes appropriate for creating this object |
protected void |
extendedPreUpdate(OperationState opState,
S_LibraryObjectDefinition def)
Update any system attributes appropriate for creating this object |
S_Category[] |
getCategories()
Get all categries associated with this instance. |
S_PublicObject[] |
getLeftwardRelationshipObjects(S_ClassObject relClass,
SortSpecification sort)
returns all "left side" public objects that are related to this object by the specied Relationship Class. |
S_PublicObject[] |
getLeftwardRelationshipObjects(java.lang.String relClassName,
SortSpecification sort)
returns all "left side" public objects that are related to this object by the specied Relationship Class. |
S_Relationship[] |
getLeftwardRelationships(S_ClassObject relClass,
SortSpecification sort)
returns all "left side" relationship instances that are used to relate to this object to other PublicObjects. |
S_Relationship[] |
getLeftwardRelationships(java.lang.String relClassName,
SortSpecification sort)
returns all "left side" relationship instances that are used to relate to this object to other PublicObjects. |
S_Folder[] |
getReferencingFolders(SortSpecification sort)
returns an array of S_Folders that reference this object |
S_PublicObject[] |
getRightwardRelationshipObjects(S_ClassObject relClass,
SortSpecification sort)
returns all "right side" public objects that are related to this object by the specified Relationship Class. |
S_PublicObject[] |
getRightwardRelationshipObjects(java.lang.String relClassName,
SortSpecification sort)
returns all "right side" public objects that are related to this object by the specified Relationship Class. |
S_Relationship[] |
getRightwardRelationships(S_ClassObject relClass,
SortSpecification sort)
returns all "right side" relationship instances that are used to relate to this object to other PublicObjects. |
S_Relationship[] |
getRightwardRelationships(java.lang.String relClassName,
SortSpecification sort)
returns all "right side" relationship instances that are used to relate to this object to other PublicObjects. |
S_VersionDescription[] |
getVersionDescriptions()
Get all VERSIONDESCRIPTIONs associated with this instance. |
boolean |
hasNameAttribute()
Override of hasNameAttribute(), to always return true for PublicObjects |
boolean |
isLocked()
isLocked() - get the lock state |
boolean |
isVersionable()
returns true if this object can be in a Family |
void |
removeRelationship(S_Relationship rel)
removes the relationship; may cascade to left and right objects. |
Methods inherited from class oracle.ifs.server.S_LibraryObject |
equals, free, getAttribute, getAttributeByUpperCaseName, getClassId, getClassObject, getId, getSession, handleEvent, 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 |
public boolean hasNameAttribute() throws IfsException
hasNameAttribute
in class S_LibraryObject
IfsException
- if operation fails.protected void deriveDefinition(S_LibraryObjectDefinition def) throws IfsException
deriveDefinition
in class S_LibraryObject
def
- the S_LibraryObjectDefinition that contains
the definition of the target object.IfsException
- if operation fails.protected void extendedPreInsert(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreInsert
in class S_LibraryObject
opState
- current operation statedef
- current object definition to be updated with system attributesIfsException
- if operation fails.protected void extendedPreUpdate(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreUpdate
in class S_LibraryObject
the
- operation statedef
- current object definition to be updated with system attributesIfsException
- if operation fails.protected void extendedPreFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreFree
in class S_LibraryObject
opState
- current operation statedef
- current object definition to be updated with system attributesIfsException
- if operation fails.public boolean isLocked() throws IfsException
IfsException
- if operation fails.public boolean isVersionable() throws IfsException
public S_Folder[] getReferencingFolders(SortSpecification sort) throws IfsException
sort
- the SortSpecification specifying how to sort the referencing foldersIfsException
- if operation failspublic void addRelationship(S_PublicObject rightPo, S_LibraryObjectDefinition def) throws IfsException
rightPo
- the right-hand objectdef
- the relationship definition of the new relationshipIfsException
- if any other aspect of the operation fails.public void removeRelationship(S_Relationship rel) throws IfsException
rel
- the Relationship instance to be removedpublic S_Category[] getCategories() throws IfsException
IfsException
- if the operation failspublic S_VersionDescription[] getVersionDescriptions() throws IfsException
IfsException
- if the operation failspublic S_PublicObject[] getRightwardRelationshipObjects(java.lang.String relClassName, SortSpecification sort) throws IfsException
RelationshipClassName
- the name of the class of relationship on which to filter. Default is RELATIONSHIPIfsException
- if operation fails.public S_PublicObject[] getRightwardRelationshipObjects(S_ClassObject relClass, SortSpecification sort) throws IfsException
RelationshipClass
- the class of relationship on which to filter.IfsException
- if operation fails.public S_PublicObject[] getLeftwardRelationshipObjects(java.lang.String relClassName, SortSpecification sort) throws IfsException
RelationshipClassName
- the name of the class of relationship on which to filter.IfsException
- if operation fails.public S_PublicObject[] getLeftwardRelationshipObjects(S_ClassObject relClass, SortSpecification sort) throws IfsException
RelationshipClass
- the class of relationship on which to filter.IfsException
- if operation fails.public S_Relationship[] getRightwardRelationships(java.lang.String relClassName, SortSpecification sort) throws IfsException
RelationshipClassName
- the name of the class of relationship on which to filter.IfsException
- if operation fails.public S_Relationship[] getRightwardRelationships(S_ClassObject relClass, SortSpecification sort) throws IfsException
RelationshipClass
- the class of relationship on which to filter.IfsException
- if operation fails.public S_Relationship[] getLeftwardRelationships(java.lang.String relClassName, SortSpecification sort) throws IfsException
RelationshipClassName
- the name of the class of relationship on which to filter.IfsException
- if operation fails.public S_Relationship[] getLeftwardRelationships(S_ClassObject relClass, SortSpecification sort) throws IfsException
RelationshipClass
- the class of relationship on which to filter.IfsException
- if operation fails.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |