directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szoer...@apache.org
Subject svn commit: r550056 - /directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
Date Sat, 23 Jun 2007 15:31:49 GMT
Author: szoerner
Date: Sat Jun 23 08:31:49 2007
New Revision: 550056

URL: http://svn.apache.org/viewvc?view=rev&rev=550056
Log:
Comments added

Modified:
    directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java

Modified: directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
URL: http://svn.apache.org/viewvc/directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java?view=diff&rev=550056&r1=550055&r2=550056
==============================================================================
--- directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
(original)
+++ directory/sandbox/szoerner/groovyldap/src/main/java/org/apache/directory/groovyldap/LDAP.java
Sat Jun 23 08:31:49 2007
@@ -42,6 +42,12 @@
 import javax.naming.ldap.LdapContext;
 
 
+/**
+ * A wrapper class which provides LDAP functionality to groovy.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
 public class LDAP
 {
     private static final String DEFAULT_URL = "ldap://localhost:389/";
@@ -103,7 +109,20 @@
         return new LDAP( url );
     }
 
+    /**
+     * Search scope ONE (one level)
+     */
     public static final SearchScope ONE = SearchScope.ONE;
+    
+    /**
+     * Search scope SUB (subtree)
+     */
+    public static final SearchScope SUB = SearchScope.SUB;
+    
+    /**
+     * Search scope BASE (only the search base itself)
+     */
+    public static final SearchScope BASE = SearchScope.BASE;
 
 
     /** 



Mime
View raw message