public class DeleteMsg extends LDAPUpdateMsg
bytes, dn, encodedEclIncludes, entryUUID
assuredFlag, assuredMode, csn, protocolVersion, safeDataLevel
MSG_TYPE_DISK_ENCODING
Constructor and Description |
---|
DeleteMsg(org.forgerock.opendj.ldap.Dn dn,
CSN csn,
String entryUUID)
Creates a new delete message.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.ldap.messages.DeleteRequest |
createRequest(org.forgerock.opendj.ldap.Dn newDN)
Create a request from this message using the provided DN.
|
byte[] |
getBytesV1()
Get the byte array representation of this message.
|
byte[] |
getBytesV23()
Get the byte array representation of this message.
|
byte[] |
getBytesV45(short protocolVersion)
Get the byte array representation of this message.
|
String |
getInitiatorsName()
Get the initiator's name of this change.
|
boolean |
isSubtreeDelete()
Get the subtree flag.
|
void |
setInitiatorsName(String iname)
Set the initiator's name of this change.
|
void |
setSubtreeDelete(boolean subtreeDelete)
Set the subtree flag.
|
int |
size()
Return the number of bytes used by this message.
|
String |
toString() |
createRequest, encode, encodeHeader, generateMsg, getBytes, getDN, getEclIncludes, getEntryUUID, headerSize, setDN, setEclIncludes
compareTo, contributesToDomainState, decodeHeader, equals, getAssuredMode, getBytes, getCSN, getPayload, getSafeDataLevel, getVersion, hashCode, isAssured, setAssured, setAssuredMode, setSafeDataLevel
generateMsg
public DeleteMsg(org.forgerock.opendj.ldap.Dn dn, CSN csn, String entryUUID)
dn
- The dn with which the message must be created.csn
- The CSN with which the message must be created.entryUUID
- The unique id with which the message must be created.public org.forgerock.opendj.ldap.messages.DeleteRequest createRequest(org.forgerock.opendj.ldap.Dn newDN) throws LDAPException, org.forgerock.opendj.ldap.DecodeException
LDAPUpdateMsg
createRequest
in class LDAPUpdateMsg
newDN
- the DN to use when creating the request.LDAPException
- In case of LDAP decoding exceptionorg.forgerock.opendj.ldap.DecodeException
public byte[] getBytesV1()
LDAPUpdateMsg
getBytesV1
in class LDAPUpdateMsg
public byte[] getBytesV23()
LDAPUpdateMsg
getBytesV23
in class LDAPUpdateMsg
public byte[] getBytesV45(short protocolVersion)
LDAPUpdateMsg
getBytesV45
in class LDAPUpdateMsg
protocolVersion
- the actual protocol version to encode intopublic int size()
UpdateMsg
size
in class LDAPUpdateMsg
public void setInitiatorsName(String iname)
iname
- the initiator's name.public String getInitiatorsName()
public void setSubtreeDelete(boolean subtreeDelete)
subtreeDelete
- the subtree flag.public boolean isSubtreeDelete()
Copyright © 2010–2017 ForgeRock AS. All rights reserved.