Package | Description |
---|---|
org.apache.jackrabbit.webdav | |
org.apache.jackrabbit.webdav.lock |
Provides interfaces and classes for locking related issues.
|
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. |
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 | 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 |
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
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.
|
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 | 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-2012 Apache Software Foundation. All Rights Reserved.