public class ModifyDnRequestImpl extends AbstractAbandonableRequest implements InternalModifyDnRequest
RESP_TYPE, TYPE
Constructor and Description |
---|
ModifyDnRequestImpl(int id)
Creates a Lockable ModifyDnRequest implementing object used to perform a
dn change on an entry potentially resulting in an entry move.
|
Modifier and Type | Method and Description |
---|---|
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.
|
InternalResultResponse |
getResultResponse()
The result containing response for this request.
|
boolean |
isMove()
Gets whether or not this request is a DN change resulting in a move
operation.
|
void |
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.
|
void |
setName(DN name)
Sets the entry's distinguished name representing the entry PDU
field.
|
void |
setNewRdn(RDN newRdn)
Sets the new relative distinguished name for the entry which represents
the PDU's newrdn field.
|
void |
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, isAbandoned
hashCode, hasResponse
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
hasResponse
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
abandon, addAbandonListener, isAbandoned
public ModifyDnRequestImpl(int id)
id
- the seq id of this messagepublic boolean getDeleteOldRdn()
getDeleteOldRdn
in interface InternalModifyDnRequest
public void setDeleteOldRdn(boolean deleteOldRdn)
setDeleteOldRdn
in interface InternalModifyDnRequest
deleteOldRdn
- true if the old rdn is to be deleted, false if it is notpublic boolean isMove()
isMove
in interface InternalModifyDnRequest
public DN getName()
getName
in interface InternalModifyDnRequest
public void setName(DN name)
setName
in interface InternalModifyDnRequest
name
- the distinguished name of the entry.public RDN getNewRdn()
getNewRdn
in interface InternalModifyDnRequest
public void setNewRdn(RDN newRdn)
setNewRdn
in interface InternalModifyDnRequest
newRdn
- the relative dn with one componentpublic DN getNewSuperior()
getNewSuperior
in interface InternalModifyDnRequest
public void setNewSuperior(DN newSuperior)
isMove
method.setNewSuperior
in interface InternalModifyDnRequest
newSuperior
- the dn of the superior entry the candidate entry for DN
modification is moved under.public MessageTypeEnum getResponseType()
getResponseType
in interface SingleReplyRequest
public InternalResultResponse getResultResponse()
getResultResponse
in interface InternalResultResponseRequest
public boolean equals(Object obj)
equals
in class InternalAbstractMessage
obj
- the object to compare with this stubCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.