public interface EndTransactionRequest extends ExtendedRequest
ExtendedRequest ::= [APPLICATION 23] SEQUENCE { requestName [0] LDAPOID, requestValue [1] OCTET STRING OPTIONAL }where 'requestName' is 1.3.6.1.1.21.3 and requestValue is a BER encoded value. The syntax for this value is :
txnEndReq ::= SEQUENCE { commit BOOLEAN DEFAULT TRUE, identifier OCTET STRING }
Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION_OID
The OID for the EndTransaction extended operation request.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCommit() |
byte[] |
getTransactionId() |
void |
setCommit(boolean commit)
Set the Commit flag for this transaction.
|
void |
setTransactionId(byte[] transactionId)
Set the transaction ID to commit or rollback
|
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestName
getResponseType
getResultResponse
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put
static final String EXTENSION_OID
boolean getCommit()
void setCommit(boolean commit)
commit
- true if the transaction should be committed, false if
it should be rollbacked.byte[] getTransactionId()
void setTransactionId(byte[] transactionId)
transactionId
- The transaction ID we got from the startTransaction responseCopyright © 2003–2023 The Apache Software Foundation. All rights reserved.