Harmonise implementation of LockManager to provide DAV4J with
access to locking functionality of the Harmonise repository.
author: Michael Bell version: $Revision: 1.2 $
refreshLock(ActiveLock activeLock) Refresh the lock on this resource by resetting the lock timeout.
The context must contain the proper authorization for the requesting
principal.
Parameters: activeLock - the lock to refresh.
Create a lock manager for the given resource.
Parameters: resource - the resource to manage locks for Parameters: namespaceManager - its namespace manager Parameters: propertiesManager - and its properties manager
Get the locks that exist on this resource. May be null if the resource
is not locked.
a Vector of ActiveLock objects exception: com.ibm.webdav.WebDAVException -
Initialize an this LockManager instance.
Parameters: resource - the resource to manage locks for Parameters: namespaceManager - its namespace manager Parameters: propertiesManager - its properties manager
Lock this resource Using the given activeLock.
Parameters: activeLock - the lock to activate (i.e., persist) a MultiStatus containing a lockdiscovery property indicatingthe results of the lock operation. exception: com.ibm.webdav.WebDAVException -
Refresh the lock on this resource by resetting the lock timeout.
The context must contain the proper authorization for the requesting
principal.
Parameters: activeLock - the lock to refresh. Contains the updated timeoutand expiration date. updated information about the lock status of this resource exception: com.ibm.webdav.WebDAVException -
Unlock the lock identified by the lockToken on this resource
Parameters: activeLock - the lock to unlock a MultiStatus containing any responses on resources that could notbe unlocked. exception: com.ibm.webdav.WebDAVException -