|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TransactionResource
extends the DavResource
interface by
transaction relevant METHODS.
Field Summary | |
static String |
COMPLIANCE_CLASS
|
static String |
METHODS
|
Fields inherited from interface org.apache.jackrabbit.webdav.DavResource |
UNDEFINED_MODIFICATIONTIME |
Method Summary | |
DavSession |
getSession()
Retrieve the DavSession associated with this resource. |
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. |
Methods inherited from interface org.apache.jackrabbit.webdav.DavResource |
addLockManager, addMember, addMember, alterProperties, copy, exists, getCollection, getComplianceClass, getDisplayName, getFactory, getHref, getLocator, getLock, getLocks, getMembers, getModificationTime, getProperties, getProperty, getPropertyNames, getResourcePath, getStream, getSupportedMethods, hasLock, isCollection, isLockable, lock, move, refreshLock, removeMember, removeProperty, setProperty, unlock |
Field Detail |
public static final String COMPLIANCE_CLASS
public static final String METHODS
Method Detail |
public void init(TxLockManager txMgr, String transactionId)
TransactionResource
.
txMgr
- transactionId
- public DavSession getSession()
DavSession
associated with this resource.
public String getTransactionId()
null
according to the value of the
corresponding request header
field.
null
public void 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()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |