Package | Description |
---|---|
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 | 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.
|
Modifier and Type | Method and Description |
---|---|
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. |
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 |
---|---|
Type |
SessionScopedLockEntry.getType() |
Type |
JcrActiveLock.getType()
Always returns
WRITE . |
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 Type |
Type.WRITE |
Modifier and Type | Method and Description |
---|---|
static Type |
Type.create(String localName,
Namespace namespace)
Create a
Type object from the given localName and namespace. |
static Type |
Type.createFromXml(Element lockType)
Create a
Type object from the given Xml element. |
Type |
LockInfo.getType()
Returns the lock type or
null if no 'lockinfo' element was
passed to the constructor or did not contain an 'type' element and the
type has not been set otherwise. |
Type |
LockEntry.getType()
Returns the type of this lock entry
|
Type |
DefaultActiveLock.getType()
This is always a write lock.
|
Type |
ActiveLock.getType()
Return the type 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
null if
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.setType(Type type)
Set the lock type.
|
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 Type |
TransactionConstants.TRANSACTION
"transaction" lock type constant.
|
Modifier and Type | Method and Description |
---|---|
Type |
TxLockEntry.getType()
Returns the
'transaction' lock type. |
Type |
TxActiveLock.getType()
Always returns the
TransactionConstants.TRANSACTION type. |
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–2023 The Apache Software Foundation. All rights reserved.