@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface ReadOnlyModifyDNRequest extends ReadOnlyLDAPRequest
ModifyDNRequest
.
Modifier and Type | Method and Description |
---|---|
boolean |
deleteOldRDN()
Indicates whether the current RDN value should be removed from the entry.
|
ModifyDNRequest |
duplicate()
Creates a new instance of this LDAP request that may be modified without
impacting this request.
|
ModifyDNRequest |
duplicate(Control[] controls)
Creates a new instance of this LDAP request that may be modified without
impacting this request.
|
java.lang.String |
getDN()
Retrieves the current DN of the entry to move/rename.
|
java.lang.String |
getNewRDN()
Retrieves the new RDN for the entry.
|
java.lang.String |
getNewSuperiorDN()
Retrieves the new superior DN for the entry.
|
java.lang.String[] |
toLDIF()
Retrieves a string array whose lines contain an LDIF representation of the
corresponding modify DN change record.
|
LDIFModifyDNChangeRecord |
toLDIFChangeRecord()
Retrieves an LDIF modify DN change record with the contents of this modify
DN request.
|
java.lang.String |
toLDIFString()
Retrieves an LDIF string representation of this modify DN request.
|
followReferrals, getControl, getControlList, getControls, getReferralConnector, getResponseTimeoutMillis, hasControl, hasControl, toCode, toString, toString
@NotNull java.lang.String getDN()
@NotNull java.lang.String getNewRDN()
boolean deleteOldRDN()
true
if the current RDN value should be removed from the
entry, or false
if not.@Nullable java.lang.String getNewSuperiorDN()
null
if the entry is
not to be moved below a new parent.@NotNull ModifyDNRequest duplicate()
duplicate
in interface ReadOnlyLDAPRequest
@NotNull ModifyDNRequest duplicate(@Nullable Control[] controls)
duplicate
in interface ReadOnlyLDAPRequest
controls
- The set of controls to include in the duplicate request.@NotNull LDIFModifyDNChangeRecord toLDIFChangeRecord()
@NotNull java.lang.String[] toLDIF()
@NotNull java.lang.String toLDIFString()