From e5e8ceb274a2795ec70cf8cc771a247e2620a30f Mon Sep 17 00:00:00 2001
From: jarnou <jarnou@localhost>
Date: Tue, 03 Jul 2007 09:29:17 +0000
Subject: [PATCH] Commits the refactoring of the core server to provide support for proxy/distribution/virtual functionnalities. This includes the new set of local operations, as well as the workflow and networkgroup support.

---
 opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalSearchOperation.java |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalSearchOperation.java b/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalSearchOperation.java
index 3e1a2a1..91010af 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalSearchOperation.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalSearchOperation.java
@@ -33,7 +33,7 @@
 import java.util.List;
 
 import org.opends.server.api.ClientConnection;
-import org.opends.server.core.SearchOperation;
+import org.opends.server.core.SearchOperationBasis;
 import org.opends.server.types.ByteString;
 import org.opends.server.types.Control;
 import org.opends.server.types.DN;
@@ -55,7 +55,7 @@
  * client since there is no real client.
  */
 public class InternalSearchOperation
-       extends SearchOperation
+       extends SearchOperationBasis
 {
   // The internal search listener for this search, if one was
   // provided.
@@ -284,5 +284,26 @@
                                                    searchReference);
     }
   }
+
+  /**
+   * {@inheritDoc}
+   */
+  public void sendSearchEntry(SearchResultEntry searchEntry)
+    throws DirectoryException
+    {
+    addSearchEntry(searchEntry);
+  }
+
+  /**
+   * {@inheritDoc}
+   */
+  public boolean sendSearchReference(SearchResultReference
+      searchReference)
+  throws DirectoryException
+  {
+    addSearchReference(searchReference);
+    return true;
+  }
+
 }
 

--
Gitblit v1.10.0