Package | Description |
---|---|
org.apache.jackrabbit.spi2dav | |
org.apache.jackrabbit.webdav | |
org.apache.jackrabbit.webdav.client.methods |
Provides classes for use with the Apache HttpClient, supporting WebDAV
request methods.
|
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_SESSION
Extension 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
null
if 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.
|
Constructor and Description |
---|
LockMethod(String uri,
Scope lockScope,
Type lockType,
String owner,
long timeout,
boolean isDeep)
Deprecated.
Creates a new
LockMethod . |
Modifier and Type | Field and Description |
---|---|
static Scope |
ItemResourceConstants.EXCLUSIVE_SESSION
Extension 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 |
DefaultItemCollection.getLock(Type type,
Scope scope)
Retrieve the lock with the specified type and scope.
|
ActiveLock |
DefaultItemResource.getLock(Type type,
Scope scope)
JCR properties are locked if their
parent node is locked; thus this method will always return the
lock object from the collection this resource is
internal member of. |
boolean |
DefaultItemCollection.hasLock(Type type,
Scope scope) |
Modifier and Type | Method and Description |
---|---|
Scope |
JcrActiveLock.getScope() |
Scope |
SessionScopedLockEntry.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
Scope object from the given name and namespace. |
static Scope |
Scope.createFromXml(Element lockScope)
Create a
Scope object from the given Xml element. |
Scope |
ActiveLock.getScope()
Return the scope of this lock.
|
Scope |
DefaultActiveLock.getScope()
This is always an exclusive lock.
|
Scope |
LockEntry.getScope()
Returns the scope of this lock entry.
|
Scope |
LockInfo.getScope()
Return the lock scope or
null if no 'lockinfo' element was
passed to the constructor or did not contain an 'scope' element and the
scope has not been set otherwise. |
Modifier and Type | Method and Description |
---|---|
void |
SupportedLock.addEntry(Type type,
Scope scope)
Adds a capability to this lock support.
|
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.getLock(Type type,
Scope scope,
DavResource resource)
Returns the lock applying to the given resource or
null if
no lock can be found. |
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 |
TxActiveLock.getScope()
Returns the scope of this lock which is either
TransactionConstants.LOCAL or TransactionConstants.GLOBAL . |
Scope |
TxLockEntry.getScope()
|
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–2021 The Apache Software Foundation. All rights reserved.