|
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_SystemObject | +--oracle.ifs.server.S_TieSystemObject | +--oracle.ifs.server.S_LockObject
S_LockObject is a server side representation of the iFS LOCKOBJECT class. It is meant to represent information associated with locks on a PublicObject
Method Summary | |
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)
Performs pre-insert validation. |
protected void |
extendedPreUpdate(OperationState opState,
S_LibraryObjectDefinition def)
Update any system attributes appropriate for creating this object |
boolean |
isLockedForSession()
Returns true if the LockState of this object is LOCKSTATE_SESSIONLOCK If the PublicObject that points to this LockObject has a session lock, this will return true. |
boolean |
isLockedForSessionByCurrentSession()
Returns true if the PublicObject that refers to this LockObject has a session lock, and it is held by the invoking session. |
protected boolean |
isShared()
Returns true if this LockObject is referenced by multiple PublicObjects |
boolean |
isUserLockedByCurrentSessionUser()
Returns true if the LockState of this object is LOCKSTATE_USERLOCK and it is held by the currently logged in user of the current session. |
Methods inherited from class oracle.ifs.server.S_LibraryObject |
equals, extendedPostFree, extendedPostInsert, extendedPostUpdate, free, getAttribute, getAttributeByUpperCaseName, getClassId, getClassObject, getId, getSession, handleEvent, hasNameAttribute, 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
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_SystemObject
opState
- operation statedef
- the definition of the InterMediaSource
being createdIfsException
- if operation failsprotected 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 isLockedForSession() throws IfsException
IfsException
- if operation fails.
FIXME : why doesent this work off of the lockstate ?/public boolean isLockedForSessionByCurrentSession() throws IfsException
IfsException
- if operation fails.public boolean isUserLockedByCurrentSessionUser() throws IfsException
IfsException
- if operation fails.protected boolean isShared() throws IfsException
id
- the lockObjectIfsException
- if the operation fails
|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |