| 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. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Scope | ItemResourceConstants. EXCLUSIVE_SESSIONExtension to the WebDAV 'exclusive' lock, that allows to distinguish
 the session-scoped and open-scoped locks on a JCR node. | 
| 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. | 
| boolean | DavResource. hasLock(Type type,
       Scope scope)Returns true if a lock applies to this resource. | 
| boolean | DavResource. isLockable(Type type,
          Scope scope)Returns true, if the this resource allows locking. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Scope | ItemResourceConstants. EXCLUSIVE_SESSIONExtension to the WebDAV 'exclusive' lock, that allows to distinguish
 the session-scoped and open-scoped locks on a JCR node. | 
| 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. | 
| boolean | DefaultItemCollection. hasLock(Type type,
       Scope scope) | 
| Modifier and Type | Method and Description | 
|---|---|
| Scope | SessionScopedLockEntry. getScope() | 
| Scope | JcrActiveLock. getScope() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 | 
| Modifier and Type | Field and Description | 
|---|---|
| static Scope | Scope. EXCLUSIVE | 
| static Scope | Scope. SHARED | 
| Modifier and Type | Method and Description | 
|---|---|
| static Scope | Scope. create(String localName,
      Namespace namespace)Create a  Scopeobject from the given name and namespace. | 
| static Scope | Scope. createFromXml(Element lockScope)Create a  Scopeobject from the given Xml element. | 
| Scope | LockInfo. getScope()Return the lock scope or  nullif no 'lockinfo' element was
 passed to the constructor or did not contain an 'scope' element and the
 scope has not been set otherwise. | 
| Scope | LockEntry. getScope()Returns the scope of this lock entry. | 
| Scope | DefaultActiveLock. getScope()This is always an exclusive lock. | 
| Scope | ActiveLock. getScope()Return the scope of this lock. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SupportedLock. addEntry(Type type,
        Scope scope)Adds a capability to this lock support. | 
| 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. | 
| boolean | SupportedLock. isSupportedLock(Type type,
               Scope scope)Returns true if this a lock with the given type and scope is supported. | 
| void | LockInfo. setScope(Scope scope)Set the lock scope. | 
| Constructor and Description | 
|---|
| LockInfo(Scope scope,
        Type type,
        String owner,
        long timeout,
        boolean isDeep)Create a new  LockInfo | 
| Modifier and Type | Method and Description | 
|---|---|
| ActiveLock | DavResourceImpl. getLock(Type type,
       Scope scope) | 
| boolean | DavResourceImpl. hasLock(Type type,
       Scope scope) | 
| boolean | DavResourceImpl. isLockable(Type type,
          Scope scope) | 
| Modifier and Type | Field and Description | 
|---|---|
| static Scope | TransactionConstants. GLOBAL"global" lock scope constant. | 
| static Scope | TransactionConstants. LOCAL"local" lock scope constant. | 
| Modifier and Type | Method and Description | 
|---|---|
| Scope | TxLockEntry. getScope() | 
| Scope | TxActiveLock. getScope()Returns the scope of this lock which is either  TransactionConstants.LOCALorTransactionConstants.GLOBAL. | 
| 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–2024 The Apache Software Foundation. All rights reserved.