Uses of Class
org.apache.jackrabbit.webdav.lock.Type
-
Packages that use Type 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 org.apache.jackrabbit.webdav.simple org.apache.jackrabbit.webdav.transaction -
-
Uses of Type in org.apache.jackrabbit.webdav
Methods in org.apache.jackrabbit.webdav with parameters of type Type 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 Type in org.apache.jackrabbit.webdav.jcr
Methods in org.apache.jackrabbit.webdav.jcr with parameters of type Type 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 Type in org.apache.jackrabbit.webdav.jcr.lock
Methods in org.apache.jackrabbit.webdav.jcr.lock that return Type Modifier and Type Method Description Type
JcrActiveLock. getType()
Always returnsWRITE
.Type
SessionScopedLockEntry. getType()
-
Uses of Type in org.apache.jackrabbit.webdav.jcr.transaction
Methods in org.apache.jackrabbit.webdav.jcr.transaction with parameters of type Type 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 Type in org.apache.jackrabbit.webdav.lock
Fields in org.apache.jackrabbit.webdav.lock declared as Type Modifier and Type Field Description static Type
Type. WRITE
Methods in org.apache.jackrabbit.webdav.lock that return Type Modifier and Type Method Description static Type
Type. create(String localName, Namespace namespace)
Create aType
object from the given localName and namespace.static Type
Type. createFromXml(Element lockType)
Create aType
object from the given Xml element.Type
ActiveLock. getType()
Return the type of this lock.Type
DefaultActiveLock. getType()
This is always a write lock.Type
LockEntry. getType()
Returns the type of this lock entryType
LockInfo. getType()
Returns the lock type ornull
if no 'lockinfo' element was passed to the constructor or did not contain an 'type' element and the type has not been set otherwise.Methods in org.apache.jackrabbit.webdav.lock with parameters of type Type 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. setType(Type type)
Set the lock type.Constructors in org.apache.jackrabbit.webdav.lock with parameters of type Type Constructor Description LockInfo(Scope scope, Type type, String owner, long timeout, boolean isDeep)
Create a newLockInfo
-
Uses of Type in org.apache.jackrabbit.webdav.simple
Methods in org.apache.jackrabbit.webdav.simple with parameters of type Type 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 Type in org.apache.jackrabbit.webdav.transaction
Fields in org.apache.jackrabbit.webdav.transaction declared as Type Modifier and Type Field Description static Type
TransactionConstants. TRANSACTION
"transaction" lock type constant.Methods in org.apache.jackrabbit.webdav.transaction that return Type Modifier and Type Method Description Type
TxActiveLock. getType()
Always returns theTransactionConstants.TRANSACTION
type.Type
TxLockEntry. getType()
Returns the'transaction'
lock type.Methods in org.apache.jackrabbit.webdav.transaction with parameters of type Type Modifier and Type Method Description ActiveLock
TxLockManager. getLock(Type type, Scope scope, TransactionResource resource)
Return the lock applied to the given resource ornull
-