|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.LockInfoImpl
public class LockInfoImpl
LockInfoImpl implements a serializable LockInfo
based on another lock info.
| Constructor Summary | |
|---|---|
LockInfoImpl(java.lang.String lockToken,
java.lang.String lockOwner,
boolean isDeep,
boolean isSessionScoped,
NodeId nodeId)
Creates a new lock info for the given lock info. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LockInfoImpl(java.lang.String lockToken,
java.lang.String lockOwner,
boolean isDeep,
boolean isSessionScoped,
NodeId nodeId)
lock info.
lockToken - the lock tokenlockOwner - the lock ownerisDeep - whether this lock is deep or notisSessionScoped - whether this lock is session scoped or notnodeId - the node id of the locked node.| Method Detail |
|---|
public java.lang.String getLockToken()
null otherwise.
getLockToken in interface LockInfonullLock.getLockToken()public java.lang.String getOwner()
getOwner in interface LockInfoLock.getLockOwner()public boolean isDeep()
isDeep in interface LockInfoLock.isDeep()public boolean isSessionScoped()
isSessionScoped in interface LockInfoLock.isSessionScoped()public NodeId getNodeId()
NodeId of the lock-holding Node.
getNodeId in interface LockInfoNodeId of the lock-holding Node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||