directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1000791 - /directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapAsyncConnection.java
Date Fri, 24 Sep 2010 10:11:51 GMT
Author: elecharny
Date: Fri Sep 24 10:11:51 2010
New Revision: 1000791

URL: http://svn.apache.org/viewvc?rev=1000791&view=rev
Log:
Added a missing declaration in the interface

Modified:
    directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapAsyncConnection.java

Modified: directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapAsyncConnection.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapAsyncConnection.java?rev=1000791&r1=1000790&r2=1000791&view=diff
==============================================================================
--- directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapAsyncConnection.java
(original)
+++ directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/LdapAsyncConnection.java
Fri Sep 24 10:11:51 2010
@@ -128,6 +128,27 @@ public interface LdapAsyncConnection ext
 
 
     /**
+     * Do an asynchronous search, on the base object, using the given filter. The
+     * SearchRequest parameters default to :
+     * Scope : ONE
+     * DerefAlias : ALWAYS
+     * SizeLimit : none
+     * TimeLimit : none
+     * TypesOnly : false
+     * Attributes : all the user's attributes.
+     * This method is blocking.
+     * 
+     * @param baseDn The base for the search. It must be a valid
+     * DN, and can't be emtpy
+     * @param filterString The filter to use for this search. It can't be empty
+     * @param scope The sarch scope : OBJECT, ONELEVEL or SUBTREE 
+     * @return A cursor on the result. 
+     */
+    SearchFuture searchAsync( DN baseDn, String filter, SearchScope scope, String... attributes
)
+        throws LdapException;
+
+
+    /**
      * Do a search, on the base object, using the given filter. The
      * SearchRequest parameters default to :
      * Scope : ONE



Mime
View raw message