Interface TransactionResource
- 
- All Superinterfaces:
 DavResource
public interface TransactionResource extends DavResource
TransactionResourceextends theDavResourceinterface by transaction relevant METHODS. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMETHODS 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetTransactionId()The TransactionId ornullaccording to the value of the corresponding requestheaderfield.voidinit(TxLockManager txMgr, java.lang.String transactionId)Initializes theTransactionResource.voidunlock(java.lang.String lockToken, TransactionInfo info)Overloads theunlockmethod of theDavResourceinterface.- 
Methods inherited from interface org.apache.jackrabbit.webdav.DavResource
addLockManager, addMember, alterProperties, copy, exists, getCollection, getComplianceClass, getDisplayName, getFactory, getHref, getLocator, getLock, getLocks, getMembers, getModificationTime, getProperties, getProperty, getPropertyNames, getResourcePath, getSession, getSupportedMethods, hasLock, isCollection, isLockable, lock, move, refreshLock, removeMember, removeProperty, setProperty, spool, unlock 
 - 
 
 - 
 
- 
- 
Field Detail
- 
METHODS
static final java.lang.String METHODS
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
init
void init(TxLockManager txMgr, java.lang.String transactionId)
Initializes theTransactionResource.- Parameters:
 txMgr-transactionId-
 
- 
getTransactionId
java.lang.String getTransactionId()
The TransactionId ornullaccording to the value of the corresponding requestheaderfield.- Returns:
 - TransactionId header or 
null 
 
- 
unlock
void unlock(java.lang.String lockToken, TransactionInfo info) throws DavExceptionOverloads theunlockmethod of theDavResourceinterface.- Parameters:
 lockToken- lock token as present in the request header.info- transaction info object as present in the UNLOCK request body.- Throws:
 DavException- if an error occurs- See Also:
 DavResource.unlock(String),TransactionDavServletRequest.getTransactionId(),DavServletRequest.getLockToken()
 
 - 
 
 -