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
null
if 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 |
DavServletResponse.sendRefreshLockResponse(ActiveLock[] locks)
Send the lock response for a successful LOCK request, that was intended
to refresh an existing lock.
|
void |
WebdavResponseImpl.sendRefreshLockResponse(ActiveLock[] locks)
Send response body for a lock request that was intended to refresh one
or several locks.
|
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. |
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 |
JcrActiveLock
JcrActiveLock wraps a JCR lock object. |
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 |
AbstractActiveLock
AbstractActiveLock ... |
class |
DefaultActiveLock
DefaultActiveLock implements the ActiveLock interface
and represents an exclusive write lock with a random uuid lock token. |
Modifier and Type | Method and Description |
---|---|
ActiveLock |
LockManager.createLock(LockInfo lockInfo,
DavResource resource)
Create a new lock for the given
resource . |
ActiveLock |
SimpleLockManager.createLock(LockInfo lockInfo,
DavResource resource)
Adds the lock for the given resource, replacing any existing lock.
|
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. |
ActiveLock |
LockManager.refreshLock(LockInfo lockInfo,
String lockToken,
DavResource resource)
Refresh the lock identified by the given lockToken and initially created
on the specified resource.
|
ActiveLock |
SimpleLockManager.refreshLock(LockInfo lockInfo,
String lockToken,
DavResource 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 |
TxActiveLock
TxActiveLock represents the transaction lock present on a
TransactionResource . |
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.