From ff9755c40feeaf5a3208229d48b80b608ab7a68c Mon Sep 17 00:00:00 2001
From: jarnou <jarnou@localhost>
Date: Tue, 17 Jul 2007 08:14:43 +0000
Subject: [PATCH] This fix is the refactoring of the modrdn operation [issue 1180]

---
 opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java b/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
index 448f6fa..ea0b076 100644
--- a/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
+++ b/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
@@ -1183,7 +1183,7 @@
    *          processed and contains information about the result of
    *          the processing.
    */
-  public ModifyDNOperation processModifyDN(String rawEntryDN,
+  public ModifyDNOperationBasis processModifyDN(String rawEntryDN,
                                            String rawNewRDN,
                                            boolean deleteOldRDN)
   {
@@ -1207,7 +1207,7 @@
    *          processed and contains information about the result of
    *          the processing.
    */
-  public ModifyDNOperation processModifyDN(ByteString rawEntryDN,
+  public ModifyDNOperationBasis processModifyDN(ByteString rawEntryDN,
                                            ByteString rawNewRDN,
                                            boolean deleteOldRDN)
   {
@@ -1232,7 +1232,7 @@
    *          processed and contains information about the result of
    *          the processing.
    */
-  public ModifyDNOperation processModifyDN(String rawEntryDN,
+  public ModifyDNOperationBasis processModifyDN(String rawEntryDN,
                                            String rawNewRDN,
                                            boolean deleteOldRDN,
                                            String rawNewSuperior)
@@ -1261,13 +1261,13 @@
    *          processed and contains information about the result of
    *          the processing.
    */
-  public ModifyDNOperation processModifyDN(ByteString rawEntryDN,
+  public ModifyDNOperationBasis processModifyDN(ByteString rawEntryDN,
                                            ByteString rawNewRDN,
                                            boolean deleteOldRDN,
                                            ByteString rawNewSuperior)
   {
-    ModifyDNOperation modifyDNOperation =
-         new ModifyDNOperation(this, nextOperationID(),
+    ModifyDNOperationBasis modifyDNOperation =
+         new ModifyDNOperationBasis(this, nextOperationID(),
                                nextMessageID(),
                                new ArrayList<Control>(0), rawEntryDN,
                                rawNewRDN, deleteOldRDN,
@@ -1293,7 +1293,8 @@
    *          processed and contains information about the result of
    *          the processing.
    */
-  public ModifyDNOperation processModifyDN(DN entryDN, RDN newRDN,
+  public ModifyDNOperationBasis processModifyDN(DN entryDN,
+                                           RDN newRDN,
                                            boolean deleteOldRDN)
   {
     return processModifyDN(entryDN, newRDN, deleteOldRDN, null);
@@ -1317,12 +1318,13 @@
    *          processed and contains information about the result of
    *          the processing.
    */
-  public ModifyDNOperation processModifyDN(DN entryDN, RDN newRDN,
+  public ModifyDNOperationBasis processModifyDN(DN entryDN,
+                                           RDN newRDN,
                                            boolean deleteOldRDN,
                                            DN newSuperior)
   {
-    ModifyDNOperation modifyDNOperation =
-         new ModifyDNOperation(this, nextOperationID(),
+    ModifyDNOperationBasis modifyDNOperation =
+         new ModifyDNOperationBasis(this, nextOperationID(),
                                nextMessageID(),
                                new ArrayList<Control>(0), entryDN,
                                newRDN, deleteOldRDN, newSuperior);

--
Gitblit v1.10.0