public class ModifyDnRequestImpl extends AbstractAbandonableRequest implements ModifyDnRequest
controls| Constructor and Description |
|---|
ModifyDnRequestImpl()
Creates a ModifyDnRequest implementing object used to perform a
dn change on an entry potentially resulting in an entry move.
|
| Modifier and Type | Method and Description |
|---|---|
ModifyDnRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
ModifyDnRequest |
addControl(Control control)
Adds a control to this Message.
|
boolean |
equals(Object obj)
Checks to see of an object equals this ModifyDnRequest stub.
|
boolean |
getDeleteOldRdn()
Gets the flag which determines if the old Rdn attribute is to be removed
from the entry when the new Rdn is used in its stead.
|
Dn |
getName()
Gets the entry's distinguished name representing the entry PDU
field.
|
Rdn |
getNewRdn()
Gets the new relative distinguished name for the entry which represents
the PDU's newrdn field.
|
Dn |
getNewSuperior()
Gets the optional distinguished name of the new superior entry where the
candidate entry is to be moved.
|
MessageTypeEnum |
getResponseType()
Gets the protocol response message type for this request which produces
at least one response.
|
ModifyDnResponse |
getResultResponse()
The result containing response for this request.
|
int |
hashCode() |
boolean |
isMove()
Gets whether or not this request is a Dn change resulting in a move
operation.
|
ModifyDnRequest |
removeControl(Control control)
Deletes a control removing it from this Message.
|
ModifyDnRequest |
setDeleteOldRdn(boolean deleteOldRdn)
Sets the flag which determines if the old Rdn attribute is to be removed
from the entry when the new Rdn is used in its stead.
|
ModifyDnRequest |
setMessageId(int messageId)
Sets the Message ID for this request
|
ModifyDnRequest |
setName(Dn name)
Sets the entry's distinguished name representing the entry PDU
field.
|
ModifyDnRequest |
setNewRdn(Rdn newRdn)
Sets the new relative distinguished name for the entry which represents
the PDU's newrdn field.
|
ModifyDnRequest |
setNewSuperior(Dn newSuperior)
Sets the optional distinguished name of the new superior entry where the
candidate entry is to be moved.
|
String |
toString()
Get a String representation of a ModifyDNRequest
|
abandon, addAbandonListener, isAbandonedhasResponseget, getControl, getControls, getMessageId, getType, hasControl, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waithasResponseget, getControl, getControls, getMessageId, getType, hasControl, putabandon, addAbandonListener, isAbandonedpublic ModifyDnRequestImpl()
public boolean getDeleteOldRdn()
getDeleteOldRdn in interface ModifyDnRequestpublic ModifyDnRequest setDeleteOldRdn(boolean deleteOldRdn)
setDeleteOldRdn in interface ModifyDnRequestdeleteOldRdn - true if the old rdn is to be deleted, false if it is notpublic boolean isMove()
isMove in interface ModifyDnRequestpublic Dn getName()
getName in interface ModifyDnRequestpublic ModifyDnRequest setName(Dn name)
setName in interface ModifyDnRequestname - the distinguished name of the entry.public Rdn getNewRdn()
getNewRdn in interface ModifyDnRequestpublic ModifyDnRequest setNewRdn(Rdn newRdn)
setNewRdn in interface ModifyDnRequestnewRdn - the relative dn with one componentpublic Dn getNewSuperior()
getNewSuperior in interface ModifyDnRequestpublic ModifyDnRequest setNewSuperior(Dn newSuperior)
isMove method.setNewSuperior in interface ModifyDnRequestnewSuperior - the dn of the superior entry the candidate entry for Dn
modification is moved under.public ModifyDnRequest setMessageId(int messageId)
setMessageId in interface MessagesetMessageId in interface ModifyDnRequestsetMessageId in class AbstractMessagemessageId - The message Idpublic ModifyDnRequest addControl(Control control)
addControl in interface MessageaddControl in interface ModifyDnRequestaddControl in class AbstractMessagecontrol - the control to add.public ModifyDnRequest addAllControls(Control[] controls)
addAllControls in interface MessageaddAllControls in interface ModifyDnRequestaddAllControls in class AbstractMessagecontrols - the controls to add.public ModifyDnRequest removeControl(Control control)
removeControl in interface MessageremoveControl in interface ModifyDnRequestremoveControl in class AbstractMessagecontrol - the control to remove.public MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic ModifyDnResponse getResultResponse()
getResultResponse in interface ResultResponseRequestpublic int hashCode()
hashCode in class AbstractRequestObject.hashCode()public boolean equals(Object obj)
equals in class AbstractRequestobj - the object to compare with this stubCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.