directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r180162 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/LdapConstants.java
Date Sun, 05 Jun 2005 22:48:04 GMT
Author: elecharny
Date: Sun Jun  5 15:48:04 2005
New Revision: 180162

URL: http://svn.apache.org/viewcvs?rev=180162&view=rev
Log:
Added this class used in SearchRequest codec

Added:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/LdapConstants.java

Added: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/LdapConstants.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/LdapConstants.java?rev=180162&view=auto
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/LdapConstants.java
(added)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/LdapConstants.java
Sun Jun  5 15:48:04 2005
@@ -0,0 +1,39 @@
+/*
+ *   Copyright 2005 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.asn1.ldap.codec;
+
+/**
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class LdapConstants {
+    /** The scope constants */
+    public static final int SCOPE_BASE_OBJECT   = 0;
+    public static final int SCOPE_SINGLE_LEVEL  = 1;
+    public static final int SCOPE_WHOLE_SUBTREE = 2;
+    
+    /** The DerefAlias constants */
+    public static final int NEVER_DEREF_ALIASES    = 0;
+    public static final int DEREF_IN_SEARCHING     = 1;
+    public static final int DEREF_FINDING_BASE_OBJ = 2;
+    public static final int DEREF_ALWAYS           = 3;
+    
+    /** The operations */
+    public static final int OPERATION_ADD     = 0;
+    public static final int OPERATION_DELETE  = 1;
+    public static final int OPERATION_REPLACE = 2;
+    
+}



Mime
View raw message