| |
|
| java.lang.Object com.ibm.webdav.fileSystem.LockManager
LockManager | public LockManager()(Code) | | |
getSupportedLock | public Element getSupportedLock()(Code) | | Get information about locks supported by this resource.
The file system supports shared and exclusive write locks.
an Element with tag name D:supportedlock |
lock | public MultiStatus lock(ActiveLock activeLock) throws WebDAVException(Code) | | Lock this resource Using the given activeLock. Create the
lock by adding a new active lock to the lock discovery property.
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 - |
refreshLock | public MultiStatus refreshLock(ActiveLock activeLock) throws WebDAVException(Code) | | Refresh the lock on this resource by resetting the lock timeout.
The context must contain the proper authorization for the requesting
principal. Refresh the lock by updating the timeout element of the
active lock in the lock discovery property.
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 | public MultiStatus unlock(ActiveLock activeLock) throws WebDAVException(Code) | | Unlock the lock identified by the lockToken on this resource by
removing the active lock from the lock discovery property.
Parameters: activeLock - the lock to unlock a MultiStatus containing any responses on resources that could notbe unlocked. exception: com.ibm.webdav.WebDAVException - |
|
|
|