public class EndTransactionResponseImpl extends org.apache.directory.api.ldap.model.message.AbstractExtendedResponse implements EndTransactionResponse
ExtendedResponse ::= [APPLICATION 24] SEQUENCE {
COMPONENTS OF LDAPResult,
responseName [10] LDAPOID OPTIONAL,
responseValue [11] OCTET STRING OPTIONAL }
where the responseName is not present, and the responseValue contains
a BER encoded value, defined by the following grammar :
txnEndRes ::= SEQUENCE {
messageID MessageID OPTIONAL,
-- msgid associated with non-success resultCode
updatesControls SEQUENCE OF updateControls SEQUENCE {
messageID MessageID,
-- msgid associated with controls
controls Controls
} OPTIONAL
}
| Modifier and Type | Field and Description |
|---|---|
private int |
failedMessageId
The faulty Message ID, if any
|
private List<UpdateControls> |
updateControls
The list of update controls for the message processed in the transaction
|
responseNameldapResultEXTENSION_OID| Constructor and Description |
|---|
EndTransactionResponseImpl()
Create a new StartTransactionResponseImpl instance
|
EndTransactionResponseImpl(int messageId)
Create a new EndTransactionResponseImpl instance
|
EndTransactionResponseImpl(int failedMessageId,
org.apache.directory.api.ldap.model.message.ResultCodeEnum resultCode)
Create a new EndTransactionResponseImpl object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getFailedMessageId() |
List<UpdateControls> |
getUpdateControls() |
int |
hashCode() |
void |
setFailedMessageId(int failedMessageId) |
void |
setUpdateControls(List<UpdateControls> updateControls) |
getResponseName, setResponseName, toStringgetLdapResultaddAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetResponseName, setResponseNameprivate int failedMessageId
private List<UpdateControls> updateControls
public EndTransactionResponseImpl(int failedMessageId,
org.apache.directory.api.ldap.model.message.ResultCodeEnum resultCode)
failedMessageId - The faulty messageIdresultCode - the result codepublic EndTransactionResponseImpl(int messageId)
messageId - The request's messageIdpublic EndTransactionResponseImpl()
public int getFailedMessageId()
getFailedMessageId in interface EndTransactionResponsepublic void setFailedMessageId(int failedMessageId)
setFailedMessageId in interface EndTransactionResponsefailedMessageId - The messageId that causes the failurepublic List<UpdateControls> getUpdateControls()
getUpdateControls in interface EndTransactionResponsepublic void setUpdateControls(List<UpdateControls> updateControls)
updateControls - the updateControls to setpublic int hashCode()
hashCode in class org.apache.directory.api.ldap.model.message.AbstractExtendedResponsepublic boolean equals(Object obj)
equals in class org.apache.directory.api.ldap.model.message.AbstractExtendedResponseObject.equals(Object)Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.