Class SimpleLockManager

  • All Implemented Interfaces:

    public class SimpleLockManager
    extends java.lang.Object
    implements LockManager
    Simple manager for webdav locks.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ActiveLock createLock​(LockInfo lockInfo, DavResource resource)
      Adds the lock for the given resource, replacing any existing lock.
      ActiveLock getLock​(Type type, Scope scope, DavResource resource)
      Returns the lock applying to the given resource or null if no lock can be found.
      boolean hasLock​(java.lang.String lockToken, DavResource resource)
      Returns true, if the the manager contains a lock for the given resource, that is hold by the specified token.
      ActiveLock refreshLock​(LockInfo lockInfo, java.lang.String lockToken, DavResource resource)
      Refresh the lock identified by the given lockToken and initially created on the specified resource.
      void releaseLock​(java.lang.String lockToken, DavResource resource)
      Remove the lock hold by the given resource.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait