|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LockInfo
LockInfo is used to transport lock information across the SPI
boundary.
RepositoryService.getLockInfo(SessionInfo, NodeId),
RepositoryService.lock(SessionInfo, NodeId, boolean, boolean)| Method Summary | |
|---|---|
java.lang.String |
getLockToken()
Returns the lock token for this lock if it is hold by the requesting session or null otherwise. |
NodeId |
getNodeId()
Returns the NodeId of the lock-holding Node. |
java.lang.String |
getOwner()
Returns the user ID of the user who owns this lock. |
boolean |
isDeep()
Returns true if the Lock is deep. |
boolean |
isSessionScoped()
Returns true if the Lock is session scoped. |
| Method Detail |
|---|
java.lang.String getLockToken()
null otherwise.
nullLock.getLockToken()java.lang.String getOwner()
Lock.getLockOwner()boolean isDeep()
Lock.isDeep()boolean isSessionScoped()
Lock.isSessionScoped()NodeId getNodeId()
NodeId of the lock-holding Node.
NodeId of the lock-holding Node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||