|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.ldap.LDAPMessage com.novell.ldap.LDAPModifyDNRequest
Represents an LDAP ModifyDN request
LDAPConnection.sendRequest(com.novell.ldap.LDAPMessage, com.novell.ldap.LDAPMessageQueue)
,
Serialized FormField Summary |
Fields inherited from class com.novell.ldap.LDAPMessage |
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, INTERMEDIATE_RESPONSE, message, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST |
Constructor Summary | |
LDAPModifyDNRequest()
This constructor was added to support default Serialization |
|
LDAPModifyDNRequest(java.lang.String dn,
java.lang.String newRdn,
java.lang.String newParentdn,
boolean deleteOldRdn,
LDAPControl[] cont)
Constructs a ModifyDN (rename) Request. |
Method Summary | |
boolean |
getDeleteOldRDN()
Returns the DeleteOldRDN flag that applies to the entry to rename or move in the directory |
java.lang.String |
getDN()
Returns the dn of the entry to rename or move in the directory |
java.lang.String |
getNewRDN()
Returns the newRDN of the entry to rename or move in the directory |
java.lang.String |
getParentDN()
Returns the ParentDN for the entry move in the directory |
protected void |
setDeserializedValues(LDAPMessage readObject,
com.novell.ldap.rfc2251.RfcControls asn1Ctrls)
|
java.lang.String |
toString()
Return an ASN1 representation of this mod DN request #return an ASN1 representation of this object |
Methods inherited from class com.novell.ldap.LDAPMessage |
getControls, getMessageID, getTag, getType, isRequest, readDSML, readExternal, setTag, writeDSML, writeExternal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LDAPModifyDNRequest()
public LDAPModifyDNRequest(java.lang.String dn, java.lang.String newRdn, java.lang.String newParentdn, boolean deleteOldRdn, LDAPControl[] cont) throws LDAPException
dn
- The current distinguished name of the entry.
newRdn
- The new relative distinguished name for the entry.
newParentdn
- The distinguished name of an existing entry which
is to be the new parent of the entry.
deleteOldRdn
- If true, the old name is not retained as an
attribute value. If false, the old name is
retained as an attribute value.
cont
- Any controls that apply to the modifyDN request,
or null if none.Method Detail |
public java.lang.String getDN()
public java.lang.String getNewRDN()
public boolean getDeleteOldRDN()
public java.lang.String getParentDN()
public java.lang.String toString()
toString
in class LDAPMessage
protected void setDeserializedValues(LDAPMessage readObject, com.novell.ldap.rfc2251.RfcControls asn1Ctrls) throws java.io.IOException, java.lang.ClassNotFoundException
setDeserializedValues
in class LDAPMessage
java.io.IOException
java.lang.ClassNotFoundException
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |