From 1b4603e10c65c535a04e66c9fad1c602abb854c8 Mon Sep 17 00:00:00 2001
From: jdemendi <jdemendi@localhost>
Date: Tue, 25 Mar 2008 17:17:45 +0000
Subject: [PATCH] rollback fix for 2991, return entry should go through workflow elements

---
 opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java |   46 ----------------------------------------------
 1 files changed, 0 insertions(+), 46 deletions(-)

diff --git a/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java b/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java
index c4fa635..6f39879 100644
--- a/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java
+++ b/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java
@@ -344,15 +344,8 @@
         break;
 
       case SEARCH:
-        // First of all store the original operation basis so that returned
-        // entries can be sent to it later on
-        setOriginalOperationBasis(operation);
-
         LocalBackendSearchOperation searchOperation =
              new LocalBackendSearchOperation((SearchOperation) operation);
-        // Set the calling workflow element so that returnEntry and
-        // returnReference callbacks can be invoked later on.
-        searchOperation.setCallingWorkflowElement(this);
         searchOperation.processLocalSearch(backend);
         break;
 
@@ -431,44 +424,5 @@
                                   newAttachment);
   }
 
-
-
-  /**
-   * {@inheritDoc}
-   */
-  public boolean returnEntry(
-      Entry entry,
-      List<Control> controls)
-  {
-    boolean result;
-
-    // There is no specific processing to perform on the returned entry.
-    // Just let the superclass execute the generic processing on the
-    // returned entry.
-    result = super.returnEntry(entry, controls);
-
-    return result;
-  }
-
-
-
-  /**
-   * {@inheritDoc}
-   */
-  public boolean returnReference(
-      DN dn,
-      SearchResultReference reference)
-  {
-    boolean result;
-
-    // There is no specific processing to perform on the returned reference.
-    // Just let the superclass execute the generic processing on the
-    // returned reference.
-    result = super.returnReference(dn, reference);
-
-    return result;
-  }
-
-
 }
 

--
Gitblit v1.10.0