public class ModifyMsg extends ModifyCommonMsg
encodedModsbytes, dn, encodedEclIncludes, entryUUIDassuredFlag, assuredMode, csn, protocolVersion, safeDataLevel| Constructor and Description |
|---|
ModifyMsg(CSN csn,
DN dn,
List<Modification> mods,
String entryUUID)
Creates a new Modify message using the provided information.
|
| Modifier and Type | Method and Description |
|---|---|
ModifyOperation |
createOperation(InternalClientConnection connection,
DN newDN)
Create and Operation from the message using the provided DN.
|
byte[] |
getBytes_V1()
Get the byte array representation of this message.
|
byte[] |
getBytes_V23()
Get the byte array representation of this message.
|
byte[] |
getBytes_V45(short protocolVersion)
Get the byte array representation of this message.
|
int |
size()
Return the number of bytes used by this message.
|
String |
toString() |
decodeMods, decodeRawMods, encodeMods, getMods, setModscreateOperation, encode, encodeHeader, generateMsg, getBytes, getDN, getEclIncludes, getEntryUUID, headerSize, setDN, setEclIncludescompareTo, contributesToDomainState, decodeHeader, equals, getAssuredMode, getBytes, getCSN, getPayload, getSafeDataLevel, getVersion, hashCode, isAssured, setAssured, setAssuredMode, setSafeDataLevelgenerateMsgpublic ModifyMsg(CSN csn, DN dn, List<Modification> mods, String entryUUID)
csn - The CSN for the operation.dn - The baseDN of the operation.mods - The mod of the operation.entryUUID - The unique id of the entry on which the modification
needs to apply.public ModifyOperation createOperation(InternalClientConnection connection, DN newDN) throws LDAPException, IOException, DataFormatException
createOperation in class LDAPUpdateMsgconnection - connection to use when creating the message.newDN - the DN to use when creating the operation.LDAPException - In case of LDAP decoding exception.IOException - In case of ASN1 decoding exception.DataFormatException - In case of bad msg format.public int size()
size in class LDAPUpdateMsgpublic byte[] getBytes_V1()
getBytes_V1 in class LDAPUpdateMsgpublic byte[] getBytes_V23()
getBytes_V23 in class LDAPUpdateMsgpublic byte[] getBytes_V45(short protocolVersion)
getBytes_V45 in class LDAPUpdateMsgprotocolVersion - the actual protocol version to encode intoCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.