|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.message.AbstractMessage
org.apache.directory.shared.ldap.message.AbstractRequest
org.apache.directory.shared.ldap.message.AbstractAbandonableRequest
org.apache.directory.shared.ldap.message.ModifyDnRequestImpl
public class ModifyDnRequestImpl
Lockable ModifyDNRequest implementation.
| Field Summary |
|---|
| Fields inherited from interface org.apache.directory.shared.ldap.message.ModifyDnRequest |
|---|
RESP_TYPE, TYPE |
| Constructor Summary | |
|---|---|
ModifyDnRequestImpl(int id)
Creates a Lockable ModifyDnRequest implementing object used to perform a dn change on an entry potentially resulting in an entry move. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.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. |
LdapDN |
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. |
LdapDN |
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. |
ResultResponse |
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(LdapDN 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(LdapDN newSuperior)
Sets the optional distinguished name of the new superior entry where the candidate entry is to be moved. |
java.lang.String |
toString()
Get a String representation of a ModifyDNRequest |
| Methods inherited from class org.apache.directory.shared.ldap.message.AbstractAbandonableRequest |
|---|
abandon, addAbandonListener, isAbandoned |
| Methods inherited from class org.apache.directory.shared.ldap.message.AbstractRequest |
|---|
hasResponse |
| Methods inherited from class org.apache.directory.shared.ldap.message.AbstractMessage |
|---|
add, get, getControls, getMessageId, getType, initControls, put, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.shared.ldap.message.Request |
|---|
hasResponse |
| Methods inherited from interface org.apache.directory.shared.ldap.message.Message |
|---|
add, get, getControls, getMessageId, getType, put, remove |
| Methods inherited from interface org.apache.directory.shared.ldap.message.AbandonableRequest |
|---|
abandon, addAbandonListener, isAbandoned |
| Constructor Detail |
|---|
public ModifyDnRequestImpl(int id)
id - the seq id of this message| Method Detail |
|---|
public boolean getDeleteOldRdn()
getDeleteOldRdn in interface ModifyDnRequestpublic void 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 LdapDN getName()
getName in interface ModifyDnRequestpublic void setName(LdapDN name)
setName in interface ModifyDnRequestname - the distinguished name of the entry.public Rdn getNewRdn()
getNewRdn in interface ModifyDnRequestpublic void setNewRdn(Rdn newRdn)
setNewRdn in interface ModifyDnRequestnewRdn - the relative dn with one componentpublic LdapDN getNewSuperior()
getNewSuperior in interface ModifyDnRequestpublic void setNewSuperior(LdapDN newSuperior)
isMove method.
setNewSuperior in interface ModifyDnRequestnewSuperior - the dn of the superior entry the candidate entry for DN
modification is moved under.public MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic ResultResponse getResultResponse()
getResultResponse in interface ResultResponseRequestpublic boolean equals(java.lang.Object obj)
equals in class AbstractMessageobj - the object to compare with this stub
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||