You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2008/05/31 07:33:29 UTC

svn commit: r661948 - /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/CoreSession.java

Author: akarasulu
Date: Fri May 30 22:33:29 2008
New Revision: 661948

URL: http://svn.apache.org/viewvc?rev=661948&view=rev
Log:
return proper search result cursor type

Modified:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/CoreSession.java

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/CoreSession.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/CoreSession.java?rev=661948&r1=661947&r2=661948&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/CoreSession.java (original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/CoreSession.java Fri May 30 22:33:29 2008
@@ -30,6 +30,7 @@
 import org.apache.directory.server.core.cursor.Cursor;
 import org.apache.directory.server.core.entry.ClonedServerEntry;
 import org.apache.directory.server.core.entry.ServerEntry;
+import org.apache.directory.server.core.filtering.EntryFilteringCursor;
 import org.apache.directory.server.core.interceptor.context.OperationContext;
 import org.apache.directory.shared.ldap.constants.AuthenticationLevel;
 import org.apache.directory.shared.ldap.entry.Modification;
@@ -285,7 +286,7 @@
      * @param returningAttributes the attributes to return
      * @throws Exception if there are failures while listing children
      */
-    Cursor<ClonedServerEntry> list( LdapDN dn, AliasDerefMode aliasDerefMode, 
+    EntryFilteringCursor list( LdapDN dn, AliasDerefMode aliasDerefMode, 
         Set<AttributeTypeOptions> returningAttributes ) throws Exception;
     
     
@@ -304,7 +305,7 @@
      * terminating the search
      * @throws Exception if there are failures while listing children
      */
-    Cursor<ClonedServerEntry> list( LdapDN dn, AliasDerefMode aliasDerefMode, 
+    EntryFilteringCursor list( LdapDN dn, AliasDerefMode aliasDerefMode, 
         Set<AttributeTypeOptions> returningAttributes, int sizeLimit, int timeLimit ) throws Exception;
     
     
@@ -317,7 +318,7 @@
      * @param returningAttributes the attributes to return
      * @throws Exception if there are failures while listing children
      */
-    void search( LdapDN dn, SearchScope scope, ExprNode filter, AliasDerefMode aliasDerefMode, 
+    EntryFilteringCursor search( LdapDN dn, SearchScope scope, ExprNode filter, AliasDerefMode aliasDerefMode, 
         Set<AttributeTypeOptions> returningAttributes ) throws Exception;
     
     
@@ -332,6 +333,6 @@
      * terminating the search
      * @throws Exception if there are failures while listing children
      */
-    void search( LdapDN dn, SearchScope scope, ExprNode filter, AliasDerefMode aliasDerefMode, 
+    EntryFilteringCursor search( LdapDN dn, SearchScope scope, ExprNode filter, AliasDerefMode aliasDerefMode, 
         Set<AttributeTypeOptions> returningAttributes, int sizeLimit, int timeLimit ) throws Exception;
 }