From d491fe177f1740e7b5882569d51987a15662fc85 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Thu, 12 Jul 2007 09:30:40 +0000
Subject: [PATCH] fix for 1887 : Define new interfaces used by the synchronization provider so that LocalBackend operations are not exposed

---
 opends/src/server/org/opends/server/replication/protocol/DeleteMsg.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/protocol/DeleteMsg.java b/opends/src/server/org/opends/server/replication/protocol/DeleteMsg.java
index d8ba12b..bc92182 100644
--- a/opends/src/server/org/opends/server/replication/protocol/DeleteMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/DeleteMsg.java
@@ -31,12 +31,12 @@
 import java.io.UnsupportedEncodingException;
 import java.util.zip.DataFormatException;
 
-import org.opends.server.core.DeleteOperation;
 import org.opends.server.core.DeleteOperationBasis;
 import org.opends.server.protocols.asn1.ASN1OctetString;
 import org.opends.server.protocols.internal.InternalClientConnection;
 import org.opends.server.replication.common.ChangeNumber;
-import org.opends.server.types.Operation;
+import org.opends.server.types.AbstractOperation;
+import org.opends.server.types.operation.PostOperationDeleteOperation;
 
 /**
  * Object used when sending delete information to replication servers.
@@ -48,12 +48,12 @@
   /**
    * Creates a new delete message.
    *
-   * @param op the Operation from which the message must be created.
+   * @param operation the Operation from which the message must be created.
    */
-  public DeleteMsg(DeleteOperation op)
+  public DeleteMsg(PostOperationDeleteOperation operation)
   {
-    super((OperationContext) op.getAttachment(SYNCHROCONTEXT),
-           op.getRawEntryDN().stringValue());
+    super((OperationContext) operation.getAttachment(SYNCHROCONTEXT),
+           operation.getRawEntryDN().stringValue());
   }
 
   /**
@@ -88,8 +88,8 @@
    * {@inheritDoc}
    */
   @Override
-  public Operation createOperation(InternalClientConnection connection,
-      String newDn)
+  public AbstractOperation createOperation(
+         InternalClientConnection connection, String newDn)
   {
     DeleteOperationBasis del =  new DeleteOperationBasis(connection,
                                InternalClientConnection.nextOperationID(),

--
Gitblit v1.10.0