absPath
. Also removes the properties jcr:lockOwner
and jcr:lockIsDeep
from that node. As well, the corresponding lock token is removed from the set of lock tokens held by the current Session
. If the node does not currently hold a lock or holds a lock for which this Session
is not the owner, then a LockException
is thrown. Note however that the system may give permission to a non-owning session to unlock a lock. Typically such "lock-superuser" capability is intended to facilitate administrational clean-up of orphaned open-scoped locks.
Note that it is possible to unlock a node even if it is checked-in (the lock-related properties will be changed despite the checked-in status).
If the current session does not have sufficient privileges to remove the lock, an AccessDeniedException
is thrown.
An InvalidItemStateException
is thrown if this node has pending unsaved changes.
An UnsupportedRepositoryOperationException
is thrown if this implementation does not support locking.
A RepositoryException
is thrown if another error occurs.
@param absPath absolute path of node to be unlocked
@throws UnsupportedRepositoryOperationException if this implementation does not support locking.
@throws LockException if this node does not currently hold a lock or holds a lock for which this Session does not have the correct lock token
@throws AccessDeniedException if the current session does not have permission to unlock this node.
@throws InvalidItemStateException if this node has pending unsaved changes.
@throws RepositoryException if another error occurs.
|
|
|
|
|
|