|
Oracle Content Management SDK | |||||||||
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 |
boolean |
checkAccess(AccessLevel level)
Checks to see if the current user has the set of permissions specified for the target object. |
protected void |
deriveDefinition(S_LibraryObjectDefinition def)
Add to the S_LibraryObjectDefinition for this class. |
protected void |
extendedPostInsert(OperationState opState,
S_LibraryObjectDefinition def)
operations to be performed after creating an object. |
protected void |
extendedPostUpdate(OperationState opState,
S_LibraryObjectDefinition def)
extended operations to be performed after updating an object. |
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_Category[] |
getCategories(SortSpecification sort)
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_LockObject |
getLockObject()
Returns the lock object of this object |
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()
returns true if the LockObject attribute is not null |
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. |
protected void |
verifyCanUseContentQuota(S_ContentQuota quota)
Verify that the current user can use the specified ContentQuota object. |
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 extendedPostInsert(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPostInsert
in class S_LibraryObject
opState
- current operation statedef
- object definitionIfsException
- 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 extendedPostUpdate(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPostUpdate
in class S_LibraryObject
opState
- the Operation statedef
- the S_LibraryObjectDefinition that contains the updates.IfsException
- 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 S_LockObject getLockObject() throws IfsException
IfsException
- if operation fails.public boolean isVersionable() throws IfsException
protected void verifyCanUseContentQuota(S_ContentQuota quota) throws IfsException
IfsException
- (IFS-34806) if user cannot use the specified quotapublic boolean checkAccess(AccessLevel level) throws IfsException
level
- the set of permissions which needs to verified.IfsException
- if the operation failspublic 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_Category[] getCategories(SortSpecification sort) 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.
|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |