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/ModifyMsg.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/protocol/ModifyMsg.java b/opends/src/server/org/opends/server/replication/protocol/ModifyMsg.java
index 52fb3e2..d9c185e 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ModifyMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ModifyMsg.java
@@ -28,7 +28,6 @@
 
 import static org.opends.server.replication.protocol.OperationContext.*;
 
-import org.opends.server.core.ModifyOperation;
 import org.opends.server.core.ModifyOperationBasis;
 import org.opends.server.protocols.asn1.ASN1Exception;
 import org.opends.server.protocols.asn1.ASN1OctetString;
@@ -38,14 +37,15 @@
 import org.opends.server.protocols.internal.InternalClientConnection;
 import org.opends.server.replication.common.ChangeNumber;
 import org.opends.server.replication.plugin.Historical;
+import org.opends.server.types.AbstractOperation;
 import org.opends.server.types.Attribute;
 import org.opends.server.types.AttributeType;
 import org.opends.server.types.AttributeUsage;
 import org.opends.server.types.DN;
 import org.opends.server.types.LDAPException;
 import org.opends.server.types.Modification;
-import org.opends.server.types.Operation;
 import org.opends.server.types.RawModification;
+import org.opends.server.types.operation.PostOperationModifyOperation;
 
 
 import java.io.UnsupportedEncodingException;
@@ -67,7 +67,7 @@
    *
    * @param op The operation to use for building the message
    */
-  public ModifyMsg(ModifyOperation op)
+  public ModifyMsg(PostOperationModifyOperation op)
   {
     super((OperationContext) op.getAttachment(OperationContext.SYNCHROCONTEXT),
           op.getRawEntryDN().stringValue());
@@ -127,7 +127,7 @@
    * {@inheritDoc}
    */
   @Override
-  public Operation createOperation(InternalClientConnection connection,
+  public AbstractOperation createOperation(InternalClientConnection connection,
                    String newDn)
                    throws LDAPException, ASN1Exception, DataFormatException
   {

--
Gitblit v1.10.0