Interface TransactionConstants
-
- All Known Implementing Classes:
TransactionInfo,TxActiveLock,TxLockEntry
public interface TransactionConstantsTransactionConstantsinterface provide constants for request and response headers, Xml elements and property names used for handling transactions over WebDAV. There exists no public standard for this functionality. todo: 'local' and 'global' are not accurate terms in the given context > replace
-
-
Field Summary
Fields Modifier and Type Field Description static ScopeGLOBAL"global" lock scope constant.static java.lang.StringHEADER_TRANSACTIONIDTransactionId Headerstatic ScopeLOCAL"local" lock scope constant.static NamespaceNAMESPACENamespace for transaction related xml elementsstatic TypeTRANSACTION"transaction" lock type constant.static java.lang.StringXML_COMMITcommit XML element
Used as element inside of thetransactionstatuselement.static java.lang.StringXML_GLOBALglobal XML element
Used as element inside of thelockscopeelement.static java.lang.StringXML_LOCALlocal XML element
Used as element inside of thelockscopeelement.static java.lang.StringXML_ROLLBACKrollback XML element
Used as element inside of thetransactionstatuselement.static java.lang.StringXML_TRANSACTIONtransaction XML element
Used as element inside thelocktypeelement.static java.lang.StringXML_TRANSACTIONINFOtransactioninfo XML element
Mandatory element of the UNLOCK request body, if the unlock request is intended to complete a transaction.static java.lang.StringXML_TRANSACTIONSTATUStransactionstatus XML element
Mandatory element inside thetransactioninfoelement indicating how the transaction should be completed.
-
-
-
Field Detail
-
NAMESPACE
static final Namespace NAMESPACE
Namespace for transaction related xml elements
-
HEADER_TRANSACTIONID
static final java.lang.String HEADER_TRANSACTIONID
TransactionId Header- See Also:
- Constant Field Values
-
XML_TRANSACTION
static final java.lang.String XML_TRANSACTION
transaction XML element
Used as element inside thelocktypeelement.- See Also:
DavConstants.XML_LOCKTYPE, Constant Field Values
-
XML_GLOBAL
static final java.lang.String XML_GLOBAL
global XML element
Used as element inside of thelockscopeelement.- See Also:
DavConstants.XML_LOCKSCOPE, Constant Field Values
-
XML_LOCAL
static final java.lang.String XML_LOCAL
local XML element
Used as element inside of thelockscopeelement. It indicates the transaction to be local (e.g. transient changes to a repository).- See Also:
DavConstants.XML_LOCKSCOPE, Constant Field Values
-
XML_TRANSACTIONINFO
static final java.lang.String XML_TRANSACTIONINFO
transactioninfo XML element
Mandatory element of the UNLOCK request body, if the unlock request is intended to complete a transaction.- See Also:
- Constant Field Values
-
XML_TRANSACTIONSTATUS
static final java.lang.String XML_TRANSACTIONSTATUS
transactionstatus XML element
Mandatory element inside thetransactioninfoelement indicating how the transaction should be completed.- See Also:
XML_TRANSACTIONINFO, Constant Field Values
-
XML_COMMIT
static final java.lang.String XML_COMMIT
commit XML element
Used as element inside of thetransactionstatuselement. It indicates a completion by committing the transaction.- See Also:
XML_TRANSACTIONSTATUS, Constant Field Values
-
XML_ROLLBACK
static final java.lang.String XML_ROLLBACK
rollback XML element
Used as element inside of thetransactionstatuselement. It indicates a completion by roll backing the transaction.- See Also:
XML_TRANSACTIONSTATUS, Constant Field Values
-
TRANSACTION
static final Type TRANSACTION
"transaction" lock type constant.- See Also:
XML_TRANSACTION,Type.create(String, Namespace)
-
LOCAL
static final Scope LOCAL
"local" lock scope constant.- See Also:
XML_LOCAL,Scope.create(String, Namespace)
-
GLOBAL
static final Scope GLOBAL
"global" lock scope constant.- See Also:
XML_GLOBAL,Scope.create(String, Namespace)
-
-