mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
21.49.2012 2d13862af451882e06a892347cab630304a9455c
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ModifyDnContext.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions copyright 2012 ForgeRock AS.
 */
package org.opends.server.replication.protocol;
@@ -34,22 +35,22 @@
 */
public class ModifyDnContext extends OperationContext
{
  private String newParentId;
  private String newSuperiorEntryUUID;
  /**
   * Creates a new ModifyDN Context with the provided parameters.
   *
   * @param changeNumber The change number of the operation.
   * @param uid the unique Id of the modified entry.
   * @param newParentId The unique Identifier of the new parent,
   * @param entryUUID the unique Id of the modified entry.
   * @param newSuperiorEntryUUID The unique Identifier of the new parent,
   *                    can be null if the entry is to stay below the same
   *                    parent.
   */
  public ModifyDnContext(ChangeNumber changeNumber, String uid,
                         String newParentId)
  public ModifyDnContext(ChangeNumber changeNumber, String entryUUID,
                         String newSuperiorEntryUUID)
  {
    super(changeNumber, uid);
    this.newParentId = newParentId;
    super(changeNumber, entryUUID);
    this.newSuperiorEntryUUID = newSuperiorEntryUUID;
  }
  /**
@@ -58,8 +59,8 @@
   *
   * @return Returns the unique Identifier of the new parent..
   */
  public String getNewParentId()
  public String getNewSuperiorEntryUUID()
  {
    return newParentId;
    return newSuperiorEntryUUID;
  }
}