Uses of Class
org.apache.jackrabbit.webdav.lock.Scope
-
Packages that use Scope 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 Scope in org.apache.jackrabbit.spi2dav
Fields in org.apache.jackrabbit.spi2dav declared as Scope Modifier and Type Field 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. -
Uses of Scope in org.apache.jackrabbit.webdav
Methods in org.apache.jackrabbit.webdav with parameters of type Scope 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.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. -
Uses of Scope in org.apache.jackrabbit.webdav.jcr
Fields in org.apache.jackrabbit.webdav.jcr declared as Scope Modifier and Type Field 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.Methods in org.apache.jackrabbit.webdav.jcr with parameters of type Scope 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.boolean
DefaultItemCollection. hasLock(Type type, Scope scope)
-
Uses of Scope in org.apache.jackrabbit.webdav.jcr.lock
Methods in org.apache.jackrabbit.webdav.jcr.lock that return Scope Modifier and Type Method Description Scope
JcrActiveLock. getScope()
Scope
SessionScopedLockEntry. getScope()
-
Uses of Scope in org.apache.jackrabbit.webdav.jcr.transaction
Methods in org.apache.jackrabbit.webdav.jcr.transaction with parameters of type Scope Modifier and Type Method Description 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
-
Uses of Scope in org.apache.jackrabbit.webdav.lock
Fields in org.apache.jackrabbit.webdav.lock declared as Scope Modifier and Type Field Description static Scope
Scope. EXCLUSIVE
static Scope
Scope. SHARED
Methods in org.apache.jackrabbit.webdav.lock that return Scope Modifier and Type Method Description static Scope
Scope. create(String localName, Namespace namespace)
Create aScope
object from the given name and namespace.static Scope
Scope. createFromXml(Element lockScope)
Create aScope
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 ornull
if no 'lockinfo' element was passed to the constructor or did not contain an 'scope' element and the scope has not been set otherwise.Methods in org.apache.jackrabbit.webdav.lock with parameters of type Scope Modifier and Type Method 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 ornull
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.Constructors in org.apache.jackrabbit.webdav.lock with parameters of type Scope Constructor Description LockInfo(Scope scope, Type type, String owner, long timeout, boolean isDeep)
Create a newLockInfo
-
Uses of Scope in org.apache.jackrabbit.webdav.simple
Methods in org.apache.jackrabbit.webdav.simple with parameters of type Scope Modifier and Type Method Description ActiveLock
DavResourceImpl. getLock(Type type, Scope scope)
boolean
DavResourceImpl. hasLock(Type type, Scope scope)
boolean
DavResourceImpl. isLockable(Type type, Scope scope)
-
Uses of Scope in org.apache.jackrabbit.webdav.transaction
Fields in org.apache.jackrabbit.webdav.transaction declared as Scope Modifier and Type Field Description static Scope
TransactionConstants. GLOBAL
"global" lock scope constant.static Scope
TransactionConstants. LOCAL
"local" lock scope constant.Methods in org.apache.jackrabbit.webdav.transaction that return Scope Modifier and Type Method Description Scope
TxActiveLock. getScope()
Returns the scope of this lock which is eitherTransactionConstants.LOCAL
orTransactionConstants.GLOBAL
.Scope
TxLockEntry. getScope()
Methods in org.apache.jackrabbit.webdav.transaction with parameters of type Scope Modifier and Type Method Description ActiveLock
TxLockManager. getLock(Type type, Scope scope, TransactionResource resource)
Return the lock applied to the given resource ornull
-