Interface LockEventListener
-
- All Known Implementing Classes:
LockManagerImpl
public interface LockEventListener
Interface used to receive information about incoming, external lock events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
externalLock(NodeId nodeId, boolean isDeep, String lockOwner)
Handle an external lock operation.void
externalUnlock(NodeId nodeId)
Handle an external unlock operation.
-
-
-
Method Detail
-
externalLock
void externalLock(NodeId nodeId, boolean isDeep, String lockOwner) throws RepositoryException
Handle an external lock operation.- Parameters:
nodeId
- node idisDeep
-true
if the lock is deep;false
otherwiselockOwner
- lock owner- Throws:
RepositoryException
- if the lock cannot be processed
-
externalUnlock
void externalUnlock(NodeId nodeId) throws RepositoryException
Handle an external unlock operation.- Parameters:
nodeId
- node id- Throws:
RepositoryException
- if the unlock cannot be processed
-
-