| Package | Description | 
|---|---|
| org.apache.jackrabbit.spi2dav | |
| org.apache.jackrabbit.webdav | |
| org.apache.jackrabbit.webdav.jcr | Contains JCR specific implementations. | 
| org.apache.jackrabbit.webdav.jcr.lock | |
| org.apache.jackrabbit.webdav.jcr.transaction | |
| org.apache.jackrabbit.webdav.lock | Provides interfaces and classes for locking related issues. | 
| org.apache.jackrabbit.webdav.simple | |
| org.apache.jackrabbit.webdav.transaction | Contains interfaces and classes related to transaction locks. | 
| Constructor and Description | 
|---|
| LockInfoImpl(ActiveLock activeLock,
            NodeId nodeId,
            Set<String> sessionLockTokens) | 
| Modifier and Type | Method and Description | 
|---|---|
| ActiveLock | DavResource. getLock(Type type,
       Scope scope)Return the lock present on this webdav resource or  nullif the resource is either not locked or not lockable at all. | 
| ActiveLock[] | DavResource. getLocks()Returns an array of all locks applied to the given resource. | 
| ActiveLock | DavResource. lock(LockInfo reqLockInfo)Lock this webdav resource with the information retrieve from the request
 and return the resulting lockdiscovery object. | 
| ActiveLock | DavResource. refreshLock(LockInfo reqLockInfo,
           String lockToken)Refresh an existing lock by resetting the timeout. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | WebdavResponseImpl. sendRefreshLockResponse(ActiveLock[] locks)Send response body for a lock request that was intended to refresh one
 or several locks. | 
| void | DavServletResponse. sendRefreshLockResponse(ActiveLock[] locks)Send the lock response for a successful LOCK request, that was intended
 to refresh an existing lock. | 
| Modifier and Type | Method and Description | 
|---|---|
| ActiveLock | DefaultItemResource. getLock(Type type,
       Scope scope)JCR propertiesare locked if their
 parent node is locked; thus this method will always return thelockobject from the collection this resource is
 internal member of. | 
| ActiveLock | DefaultItemCollection. getLock(Type type,
       Scope scope)Retrieve the lock with the specified type and scope. | 
| ActiveLock | DefaultItemCollection. lock(LockInfo reqLockInfo)Creates a lock on this resource by locking the underlying
  node. | 
| ActiveLock | DefaultItemCollection. refreshLock(LockInfo reqLockInfo,
           String lockToken)Refreshes the lock on this resource. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JcrActiveLockJcrActiveLockwraps aJCR lockobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| ActiveLock | TxLockManagerImpl. createLock(LockInfo lockInfo,
          DavResource resource)Create a new lock. | 
| ActiveLock | TxLockManagerImpl. getLock(Type type,
       Scope scope,
       DavResource resource)Always returns null | 
| ActiveLock | TxLockManagerImpl. getLock(Type type,
       Scope scope,
       TransactionResource resource)Return the lock applied to the given resource or  null | 
| ActiveLock | TxLockManagerImpl. refreshLock(LockInfo lockInfo,
           String lockToken,
           DavResource resource)Refresh the lock identified by the given lock token. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractActiveLockAbstractActiveLock... | 
| class  | DefaultActiveLockDefaultActiveLockimplements theActiveLockinterface
 and represents an exclusive write lock with a random uuid lock token. | 
| Modifier and Type | Method and Description | 
|---|---|
| ActiveLock | SimpleLockManager. createLock(LockInfo lockInfo,
          DavResource resource)Adds the lock for the given resource, replacing any existing lock. | 
| ActiveLock | LockManager. createLock(LockInfo lockInfo,
          DavResource resource)Create a new lock for the given  resource. | 
| ActiveLock | SimpleLockManager. getLock(Type type,
       Scope scope,
       DavResource resource)Returns the lock applying to the given resource or  nullif
 no lock can be found. | 
| ActiveLock | LockManager. getLock(Type type,
       Scope scope,
       DavResource resource)Retrieve the lock with the given type and scope that is applied to the
 given resource. | 
| ActiveLock | SimpleLockManager. refreshLock(LockInfo lockInfo,
           String lockToken,
           DavResource resource) | 
| ActiveLock | LockManager. refreshLock(LockInfo lockInfo,
           String lockToken,
           DavResource resource)Refresh the lock identified by the given lockToken and initially created
 on the specified resource. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<ActiveLock> | LockDiscovery. getValue()Returns the list of active locks. | 
| Constructor and Description | 
|---|
| LockDiscovery(ActiveLock lock)Create a new LockDiscovery property | 
| LockDiscovery(ActiveLock[] locks)Create a new LockDiscovery property | 
| Modifier and Type | Method and Description | 
|---|---|
| ActiveLock | DavResourceImpl. getLock(Type type,
       Scope scope) | 
| ActiveLock[] | DavResourceImpl. getLocks() | 
| ActiveLock | DavResourceImpl. lock(LockInfo lockInfo) | 
| ActiveLock | DavResourceImpl. refreshLock(LockInfo lockInfo,
           String lockToken) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | TxActiveLockTxActiveLockrepresents the transaction lock present on aTransactionResource. | 
| Modifier and Type | Method and Description | 
|---|---|
| ActiveLock | TxLockManager. getLock(Type type,
       Scope scope,
       TransactionResource resource)Return the lock applied to the given resource or  null | 
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.