public class ModifyDNRequestDsml extends AbstractRequestDsml
instance
ldapMessageLength
parent
Constructor and Description |
---|
ModifyDNRequestDsml()
Creates a new instance of ModifyDNRequestDsml.
|
ModifyDNRequestDsml(ModifyDNRequestCodec ldapMessage)
Creates a new instance of ModifyDNRequestDsml.
|
Modifier and Type | Method and Description |
---|---|
DN |
getEntry()
Get the modification's DN
|
MessageTypeEnum |
getMessageType()
Get the message type
|
RDN |
getNewRDN()
Get the new RDN
|
DN |
getNewSuperior()
Get the newSuperior
|
boolean |
isDeleteOldRDN()
Tells if the old RDN is to be deleted
|
void |
setDeleteOldRDN(boolean deleteOldRDN)
Set the flag to delete the old RDN
|
void |
setEntry(DN entry)
Set the modification DN.
|
void |
setNewRDN(RDN newRDN)
Set the new RDN
|
void |
setNewSuperior(DN newSuperior)
Set the new superior
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Creates the Request Element and adds RequestID and Controls.
|
addControl, addLength, computeLength, computeLengthProtocolOp, encode, encodeProtocolOp, getAbandonRequest, getAddRequest, getAddResponse, getBindRequest, getBindResponse, getCompareRequest, getCompareResponse, getControls, getControls, getCurrentControl, getCurrentLength, getDelRequest, getDelResponse, getExpectedLength, getExtendedRequest, getExtendedResponse, getLdapResponse, getMessageId, getMessageTypeName, getModifyDNRequest, getModifyDNResponse, getModifyRequest, getModifyResponse, getParent, getSearchRequest, getSearchResultDone, getSearchResultEntry, getSearchResultReference, getUnBindRequest, setCurrentLength, setExpectedLength, setMessageId, setParent, toString
addControls, encode, getCodecControl, initControls, toString
getTlvId
public ModifyDNRequestDsml()
public ModifyDNRequestDsml(ModifyDNRequestCodec ldapMessage)
ldapMessage
- the message to decoratepublic MessageTypeEnum getMessageType()
getMessageType
in class LdapMessageDecorator
public org.dom4j.Element toDsml(org.dom4j.Element root)
toDsml
in interface DsmlDecorator
toDsml
in class AbstractRequestDsml
root
- the root elementpublic DN getEntry()
public void setEntry(DN entry)
entry
- The entry to set.public boolean isDeleteOldRDN()
public void setDeleteOldRDN(boolean deleteOldRDN)
deleteOldRDN
- The deleteOldRDN to set.public RDN getNewRDN()
public void setNewRDN(RDN newRDN)
newRDN
- The newRDN to set.public DN getNewSuperior()
public void setNewSuperior(DN newSuperior)
newSuperior
- The newSuperior to set.Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.