public interface TransactionResource extends DavResource
TransactionResource
extends the DavResource
interface by
transaction relevant METHODS.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
METHODS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTransactionId()
The TransactionId or
null according to the value of the
corresponding request header
field. |
void |
init(TxLockManager txMgr,
java.lang.String transactionId)
Initializes the
TransactionResource . |
void |
unlock(java.lang.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, unlock
static final java.lang.String METHODS
void init(TxLockManager txMgr, java.lang.String transactionId)
TransactionResource
.txMgr
- transactionId
- java.lang.String getTransactionId()
null
according to the value of the
corresponding request header
field.null
void unlock(java.lang.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 © 2010 - 2020 Adobe. All Rights Reserved