org.opends.server.replication.protocol
Class ModifyDnContext

java.lang.Object
  extended by org.opends.server.replication.protocol.OperationContext
      extended by org.opends.server.replication.protocol.ModifyDnContext

public class ModifyDnContext
extends OperationContext

This class describe the replication context that is attached to ModifyDN operation.


Field Summary
 
Fields inherited from class org.opends.server.replication.protocol.OperationContext
SYNCHROCONTEXT
 
Constructor Summary
ModifyDnContext(ChangeNumber changeNumber, java.lang.String uid, java.lang.String newParentId)
          Creates a new ModifyDN Context with the provided parameters.
 
Method Summary
 java.lang.String getNewParentId()
          Get the unique Identifier of the new parent.
 
Methods inherited from class org.opends.server.replication.protocol.OperationContext
equals, getChangeNumber, getChangeNumber, getChangeNumber, getEntryUid, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifyDnContext

public ModifyDnContext(ChangeNumber changeNumber,
                       java.lang.String uid,
                       java.lang.String newParentId)
Creates a new ModifyDN Context with the provided parameters.

Parameters:
changeNumber - The change number of the operation.
uid - the unique Id of the modified entry.
newParentId - The unique Identifier of the new parent, can be null if the entry is to stay below the same parent.
Method Detail

getNewParentId

public java.lang.String getNewParentId()
Get the unique Identifier of the new parent. Can be null if the entry is to stay below the same parent.

Returns:
Returns the unique Identifier of the new parent..