From 2932826ed4d0c00eea2ceff19d65476593919821 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 29 Jun 2011 17:49:33 +0000
Subject: [PATCH] Fix OPENDJ-216: Missing entries in searches when legacy (objectclass=ldapSubEntry) filter is used in Search filter.

---
 opends/src/server/org/opends/server/core/SearchOperation.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/SearchOperation.java b/opends/src/server/org/opends/server/core/SearchOperation.java
index c69a599..5a1ec3a 100644
--- a/opends/src/server/org/opends/server/core/SearchOperation.java
+++ b/opends/src/server/org/opends/server/core/SearchOperation.java
@@ -23,6 +23,7 @@
  *
  *
  *      Copyright 2006-2009 Sun Microsystems, Inc.
+ *      Portions Copyright 2011 ForgeRock AS
  */
 package org.opends.server.core;
 
@@ -318,7 +319,7 @@
    *
    * @return true if the LDAP subentries should be returned, false otherwise
    */
-  public abstract boolean isReturnLDAPSubentries();
+  public abstract boolean isReturnSubentriesOnly();
 
   /**
    * Set the flag indicating wether the LDAP subentries should be returned.
@@ -326,7 +327,7 @@
    * @param returnLDAPSubentries - Boolean indicating wether the LDAP
    *                               subentries should be returned or not
    */
-  public abstract void setReturnLDAPSubentries(boolean returnLDAPSubentries);
+  public abstract void setReturnSubentriesOnly(boolean returnLDAPSubentries);
 
   /**
    * The matched values control associated with this search operation.

--
Gitblit v1.10.0