public interface TransactionResource extends DavResource
TransactionResource extends the DavResource interface by
transaction relevant METHODS.| Modifier and Type | Method and Description |
|---|---|
String |
getTransactionId()
The TransactionId or
null according to the value of the
corresponding request header
field. |
void |
init(TxLockManager txMgr,
String transactionId)
Initializes the
TransactionResource. |
void |
unlock(String lockToken,
TransactionInfo info)
Overloads the
unlock method of the DavResource
interface. |
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, unlockstatic final String METHODS
void init(TxLockManager txMgr, String transactionId)
TransactionResource.txMgr - transactionId - String getTransactionId()
null according to the value of the
corresponding request header
field.nullvoid unlock(String lockToken, TransactionInfo info) throws DavException
unlock method of the DavResource
interface.lockToken - lock token as present in the request header.info - transaction info object as present in the UNLOCK request body.DavException - if an error occursDavResource.unlock(String),
TransactionDavServletRequest.getTransactionId(),
DavServletRequest.getLockToken()Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.