The Session object provides the following methods for managing lock tokens:
javax.jcr. |
|
void |
addLockToken(String lt) Adds the specified lock token to this session. Holding a lock token allows the Session object of the lock owner to alter nodes that are locked by the lock specified by that particular lock token. |
String[] |
getLockTokens() Returns an array containing all lock tokens currently held by this session. |
void |
removeLockToken(String lt) Removes the specified lock token from this session. |