From 80e2d352bedcafd7b83fc85f07239655fadb66dd Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Mon, 21 Jul 2014 12:22:07 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1206 : Create a new ReplicationBackend/ChangelogBackend   to support cn=changelog CR-4052

---
 opends/src/server/org/opends/server/core/SearchOperationBasis.java |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/SearchOperationBasis.java b/opends/src/server/org/opends/server/core/SearchOperationBasis.java
index 62cd5f5..296488e 100644
--- a/opends/src/server/org/opends/server/core/SearchOperationBasis.java
+++ b/opends/src/server/org/opends/server/core/SearchOperationBasis.java
@@ -22,7 +22,7 @@
  *
  *
  *      Copyright 2006-2010 Sun Microsystems, Inc.
- *      Portions Copyright 2011-2013 ForgeRock AS
+ *      Portions Copyright 2011-2014 ForgeRock AS
  */
 package org.opends.server.core;
 
@@ -34,6 +34,7 @@
 import org.opends.server.api.ClientConnection;
 import org.opends.server.api.plugin.PluginResult;
 import org.opends.server.controls.AccountUsableResponseControl;
+import org.opends.server.controls.ExternalChangelogRequestControl;
 import org.opends.server.controls.MatchedValuesControl;
 import org.opends.server.core.networkgroups.NetworkGroup;
 import org.opends.server.loggers.debug.DebugLogger;
@@ -163,6 +164,8 @@
   /** Indicates whether to send the search result done to the client or not. */
   private boolean sendResponse = true;
 
+  private ExternalChangelogRequestControl eclRequestControl;
+
   /**
    * Creates a new search operation with the provided information.
    *
@@ -1078,6 +1081,20 @@
     this.matchedValuesControl = controls;
   }
 
+  /** {@inheritDoc} */
+  @Override
+  public ExternalChangelogRequestControl getECLRequestControl()
+  {
+    return eclRequestControl;
+  }
+
+  /** {@inheritDoc} */
+  @Override
+  public void setECLRequestControl(ExternalChangelogRequestControl control)
+  {
+    eclRequestControl = control;
+  }
+
   /**
    * {@inheritDoc}
    */

--
Gitblit v1.10.0