|
||||||||||
| 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(String lockToken,
String lockOwner,
boolean isDeep,
boolean isSessionScoped,
long secondsRemaining,
boolean isLockOwner,
NodeId nodeId)
Creates a new lock info for the given lock info. |
|
LockInfoImpl(String lockToken,
String lockOwner,
boolean isDeep,
boolean isSessionScoped,
NodeId nodeId)
Creates a new lock info for the given lock info. |
|
| Method Summary | |
|---|---|
String |
getLockToken()
|
NodeId |
getNodeId()
|
String |
getOwner()
|
long |
getSecondsRemaining()
|
boolean |
isDeep()
|
boolean |
isLockOwner()
|
boolean |
isSessionScoped()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LockInfoImpl(String lockToken,
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.
public LockInfoImpl(String lockToken,
String lockOwner,
boolean isDeep,
boolean isSessionScoped,
long secondsRemaining,
boolean isLockOwner,
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 notsecondsRemaining - Number of seconds until the lock timeout is reached.isLockOwner - true if the calling session is lock
owner; false otherwise.nodeId - the node id of the locked node.| Method Detail |
|---|
public String getLockToken()
getLockToken in interface LockInfopublic String getOwner()
getOwner in interface LockInfopublic boolean isDeep()
isDeep in interface LockInfopublic boolean isSessionScoped()
isSessionScoped in interface LockInfopublic long getSecondsRemaining()
getSecondsRemaining in interface LockInfopublic boolean isLockOwner()
isLockOwner in interface LockInfopublic NodeId getNodeId()
getNodeId in interface LockInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||