Interface TransactionConstants
- All Known Implementing Classes:
TransactionInfo
,TxActiveLock
,TxLockEntry
public interface TransactionConstants
TransactionConstants
interface 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
FieldsModifier and TypeFieldDescriptionstatic final Scope
"global" lock scope constant.static final String
TransactionId Headerstatic final Scope
"local" lock scope constant.static final Namespace
Namespace for transaction related xml elementsstatic final Type
"transaction" lock type constant.static final String
commit XML element
Used as element inside of thetransactionstatus
element.static final String
global XML element
Used as element inside of thelockscope
element.static final String
local XML element
Used as element inside of thelockscope
element.static final String
rollback XML element
Used as element inside of thetransactionstatus
element.static final String
transaction XML element
Used as element inside thelocktype
element.static final String
transactioninfo XML element
Mandatory element of the UNLOCK request body, if the unlock request is intended to complete a transaction.static final String
transactionstatus XML element
Mandatory element inside thetransactioninfo
element indicating how the transaction should be completed.
-
Field Details
-
NAMESPACE
Namespace for transaction related xml elements -
HEADER_TRANSACTIONID
TransactionId Header- See Also:
-
XML_TRANSACTION
transaction XML element
Used as element inside thelocktype
element.- See Also:
-
XML_GLOBAL
global XML element
Used as element inside of thelockscope
element.- See Also:
-
XML_LOCAL
local XML element
Used as element inside of thelockscope
element. It indicates the transaction to be local (e.g. transient changes to a repository).- See Also:
-
XML_TRANSACTIONINFO
transactioninfo XML element
Mandatory element of the UNLOCK request body, if the unlock request is intended to complete a transaction.- See Also:
-
XML_TRANSACTIONSTATUS
transactionstatus XML element
Mandatory element inside thetransactioninfo
element indicating how the transaction should be completed.- See Also:
-
XML_COMMIT
commit XML element
Used as element inside of thetransactionstatus
element. It indicates a completion by committing the transaction.- See Also:
-
XML_ROLLBACK
rollback XML element
Used as element inside of thetransactionstatus
element. It indicates a completion by roll backing the transaction.- See Also:
-
TRANSACTION
"transaction" lock type constant.- See Also:
-
LOCAL
"local" lock scope constant.- See Also:
-
GLOBAL
"global" lock scope constant.- See Also:
-