Uses of Interface
org.apache.jackrabbit.webdav.lock.ActiveLock
-
Packages that use ActiveLock 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 org.apache.jackrabbit.webdav.simple org.apache.jackrabbit.webdav.transaction -
-
Uses of ActiveLock in org.apache.jackrabbit.spi2dav
Constructors in org.apache.jackrabbit.spi2dav with parameters of type ActiveLock Constructor Description LockInfoImpl(ActiveLock activeLock, NodeId nodeId, Set<String> sessionLockTokens)
-
Uses of ActiveLock in org.apache.jackrabbit.webdav
Methods in org.apache.jackrabbit.webdav that return ActiveLock Modifier and Type Method Description ActiveLock
DavResource. getLock(Type type, Scope scope)
Return the lock present on this webdav resource ornull
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.Methods in org.apache.jackrabbit.webdav with parameters of type ActiveLock Modifier and Type Method 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. -
Uses of ActiveLock in org.apache.jackrabbit.webdav.jcr
Methods in org.apache.jackrabbit.webdav.jcr that return ActiveLock Modifier and Type Method 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 thelock
object from the collection this resource is internal member of.ActiveLock
DefaultItemCollection. lock(LockInfo reqLockInfo)
Creates a lock on this resource by locking the underlyingnode
.ActiveLock
DefaultItemCollection. refreshLock(LockInfo reqLockInfo, String lockToken)
Refreshes the lock on this resource. -
Uses of ActiveLock in org.apache.jackrabbit.webdav.jcr.lock
Classes in org.apache.jackrabbit.webdav.jcr.lock that implement ActiveLock Modifier and Type Class Description class
JcrActiveLock
JcrActiveLock
wraps aJCR lock
object. -
Uses of ActiveLock in org.apache.jackrabbit.webdav.jcr.transaction
Methods in org.apache.jackrabbit.webdav.jcr.transaction that return ActiveLock Modifier and Type Method Description ActiveLock
TxLockManagerImpl. createLock(LockInfo lockInfo, DavResource resource)
Create a new lock.ActiveLock
TxLockManagerImpl. getLock(Type type, Scope scope, DavResource resource)
Always returns nullActiveLock
TxLockManagerImpl. getLock(Type type, Scope scope, TransactionResource resource)
Return the lock applied to the given resource ornull
ActiveLock
TxLockManagerImpl. refreshLock(LockInfo lockInfo, String lockToken, DavResource resource)
Refresh the lock identified by the given lock token. -
Uses of ActiveLock in org.apache.jackrabbit.webdav.lock
Classes in org.apache.jackrabbit.webdav.lock that implement ActiveLock Modifier and Type Class Description class
AbstractActiveLock
AbstractActiveLock
...class
DefaultActiveLock
DefaultActiveLock
implements theActiveLock
interface and represents an exclusive write lock with a random uuid lock token.Methods in org.apache.jackrabbit.webdav.lock that return ActiveLock Modifier and Type Method Description ActiveLock
LockManager. createLock(LockInfo lockInfo, DavResource resource)
Create a new lock for the givenresource
.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 ornull
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)
Methods in org.apache.jackrabbit.webdav.lock that return types with arguments of type ActiveLock Modifier and Type Method Description List<ActiveLock>
LockDiscovery. getValue()
Returns the list of active locks.Constructors in org.apache.jackrabbit.webdav.lock with parameters of type ActiveLock Constructor Description LockDiscovery(ActiveLock lock)
Create a new LockDiscovery propertyLockDiscovery(ActiveLock[] locks)
Create a new LockDiscovery property -
Uses of ActiveLock in org.apache.jackrabbit.webdav.simple
Methods in org.apache.jackrabbit.webdav.simple that return ActiveLock Modifier and Type Method Description ActiveLock
DavResourceImpl. getLock(Type type, Scope scope)
ActiveLock[]
DavResourceImpl. getLocks()
ActiveLock
DavResourceImpl. lock(LockInfo lockInfo)
ActiveLock
DavResourceImpl. refreshLock(LockInfo lockInfo, String lockToken)
-
Uses of ActiveLock in org.apache.jackrabbit.webdav.transaction
Classes in org.apache.jackrabbit.webdav.transaction that implement ActiveLock Modifier and Type Class Description class
TxActiveLock
TxActiveLock
represents the transaction lock present on aTransactionResource
.Methods in org.apache.jackrabbit.webdav.transaction that return ActiveLock Modifier and Type Method Description ActiveLock
TxLockManager. getLock(Type type, Scope scope, TransactionResource resource)
Return the lock applied to the given resource ornull
-