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| Modifier and Type | Field and Description | 
|---|---|
| static Scope | GLOBAL"global" lock scope constant. | 
| static String | HEADER_TRANSACTIONIDTransactionId Header | 
| static Scope | LOCAL"local" lock scope constant. | 
| static Namespace | NAMESPACENamespace for transaction related xml elements | 
| static Type | TRANSACTION"transaction" lock type constant. | 
| static String | XML_COMMITcommit XML element Used as element inside of the transactionstatuselement. | 
| static String | XML_GLOBALglobal XML element Used as element inside of the lockscopeelement. | 
| static String | XML_LOCALlocal XML element Used as element inside of the lockscopeelement. | 
| static String | XML_ROLLBACKrollback XML element Used as element inside of the transactionstatuselement. | 
| static String | XML_TRANSACTIONtransaction XML element Used as element inside the locktypeelement. | 
| static String | XML_TRANSACTIONINFOtransactioninfo XML element Mandatory element of the UNLOCK request body, if the unlock request is intended to complete a transaction. | 
| static String | XML_TRANSACTIONSTATUStransactionstatus XML element Mandatory element inside the transactioninfoelement indicating how the transaction should be completed. | 
static final Namespace NAMESPACE
static final String HEADER_TRANSACTIONID
static final String XML_TRANSACTION
locktype
 element.DavConstants.XML_LOCKTYPE, 
Constant Field Valuesstatic final String XML_GLOBAL
lockscope element.DavConstants.XML_LOCKSCOPE, 
Constant Field Valuesstatic final String XML_LOCAL
lockscope element.
 It indicates the transaction to be local (e.g. transient changes to
 a repository).DavConstants.XML_LOCKSCOPE, 
Constant Field Valuesstatic final String XML_TRANSACTIONINFO
static final String XML_TRANSACTIONSTATUS
transactioninfo
 element indicating how the transaction should be completed.XML_TRANSACTIONINFO, 
Constant Field Valuesstatic final String XML_COMMIT
transactionstatus
 element. It indicates a completion by committing the transaction.XML_TRANSACTIONSTATUS, 
Constant Field Valuesstatic final String XML_ROLLBACK
transactionstatus
 element. It indicates a completion by roll backing the transaction.XML_TRANSACTIONSTATUS, 
Constant Field Valuesstatic final Type TRANSACTION
XML_TRANSACTION, 
Type.create(String, Namespace)static final Scope LOCAL
XML_LOCAL, 
Scope.create(String, Namespace)static final Scope GLOBAL
XML_GLOBAL, 
Scope.create(String, Namespace)Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.