com.unboundid.directory.sdk.common.operation
Interface UpdatableModifyDNRequest

All Superinterfaces:
ChangeRequest, ModifyDNRequest, Request, UpdatableRequest

@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface UpdatableModifyDNRequest
extends ModifyDNRequest, UpdatableRequest

This interface defines a set of methods which may be used to update a modify DN request.


Method Summary
 void setDeleteOldRDN(boolean deleteOldRDN)
          Specifies whether to remove the old RDN values from the entry.
 void setDN(DN dn)
          Specifies the DN of the entry to move and/or rename.
 void setDN(java.lang.String dn)
          Specifies the DN of the entry to move and/or rename.
 void setNewRDN(RDN newRDN)
          Specifies the new RDN to use for the entry.
 void setNewRDN(java.lang.String newRDN)
          Specifies the new RDN to use for the entry.
 void setNewSuperiorDN(DN newSuperiorDN)
          Specifies the DN for the new superior entry, if any.
 void setNewSuperiorDN(java.lang.String newSuperiorDN)
          Specifies the DN for the new superior entry, if any.
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.ModifyDNRequest
deleteOldRDN, getDN, getNewRDN, getNewSuperiorDN, toLDAPSDKRequest, toLDIFChangeRecord
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Request
getOperationType, getRequestControls
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.UpdatableRequest
addRequestControl, setRequestControls
 

Method Detail

setDN

void setDN(java.lang.String dn)
Specifies the DN of the entry to move and/or rename.

Parameters:
dn - The DN of the entry to move and/or rename. It must not be null.

setDN

void setDN(DN dn)
Specifies the DN of the entry to move and/or rename.

Parameters:
dn - The DN of the entry to move and/or rename. It must not be null.

setNewRDN

void setNewRDN(java.lang.String newRDN)
Specifies the new RDN to use for the entry.

Parameters:
newRDN - The new RDN to use for the entry. It must not be null.

setNewRDN

void setNewRDN(RDN newRDN)
Specifies the new RDN to use for the entry.

Parameters:
newRDN - The new RDN to use for the entry. It must not be null.

setDeleteOldRDN

void setDeleteOldRDN(boolean deleteOldRDN)
Specifies whether to remove the old RDN values from the entry.

Parameters:
deleteOldRDN - Indicates whether to remove the old RDN values from the entry.

setNewSuperiorDN

void setNewSuperiorDN(java.lang.String newSuperiorDN)
Specifies the DN for the new superior entry, if any.

Parameters:
newSuperiorDN - The DN for the new superior entry. It may be null if the entry should remain below its current parent.

setNewSuperiorDN

void setNewSuperiorDN(DN newSuperiorDN)
Specifies the DN for the new superior entry, if any.

Parameters:
newSuperiorDN - The DN for the new superior entry. It may be null if the entry should remain below its current parent.