directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r377135 [28/36] - in /directory/sandbox/akarasulu/rc1: apacheds/core-plugin/src/main/java/org/apache/directory/server/core/tools/schema/ apacheds/core-plugin/src/test/java/org/apache/directory/server/core/tools/schema/ apacheds/core-shared/...
Date Sun, 12 Feb 2006 05:51:22 GMT
Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java Sat Feb 11 21:50:03 2006
@@ -1,150 +1,150 @@
-/*
- *   Copyright 2004 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.directory.shared.ldap.message;
-
-
-import java.util.Collection;
-
-import javax.naming.directory.ModificationItem;
-
-
-/**
- * Modify request protocol message used to alter the attributes and values of an
- * existing entry. Here's what <a href="">RFC 2255</a> says about it:
- * 
- * <pre>
- *  4.6. Modify Operation
- * 
- *   The Modify Operation allows a client to request that a modification
- *   of an entry be performed on its behalf by a server.  The Modify
- *   Request is defined as follows:
- * 
- *        ModifyRequest ::= [APPLICATION 6] SEQUENCE {
- *                object          LDAPDN,
- *                modification    SEQUENCE OF SEQUENCE {
- * 
- *                        operation       ENUMERATED {
- *                                                add     (0),
- *                                                delete  (1),
- *                                                replace (2) },
- *                        modification    AttributeTypeAndValues } }
- * 
- *        AttributeTypeAndValues ::= SEQUENCE {
- *                type    AttributeDescription,
- *                vals    SET OF AttributeValue }
- * 
- *   Parameters of the Modify Request are:
- * 
- *   - object: The object to be modified. The value of this field contains
- *     the DN of the entry to be modified.  The server will not perform
- *     any alias dereferencing in determining the object to be modified.
- * 
- *   - modification: A list of modifications to be performed on the entry.
- *     The entire list of entry modifications MUST be performed
- *     in the order they are listed, as a single atomic operation.  While
- *     individual modifications may violate the directory schema, the
- *     resulting entry after the entire list of modifications is performed
- *     MUST conform to the requirements of the directory schema. The
- *     values that may be taken on by the 'operation' field in each
- *     modification construct have the following semantics respectively:
- *  
- * 
- *             add: add values listed to the given attribute, creating
- *             the attribute if necessary;
- * 
- *             delete: delete values listed from the given attribute,
- *             removing the entire attribute if no values are listed, or
- *             if all current values of the attribute are listed for
- *             deletion;
- * 
- *             replace: replace all existing values of the given attribute
- *             with the new values listed, creating the attribute if it
- *             did not already exist.  A replace with no value will delete
- *             the entire attribute if it exists, and is ignored if the
- *             attribute does not exist.
- *  &lt;pre&gt;
- * 
- *  Notice that we tried to leverage as much as we already can from the JNDI.
- *  Both the Names and ModificationItems are used here to make the API as easy
- *  as possible to understand.  We do not attempt here to write a JNDI provider
- *  which losses the explicit request type usage that we are looking for.  Also
- *  note that this library is both for the client side as well as the server side
- *  unlike the JNDI which is strictly for the client side.  From the JNDI we
- *  borrow good ideas and familiar signatures, interfaces and classes where we
- *  can.
- *  
- *  @author &lt;a href=&quot;mailto:dev@directory.apache.org&quot;&gt;Apache Directory Project&lt;/a&gt;
- *  @version $Revision$
- * 
- */
-public interface ModifyRequest extends SingleReplyRequest, AbandonableRequest
-{
-    /** Modify request message type enumeration value */
-    MessageTypeEnum TYPE = MessageTypeEnum.MODIFYREQUEST;
-
-    /** Modify response message type enumeration value */
-    MessageTypeEnum RESP_TYPE = ModifyResponse.TYPE;
-
-
-    /**
-     * Gets the distinguished name of the entry to be modified by this request.
-     * This property represents the PDU's <b>object</b> field.
-     * 
-     * @return the DN of the modified entry.
-     */
-    String getName();
-
-
-    /**
-     * Sets the distinguished name of the entry to be modified by this request.
-     * This property represents the PDU's <b>object</b> field.
-     * 
-     * @param name
-     *            the DN of the modified entry.
-     */
-    void setName( String name );
-
-
-    /**
-     * Gets an immutable Collection of modification items representing the
-     * atomic changes to perform on the candidate entry to modify.
-     * 
-     * @return an immutatble Collection of ModificationItem instances.
-     * @see javax.naming.directory.ModificationItem
-     */
-    Collection getModificationItems();
-
-
-    /**
-     * Adds a ModificationItem to the set of modifications composing this modify
-     * request.
-     * 
-     * @param mod
-     *            a ModificationItem to add.
-     */
-    void addModification( ModificationItem mod );
-
-
-    /**
-     * Removes a ModificationItem to the set of modifications composing this
-     * modify request.
-     * 
-     * @param mod
-     *            a ModificationItem to remove.
-     */
-    void removeModification( ModificationItem mod );
-}
+/*
+ *   Copyright 2004 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.directory.shared.ldap.message;
+
+
+import java.util.Collection;
+
+import javax.naming.directory.ModificationItem;
+
+
+/**
+ * Modify request protocol message used to alter the attributes and values of an
+ * existing entry. Here's what <a href="">RFC 2255</a> says about it:
+ * 
+ * <pre>
+ *  4.6. Modify Operation
+ * 
+ *   The Modify Operation allows a client to request that a modification
+ *   of an entry be performed on its behalf by a server.  The Modify
+ *   Request is defined as follows:
+ * 
+ *        ModifyRequest ::= [APPLICATION 6] SEQUENCE {
+ *                object          LDAPDN,
+ *                modification    SEQUENCE OF SEQUENCE {
+ * 
+ *                        operation       ENUMERATED {
+ *                                                add     (0),
+ *                                                delete  (1),
+ *                                                replace (2) },
+ *                        modification    AttributeTypeAndValues } }
+ * 
+ *        AttributeTypeAndValues ::= SEQUENCE {
+ *                type    AttributeDescription,
+ *                vals    SET OF AttributeValue }
+ * 
+ *   Parameters of the Modify Request are:
+ * 
+ *   - object: The object to be modified. The value of this field contains
+ *     the DN of the entry to be modified.  The server will not perform
+ *     any alias dereferencing in determining the object to be modified.
+ * 
+ *   - modification: A list of modifications to be performed on the entry.
+ *     The entire list of entry modifications MUST be performed
+ *     in the order they are listed, as a single atomic operation.  While
+ *     individual modifications may violate the directory schema, the
+ *     resulting entry after the entire list of modifications is performed
+ *     MUST conform to the requirements of the directory schema. The
+ *     values that may be taken on by the 'operation' field in each
+ *     modification construct have the following semantics respectively:
+ *  
+ * 
+ *             add: add values listed to the given attribute, creating
+ *             the attribute if necessary;
+ * 
+ *             delete: delete values listed from the given attribute,
+ *             removing the entire attribute if no values are listed, or
+ *             if all current values of the attribute are listed for
+ *             deletion;
+ * 
+ *             replace: replace all existing values of the given attribute
+ *             with the new values listed, creating the attribute if it
+ *             did not already exist.  A replace with no value will delete
+ *             the entire attribute if it exists, and is ignored if the
+ *             attribute does not exist.
+ *  &lt;pre&gt;
+ * 
+ *  Notice that we tried to leverage as much as we already can from the JNDI.
+ *  Both the Names and ModificationItems are used here to make the API as easy
+ *  as possible to understand.  We do not attempt here to write a JNDI provider
+ *  which losses the explicit request type usage that we are looking for.  Also
+ *  note that this library is both for the client side as well as the server side
+ *  unlike the JNDI which is strictly for the client side.  From the JNDI we
+ *  borrow good ideas and familiar signatures, interfaces and classes where we
+ *  can.
+ *  
+ *  @author &lt;a href=&quot;mailto:dev@directory.apache.org&quot;&gt;Apache Directory Project&lt;/a&gt;
+ *  @version $Revision$
+ * 
+ */
+public interface ModifyRequest extends SingleReplyRequest, AbandonableRequest
+{
+    /** Modify request message type enumeration value */
+    MessageTypeEnum TYPE = MessageTypeEnum.MODIFYREQUEST;
+
+    /** Modify response message type enumeration value */
+    MessageTypeEnum RESP_TYPE = ModifyResponse.TYPE;
+
+
+    /**
+     * Gets the distinguished name of the entry to be modified by this request.
+     * This property represents the PDU's <b>object</b> field.
+     * 
+     * @return the DN of the modified entry.
+     */
+    String getName();
+
+
+    /**
+     * Sets the distinguished name of the entry to be modified by this request.
+     * This property represents the PDU's <b>object</b> field.
+     * 
+     * @param name
+     *            the DN of the modified entry.
+     */
+    void setName( String name );
+
+
+    /**
+     * Gets an immutable Collection of modification items representing the
+     * atomic changes to perform on the candidate entry to modify.
+     * 
+     * @return an immutatble Collection of ModificationItem instances.
+     * @see javax.naming.directory.ModificationItem
+     */
+    Collection getModificationItems();
+
+
+    /**
+     * Adds a ModificationItem to the set of modifications composing this modify
+     * request.
+     * 
+     * @param mod
+     *            a ModificationItem to add.
+     */
+    void addModification( ModificationItem mod );
+
+
+    /**
+     * Removes a ModificationItem to the set of modifications composing this
+     * modify request.
+     * 
+     * @param mod
+     *            a ModificationItem to remove.
+     */
+    void removeModification( ModificationItem mod );
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequest.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequestImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyRequestImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponse.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponse.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponse.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponse.java Sat Feb 11 21:50:03 2006
@@ -1,30 +1,30 @@
-/*
- *   Copyright 2004 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.directory.shared.ldap.message;
-
-
-/**
- * Modify protocol response message used to confirm the results of a modify
- * request message.
- * 
- * @version $Revision$
- */
-public interface ModifyResponse extends ResultResponse
-{
-    /** Modify response message type enumeration value */
-    MessageTypeEnum TYPE = MessageTypeEnum.MODIFYRESPONSE;
-}
+/*
+ *   Copyright 2004 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.directory.shared.ldap.message;
+
+
+/**
+ * Modify protocol response message used to confirm the results of a modify
+ * request message.
+ * 
+ * @version $Revision$
+ */
+public interface ModifyResponse extends ResultResponse
+{
+    /** Modify response message type enumeration value */
+    MessageTypeEnum TYPE = MessageTypeEnum.MODIFYRESPONSE;
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponse.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponse.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/PersistentSearchControl.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Referral.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Referral.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ReferralImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ReferralImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Request.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Request.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Request.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Request.java Sat Feb 11 21:50:03 2006
@@ -1,34 +1,34 @@
-/*
- *   Copyright 2004 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.directory.shared.ldap.message;
-
-
-/**
- * Ldap protocol request messages derive from this super interface.
- * 
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * @version $Rev$
- */
-public interface Request extends Message
-{
-    /**
-     * Tests to see if this Request produces one or more response types.
-     * 
-     * @return true if a response can be expected, false otherwise.
-     */
-    boolean hasResponse();
-}
+/*
+ *   Copyright 2004 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.directory.shared.ldap.message;
+
+
+/**
+ * Ldap protocol request messages derive from this super interface.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface Request extends Message
+{
+    /**
+     * Tests to see if this Request produces one or more response types.
+     * 
+     * @return true if a response can be expected, false otherwise.
+     */
+    boolean hasResponse();
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Request.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Request.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Response.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Response.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Response.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Response.java Sat Feb 11 21:50:03 2006
@@ -1,52 +1,52 @@
-/*
- *   Copyright 2004 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.
- *
- */
-
-/*
- * $Id: Response.java,v 1.6 2003/05/02 04:03:13 akarasulu Exp $
- *
- * -- (c) LDAPd Group                                                    --
- * -- Please refer to the LICENSE.txt file in the root directory of      --
- * -- any LDAPd project for copyright and distribution information.      --
- *
- */
-
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Super interface used as a marker for all protocol response type messages.
- * Note that only 4 response interfaces directly extend this interfaces. They
- * are listed below:
- * <ul>
- * <li> UnbindResponse </li>
- * <li> AbandonResponse </li>
- * <li> SearchResponseEntry </li>
- * <li> SearchResponseReference </li>
- * </ul>
- * <br>
- * All other responses derive from the ResultResponse interface. These responses
- * unlike the three above have an LdapResult component. The ResultResponse
- * interface takes this into account providing a Response with an LdapResult
- * property.
- * 
- * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
- * @author $Author: akarasulu $
- * @version $Revision$
- */
-public interface Response extends Message
-{
-}
+/*
+ *   Copyright 2004 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.
+ *
+ */
+
+/*
+ * $Id$
+ *
+ * -- (c) LDAPd Group                                                    --
+ * -- Please refer to the LICENSE.txt file in the root directory of      --
+ * -- any LDAPd project for copyright and distribution information.      --
+ *
+ */
+
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Super interface used as a marker for all protocol response type messages.
+ * Note that only 4 response interfaces directly extend this interfaces. They
+ * are listed below:
+ * <ul>
+ * <li> UnbindResponse </li>
+ * <li> AbandonResponse </li>
+ * <li> SearchResponseEntry </li>
+ * <li> SearchResponseReference </li>
+ * </ul>
+ * <br>
+ * All other responses derive from the ResultResponse interface. These responses
+ * unlike the three above have an LdapResult component. The ResultResponse
+ * interface takes this into account providing a Response with an LdapResult
+ * property.
+ * 
+ * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
+ * @author $Author: akarasulu $
+ * @version $Revision$
+ */
+public interface Response extends Message
+{
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Response.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/Response.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ResultCodeEnum.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ResultCodeEnum.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ResultResponse.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ResultResponse.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ResultResponse.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ResultResponse.java Sat Feb 11 21:50:03 2006
@@ -1,34 +1,34 @@
-/*
- *   Copyright 2004 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.directory.shared.ldap.message;
-
-
-/**
- * An LDAP Response that contains an LDAPResult structure within it.
- * 
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Revision$
- */
-public interface ResultResponse extends Response
-{
-    /**
-     * Gets the LdapResult components of this Response.
-     * 
-     * @return the LdapResult for this Response.
-     */
-    LdapResult getLdapResult();
-}
+/*
+ *   Copyright 2004 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.directory.shared.ldap.message;
+
+
+/**
+ * An LDAP Response that contains an LDAPResult structure within it.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Revision$
+ */
+public interface ResultResponse extends Response
+{
+    /**
+     * Gets the LdapResult components of this Response.
+     * 
+     * @return the LdapResult for this Response.
+     */
+    LdapResult getLdapResult();
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ResultResponse.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ResultResponse.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ResultResponseRequest.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ScopeEnum.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ScopeEnum.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ScopeEnum.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ScopeEnum.java Sat Feb 11 21:50:03 2006
@@ -1,125 +1,125 @@
-/*
- *   Copyright 2004 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.directory.shared.ldap.message;
-
-
-import javax.naming.directory.SearchControls;
-
-import org.apache.directory.shared.ldap.util.ValuedEnum;
-
-
-/**
- * Type-safe scope parameter enumeration.
- * 
- * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
- * @author $Author: akarasulu $
- * @version $Revision$
- */
-public class ScopeEnum extends ValuedEnum
-{
-    static final long serialVersionUID = 6354503944147675151L;
-
-    /** Search scope parameter value for base object search */
-    public static final int BASEOBJECT_VAL = SearchControls.OBJECT_SCOPE;
-
-    /** Search scope parameter value for single level search */
-    public static final int SINGLELEVEL_VAL = SearchControls.ONELEVEL_SCOPE;
-
-    /** Search scope parameter value for whole subtree level search */
-    public static final int WHOLESUBTREE_VAL = SearchControls.SUBTREE_SCOPE;
-
-    /** LDAP search scope parameter value for base object search */
-    public static final int BASEOBJECT_LDAPVAL = 0;
-
-    /** LDAP search scope parameter value for single level search */
-    public static final int SINGLELEVEL_LDAPVAL = 1;
-
-    /** LDAP search scope parameter value for whole subtree level search */
-    public static final int WHOLESUBTREE_LDAPVAL = 2;
-
-    /** Search scope parameter enum for base object search */
-    public static final ScopeEnum BASEOBJECT = new ScopeEnum( "BASEOBJECT", BASEOBJECT_VAL );
-
-    /** Search scope parameter enum for single level search */
-    public static final ScopeEnum SINGLELEVEL = new ScopeEnum( "SINGLELEVEL", SINGLELEVEL_VAL );
-
-    /** Search scope parameter enum for whole subtree level search */
-    public static final ScopeEnum WHOLESUBTREE = new ScopeEnum( "WHOLESUBTREE", WHOLESUBTREE_VAL );
-
-
-    /**
-     * Private construct so no other instances can be created other than the
-     * public static constants in this class.
-     * 
-     * @param a_name
-     *            a string name for the enumeration value.
-     * @param a_value
-     *            the integer value of the enumeration.
-     */
-    private ScopeEnum(final String a_name, final int a_value)
-    {
-        super( a_name, a_value );
-    }
-
-
-    /**
-     * Gets the type safe enumeration constant corresponding to a SearchControls
-     * scope value.
-     * 
-     * @param a_controls
-     *            the SearchControls whose scope value we convert to enum
-     * @return the SopeEnum for the scope int value
-     */
-    public static ScopeEnum getScope( SearchControls a_controls )
-    {
-        switch ( a_controls.getSearchScope() )
-        {
-            case ( SearchControls.OBJECT_SCOPE  ):
-                return BASEOBJECT;
-            case ( SearchControls.ONELEVEL_SCOPE  ):
-                return SINGLELEVEL;
-            case ( SearchControls.SUBTREE_SCOPE  ):
-                return WHOLESUBTREE;
-            default:
-                throw new IllegalArgumentException( "Unrecognized search scope in SearchControls: "
-                    + a_controls.getSearchScope() );
-        }
-    }
-
-
-    /**
-     * Gets the LdapValue for the scope enumeration as opposed to the JNDI value
-     * which is returned using getValue().
-     * 
-     * @return the LDAP enumeration value for the scope parameter on a search
-     *         request.
-     */
-    public int getLdapValue()
-    {
-        switch ( getValue() )
-        {
-            case ( BASEOBJECT_VAL ):
-                return BASEOBJECT_LDAPVAL;
-            case ( SINGLELEVEL_VAL ):
-                return SINGLELEVEL_LDAPVAL;
-            case ( WHOLESUBTREE_VAL ):
-                return WHOLESUBTREE_LDAPVAL;
-            default:
-                throw new IllegalArgumentException( "Unrecognized value: " + getValue() );
-        }
-    }
-}
+/*
+ *   Copyright 2004 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.directory.shared.ldap.message;
+
+
+import javax.naming.directory.SearchControls;
+
+import org.apache.directory.shared.ldap.util.ValuedEnum;
+
+
+/**
+ * Type-safe scope parameter enumeration.
+ * 
+ * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
+ * @author $Author: akarasulu $
+ * @version $Revision$
+ */
+public class ScopeEnum extends ValuedEnum
+{
+    static final long serialVersionUID = 6354503944147675151L;
+
+    /** Search scope parameter value for base object search */
+    public static final int BASEOBJECT_VAL = SearchControls.OBJECT_SCOPE;
+
+    /** Search scope parameter value for single level search */
+    public static final int SINGLELEVEL_VAL = SearchControls.ONELEVEL_SCOPE;
+
+    /** Search scope parameter value for whole subtree level search */
+    public static final int WHOLESUBTREE_VAL = SearchControls.SUBTREE_SCOPE;
+
+    /** LDAP search scope parameter value for base object search */
+    public static final int BASEOBJECT_LDAPVAL = 0;
+
+    /** LDAP search scope parameter value for single level search */
+    public static final int SINGLELEVEL_LDAPVAL = 1;
+
+    /** LDAP search scope parameter value for whole subtree level search */
+    public static final int WHOLESUBTREE_LDAPVAL = 2;
+
+    /** Search scope parameter enum for base object search */
+    public static final ScopeEnum BASEOBJECT = new ScopeEnum( "BASEOBJECT", BASEOBJECT_VAL );
+
+    /** Search scope parameter enum for single level search */
+    public static final ScopeEnum SINGLELEVEL = new ScopeEnum( "SINGLELEVEL", SINGLELEVEL_VAL );
+
+    /** Search scope parameter enum for whole subtree level search */
+    public static final ScopeEnum WHOLESUBTREE = new ScopeEnum( "WHOLESUBTREE", WHOLESUBTREE_VAL );
+
+
+    /**
+     * Private construct so no other instances can be created other than the
+     * public static constants in this class.
+     * 
+     * @param a_name
+     *            a string name for the enumeration value.
+     * @param a_value
+     *            the integer value of the enumeration.
+     */
+    private ScopeEnum(final String a_name, final int a_value)
+    {
+        super( a_name, a_value );
+    }
+
+
+    /**
+     * Gets the type safe enumeration constant corresponding to a SearchControls
+     * scope value.
+     * 
+     * @param a_controls
+     *            the SearchControls whose scope value we convert to enum
+     * @return the SopeEnum for the scope int value
+     */
+    public static ScopeEnum getScope( SearchControls a_controls )
+    {
+        switch ( a_controls.getSearchScope() )
+        {
+            case ( SearchControls.OBJECT_SCOPE  ):
+                return BASEOBJECT;
+            case ( SearchControls.ONELEVEL_SCOPE  ):
+                return SINGLELEVEL;
+            case ( SearchControls.SUBTREE_SCOPE  ):
+                return WHOLESUBTREE;
+            default:
+                throw new IllegalArgumentException( "Unrecognized search scope in SearchControls: "
+                    + a_controls.getSearchScope() );
+        }
+    }
+
+
+    /**
+     * Gets the LdapValue for the scope enumeration as opposed to the JNDI value
+     * which is returned using getValue().
+     * 
+     * @return the LDAP enumeration value for the scope parameter on a search
+     *         request.
+     */
+    public int getLdapValue()
+    {
+        switch ( getValue() )
+        {
+            case ( BASEOBJECT_VAL ):
+                return BASEOBJECT_LDAPVAL;
+            case ( SINGLELEVEL_VAL ):
+                return SINGLELEVEL_LDAPVAL;
+            case ( WHOLESUBTREE_VAL ):
+                return WHOLESUBTREE_LDAPVAL;
+            default:
+                throw new IllegalArgumentException( "Unrecognized value: " + getValue() );
+        }
+    }
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ScopeEnum.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ScopeEnum.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java Sat Feb 11 21:50:03 2006
@@ -1,235 +1,235 @@
-/*
- *   Copyright 2004 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.directory.shared.ldap.message;
-
-
-import java.util.Collection;
-
-import org.apache.directory.shared.ldap.filter.ExprNode;
-
-
-/**
- * Search request protocol message interface.
- * 
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * @version $Rev$
- */
-public interface SearchRequest extends ManyReplyRequest, AbandonableRequest
-{
-    /** Search request protocol message type */
-    MessageTypeEnum TYPE = MessageTypeEnum.SEARCHREQUEST;
-
-    /**
-     * Different response types that a search request may return. A search
-     * request unlike any other request type can generate four different kinds
-     * of responses. It is at most required to return a done response when it is
-     * complete however before then it can return search entry, search
-     * reference, and extended responses to the client.
-     * 
-     * @see getResponseTypes()
-     */
-    MessageTypeEnum[] RESPONSE_TYPES =
-        { SearchResponseDone.TYPE, SearchResponseEntry.TYPE, SearchResponseReference.TYPE, ExtendedResponse.TYPE };
-
-
-    /**
-     * Gets the different response types generated by a search request.
-     * 
-     * @return the RESPONSE_TYPES array
-     * @see RESPONSE_TYPES
-     */
-    MessageTypeEnum[] getResponseTypes();
-
-
-    /**
-     * Gets the search base as a distinguished name.
-     * 
-     * @return the search base
-     */
-    String getBase();
-
-
-    /**
-     * Sets the search base as a distinguished name.
-     * 
-     * @param a_baseDn
-     *            the search base
-     */
-    void setBase( String a_baseDn );
-
-
-    /**
-     * Gets the search scope parameter enumeration.
-     * 
-     * @return the scope enumeration parameter.
-     */
-    ScopeEnum getScope();
-
-
-    /**
-     * Sets the search scope parameter enumeration.
-     * 
-     * @param a_scope
-     *            the scope enumeration parameter.
-     */
-    void setScope( ScopeEnum a_scope );
-
-
-    /**
-     * Gets the alias handling parameter.
-     * 
-     * @return the alias handling parameter enumeration.
-     */
-    DerefAliasesEnum getDerefAliases();
-
-
-    /**
-     * Sets the alias handling parameter.
-     * 
-     * @param a_derefAliases
-     *            the alias handling parameter enumeration.
-     */
-    void setDerefAliases( DerefAliasesEnum a_derefAliases );
-
-
-    /**
-     * A sizelimit that restricts the maximum number of entries to be returned
-     * as a result of the search. A value of 0 in this field indicates that no
-     * client-requested sizelimit restrictions are in effect for the search.
-     * Servers may enforce a maximum number of entries to return.
-     * 
-     * @return search size limit.
-     */
-    int getSizeLimit();
-
-
-    /**
-     * Sets sizelimit that restricts the maximum number of entries to be
-     * returned as a result of the search. A value of 0 in this field indicates
-     * that no client-requested sizelimit restrictions are in effect for the
-     * search. Servers may enforce a maximum number of entries to return.
-     * 
-     * @param a_entriesMax
-     *            maximum search result entries to return.
-     */
-    void setSizeLimit( int a_entriesMax );
-
-
-    /**
-     * Gets the timelimit that restricts the maximum time (in seconds) allowed
-     * for a search. A value of 0 in this field indicates that no client-
-     * requested timelimit restrictions are in effect for the search.
-     * 
-     * @return the search time limit in seconds.
-     */
-    int getTimeLimit();
-
-
-    /**
-     * Sets the timelimit that restricts the maximum time (in seconds) allowed
-     * for a search. A value of 0 in this field indicates that no client-
-     * requested timelimit restrictions are in effect for the search.
-     * 
-     * @param a_secondsMax
-     *            the search time limit in seconds.
-     */
-    void setTimeLimit( int a_secondsMax );
-
-
-    /**
-     * An indicator as to whether search results will contain both attribute
-     * types and values, or just attribute types. Setting this field to TRUE
-     * causes only attribute types (no values) to be returned. Setting this
-     * field to FALSE causes both attribute types and values to be returned.
-     * 
-     * @return true for only types, false for types and values.
-     */
-    boolean getTypesOnly();
-
-
-    /**
-     * An indicator as to whether search results will contain both attribute
-     * types and values, or just attribute types. Setting this field to TRUE
-     * causes only attribute types (no values) to be returned. Setting this
-     * field to FALSE causes both attribute types and values to be returned.
-     * 
-     * @param a_typesOnly
-     *            true for only types, false for types and values.
-     */
-    void setTypesOnly( boolean a_typesOnly );
-
-
-    /**
-     * Gets the search filter associated with this search request.
-     * 
-     * @return the expression node for the root of the filter expression tree.
-     */
-    ExprNode getFilter();
-
-
-    /**
-     * Sets the search filter associated with this search request.
-     * 
-     * @param a_filter
-     *            the expression node for the root of the filter expression
-     *            tree.
-     */
-    void setFilter( ExprNode a_filter );
-
-
-    /**
-     * Gets a list of the attributes to be returned from each entry which
-     * matches the search filter. There are two special values which may be
-     * used: an empty list with no attributes, and the attribute description
-     * string "*". Both of these signify that all user attributes are to be
-     * returned. (The "*" allows the client to request all user attributes in
-     * addition to specific operational attributes). Attributes MUST be named at
-     * most once in the list, and are returned at most once in an entry. If
-     * there are attribute descriptions in the list which are not recognized,
-     * they are ignored by the server. If the client does not want any
-     * attributes returned, it can specify a list containing only the attribute
-     * with OID "1.1". This OID was chosen arbitrarily and does not correspond
-     * to any attribute in use. Client implementors should note that even if all
-     * user attributes are requested, some attributes of the entry may not be
-     * included in search results due to access control or other restrictions.
-     * Furthermore, servers will not return operational attributes, such as
-     * objectClasses or attributeTypes, unless they are listed by name, since
-     * there may be extremely large number of values for certain operational
-     * attributes.
-     * 
-     * @return the attributes to return for this request
-     */
-    Collection getAttributes();
-
-
-    /**
-     * Adds an attribute to the set of entry attributes to return.
-     * 
-     * @param a_attribute
-     *            the attribute description or identifier.
-     */
-    void addAttribute( String a_attribute );
-
-
-    /**
-     * Removes an attribute to the set of entry attributes to return.
-     * 
-     * @param a_attribute
-     *            the attribute description or identifier.
-     */
-    void removeAttribute( String a_attribute );
-}
+/*
+ *   Copyright 2004 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.directory.shared.ldap.message;
+
+
+import java.util.Collection;
+
+import org.apache.directory.shared.ldap.filter.ExprNode;
+
+
+/**
+ * Search request protocol message interface.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface SearchRequest extends ManyReplyRequest, AbandonableRequest
+{
+    /** Search request protocol message type */
+    MessageTypeEnum TYPE = MessageTypeEnum.SEARCHREQUEST;
+
+    /**
+     * Different response types that a search request may return. A search
+     * request unlike any other request type can generate four different kinds
+     * of responses. It is at most required to return a done response when it is
+     * complete however before then it can return search entry, search
+     * reference, and extended responses to the client.
+     * 
+     * @see getResponseTypes()
+     */
+    MessageTypeEnum[] RESPONSE_TYPES =
+        { SearchResponseDone.TYPE, SearchResponseEntry.TYPE, SearchResponseReference.TYPE, ExtendedResponse.TYPE };
+
+
+    /**
+     * Gets the different response types generated by a search request.
+     * 
+     * @return the RESPONSE_TYPES array
+     * @see RESPONSE_TYPES
+     */
+    MessageTypeEnum[] getResponseTypes();
+
+
+    /**
+     * Gets the search base as a distinguished name.
+     * 
+     * @return the search base
+     */
+    String getBase();
+
+
+    /**
+     * Sets the search base as a distinguished name.
+     * 
+     * @param a_baseDn
+     *            the search base
+     */
+    void setBase( String a_baseDn );
+
+
+    /**
+     * Gets the search scope parameter enumeration.
+     * 
+     * @return the scope enumeration parameter.
+     */
+    ScopeEnum getScope();
+
+
+    /**
+     * Sets the search scope parameter enumeration.
+     * 
+     * @param a_scope
+     *            the scope enumeration parameter.
+     */
+    void setScope( ScopeEnum a_scope );
+
+
+    /**
+     * Gets the alias handling parameter.
+     * 
+     * @return the alias handling parameter enumeration.
+     */
+    DerefAliasesEnum getDerefAliases();
+
+
+    /**
+     * Sets the alias handling parameter.
+     * 
+     * @param a_derefAliases
+     *            the alias handling parameter enumeration.
+     */
+    void setDerefAliases( DerefAliasesEnum a_derefAliases );
+
+
+    /**
+     * A sizelimit that restricts the maximum number of entries to be returned
+     * as a result of the search. A value of 0 in this field indicates that no
+     * client-requested sizelimit restrictions are in effect for the search.
+     * Servers may enforce a maximum number of entries to return.
+     * 
+     * @return search size limit.
+     */
+    int getSizeLimit();
+
+
+    /**
+     * Sets sizelimit that restricts the maximum number of entries to be
+     * returned as a result of the search. A value of 0 in this field indicates
+     * that no client-requested sizelimit restrictions are in effect for the
+     * search. Servers may enforce a maximum number of entries to return.
+     * 
+     * @param a_entriesMax
+     *            maximum search result entries to return.
+     */
+    void setSizeLimit( int a_entriesMax );
+
+
+    /**
+     * Gets the timelimit that restricts the maximum time (in seconds) allowed
+     * for a search. A value of 0 in this field indicates that no client-
+     * requested timelimit restrictions are in effect for the search.
+     * 
+     * @return the search time limit in seconds.
+     */
+    int getTimeLimit();
+
+
+    /**
+     * Sets the timelimit that restricts the maximum time (in seconds) allowed
+     * for a search. A value of 0 in this field indicates that no client-
+     * requested timelimit restrictions are in effect for the search.
+     * 
+     * @param a_secondsMax
+     *            the search time limit in seconds.
+     */
+    void setTimeLimit( int a_secondsMax );
+
+
+    /**
+     * An indicator as to whether search results will contain both attribute
+     * types and values, or just attribute types. Setting this field to TRUE
+     * causes only attribute types (no values) to be returned. Setting this
+     * field to FALSE causes both attribute types and values to be returned.
+     * 
+     * @return true for only types, false for types and values.
+     */
+    boolean getTypesOnly();
+
+
+    /**
+     * An indicator as to whether search results will contain both attribute
+     * types and values, or just attribute types. Setting this field to TRUE
+     * causes only attribute types (no values) to be returned. Setting this
+     * field to FALSE causes both attribute types and values to be returned.
+     * 
+     * @param a_typesOnly
+     *            true for only types, false for types and values.
+     */
+    void setTypesOnly( boolean a_typesOnly );
+
+
+    /**
+     * Gets the search filter associated with this search request.
+     * 
+     * @return the expression node for the root of the filter expression tree.
+     */
+    ExprNode getFilter();
+
+
+    /**
+     * Sets the search filter associated with this search request.
+     * 
+     * @param a_filter
+     *            the expression node for the root of the filter expression
+     *            tree.
+     */
+    void setFilter( ExprNode a_filter );
+
+
+    /**
+     * Gets a list of the attributes to be returned from each entry which
+     * matches the search filter. There are two special values which may be
+     * used: an empty list with no attributes, and the attribute description
+     * string "*". Both of these signify that all user attributes are to be
+     * returned. (The "*" allows the client to request all user attributes in
+     * addition to specific operational attributes). Attributes MUST be named at
+     * most once in the list, and are returned at most once in an entry. If
+     * there are attribute descriptions in the list which are not recognized,
+     * they are ignored by the server. If the client does not want any
+     * attributes returned, it can specify a list containing only the attribute
+     * with OID "1.1". This OID was chosen arbitrarily and does not correspond
+     * to any attribute in use. Client implementors should note that even if all
+     * user attributes are requested, some attributes of the entry may not be
+     * included in search results due to access control or other restrictions.
+     * Furthermore, servers will not return operational attributes, such as
+     * objectClasses or attributeTypes, unless they are listed by name, since
+     * there may be extremely large number of values for certain operational
+     * attributes.
+     * 
+     * @return the attributes to return for this request
+     */
+    Collection getAttributes();
+
+
+    /**
+     * Adds an attribute to the set of entry attributes to return.
+     * 
+     * @param a_attribute
+     *            the attribute description or identifier.
+     */
+    void addAttribute( String a_attribute );
+
+
+    /**
+     * Removes an attribute to the set of entry attributes to return.
+     * 
+     * @param a_attribute
+     *            the attribute description or identifier.
+     */
+    void removeAttribute( String a_attribute );
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequestImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequestImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java Sat Feb 11 21:50:03 2006
@@ -1,31 +1,31 @@
-/*
- *   Copyright 2004 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.directory.shared.ldap.message;
-
-
-/**
- * Search done protocol response message used to indicate the completion of a
- * search request message.
- * 
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- *         $Rev$
- */
-public interface SearchResponseDone extends ResultResponse
-{
-    /** Search done response message type enumeration value */
-    MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESDONE;
-}
+/*
+ *   Copyright 2004 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.directory.shared.ldap.message;
+
+
+/**
+ * Search done protocol response message used to indicate the completion of a
+ * search request message.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ *         $Rev$
+ */
+public interface SearchResponseDone extends ResultResponse
+{
+    /** Search done response message type enumeration value */
+    MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESDONE;
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDoneImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDoneImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java Sat Feb 11 21:50:03 2006
@@ -1,79 +1,79 @@
-/*
- *   Copyright 2004 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.
- *
- */
-
-/*
- * $Id: SearchResponseEntry.java,v 1.5 2003/08/21 20:44:32 jmachols Exp $
- *
- * -- (c) LDAPd Group                                                    --
- * -- Please refer to the LICENSE.txt file in the root directory of      --
- * -- any LDAPd project for copyright and distribution information.      --
- *
- */
-
-package org.apache.directory.shared.ldap.message;
-
-
-import javax.naming.directory.Attributes;
-
-
-/**
- * Search entry protocol response message used to return non referral entries to
- * the client in response to a search request message.
- * 
- * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
- * @author $Author: jmachols $
- * @version $Revision$
- */
-public interface SearchResponseEntry extends Response
-{
-    /** Search entry response message type enumeration value */
-    MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESENTRY;
-
-
-    /**
-     * Gets the distinguished name of the entry object returned.
-     * 
-     * @return the Dn of the entry returned.
-     */
-    String getObjectName();
-
-
-    /**
-     * Sets the distinguished name of the entry object returned.
-     * 
-     * @param a_dn
-     *            the Dn of the entry returned.
-     */
-    void setObjectName( String a_dn );
-
-
-    /**
-     * Gets the set of attributes and all their values in a MultiMap.
-     * 
-     * @return the set of attributes and all their values
-     */
-    Attributes getAttributes();
-
-
-    /**
-     * Sets the set of attributes and all their values in a MultiMap.
-     * 
-     * @param a_attributes
-     *            the set of attributes and all their values
-     */
-    void setAttributes( Attributes a_attributes );
-}
+/*
+ *   Copyright 2004 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.
+ *
+ */
+
+/*
+ * $Id$
+ *
+ * -- (c) LDAPd Group                                                    --
+ * -- Please refer to the LICENSE.txt file in the root directory of      --
+ * -- any LDAPd project for copyright and distribution information.      --
+ *
+ */
+
+package org.apache.directory.shared.ldap.message;
+
+
+import javax.naming.directory.Attributes;
+
+
+/**
+ * Search entry protocol response message used to return non referral entries to
+ * the client in response to a search request message.
+ * 
+ * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
+ * @author $Author: jmachols $
+ * @version $Revision$
+ */
+public interface SearchResponseEntry extends Response
+{
+    /** Search entry response message type enumeration value */
+    MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESENTRY;
+
+
+    /**
+     * Gets the distinguished name of the entry object returned.
+     * 
+     * @return the Dn of the entry returned.
+     */
+    String getObjectName();
+
+
+    /**
+     * Sets the distinguished name of the entry object returned.
+     * 
+     * @param a_dn
+     *            the Dn of the entry returned.
+     */
+    void setObjectName( String a_dn );
+
+
+    /**
+     * Gets the set of attributes and all their values in a MultiMap.
+     * 
+     * @return the set of attributes and all their values
+     */
+    Attributes getAttributes();
+
+
+    /**
+     * Sets the set of attributes and all their values in a MultiMap.
+     * 
+     * @param a_attributes
+     *            the set of attributes and all their values
+     */
+    void setAttributes( Attributes a_attributes );
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntryImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntryImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java Sat Feb 11 21:50:03 2006
@@ -1,58 +1,58 @@
-/*
- *   Copyright 2004 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.
- *
- */
-
-/*
- * $Id: SearchResponseReference.java,v 1.3 2003/07/31 21:44:49 akarasulu Exp $
- *
- * -- (c) LDAPd Group                                                    --
- * -- Please refer to the LICENSE.txt file in the root directory of      --
- * -- any LDAPd project for copyright and distribution information.      --
- *
- */
-
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Search reference protocol response message used to return referrals to the
- * client in response to a search request message.
- * 
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Revision$
- */
-public interface SearchResponseReference extends Response
-{
-    /** Search reference response message type enumeration value */
-    MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESREF;
-
-
-    /**
-     * Gets the sequence of LdapUrls as a Referral instance.
-     * 
-     * @return the sequence of LdapUrls
-     */
-    Referral getReferral();
-
-
-    /**
-     * Sets the sequence of LdapUrls as a Referral instance.
-     * 
-     * @param a_referral
-     *            the sequence of LdapUrls
-     */
-    void setReferral( Referral a_referral );
-}
+/*
+ *   Copyright 2004 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.
+ *
+ */
+
+/*
+ * $Id$
+ *
+ * -- (c) LDAPd Group                                                    --
+ * -- Please refer to the LICENSE.txt file in the root directory of      --
+ * -- any LDAPd project for copyright and distribution information.      --
+ *
+ */
+
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Search reference protocol response message used to return referrals to the
+ * client in response to a search request message.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Revision$
+ */
+public interface SearchResponseReference extends Response
+{
+    /** Search reference response message type enumeration value */
+    MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESREF;
+
+
+    /**
+     * Gets the sequence of LdapUrls as a Referral instance.
+     * 
+     * @return the sequence of LdapUrls
+     */
+    Referral getReferral();
+
+
+    /**
+     * Sets the sequence of LdapUrls as a Referral instance.
+     * 
+     * @param a_referral
+     *            the sequence of LdapUrls
+     */
+    void setReferral( Referral a_referral );
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReferenceImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReferenceImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java Sat Feb 11 21:50:03 2006
@@ -1,35 +1,35 @@
-/*
- *   Copyright 2004 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.directory.shared.ldap.message;
-
-
-/**
- * Super interface for all request messages returning only one type of response.
- * 
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public interface SingleReplyRequest extends ResultResponseRequest
-{
-    /**
-     * Gets the protocol response message type for this request which produces
-     * at least one response.
-     * 
-     * @return the message type of the response.
-     */
-    MessageTypeEnum getResponseType();
-}
+/*
+ *   Copyright 2004 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.directory.shared.ldap.message;
+
+
+/**
+ * Super interface for all request messages returning only one type of response.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface SingleReplyRequest extends ResultResponseRequest
+{
+    /**
+     * Gets the protocol response message type for this request which produces
+     * at least one response.
+     * 
+     * @return the message type of the response.
+     */
+    MessageTypeEnum getResponseType();
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SubentriesControl.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java Sat Feb 11 21:50:03 2006
@@ -1,30 +1,30 @@
-/*
- *   Copyright 2004 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.directory.shared.ldap.message;
-
-
-/**
- * Unbind protocol request message used to end a client session.
- * 
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * @version $Rev$
- */
-public interface UnbindRequest extends Request
-{
-    /** Unbind request protocol message type */
-    MessageTypeEnum TYPE = MessageTypeEnum.UNBINDREQUEST;
-}
+/*
+ *   Copyright 2004 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.directory.shared.ldap.message;
+
+
+/**
+ * Unbind protocol request message used to end a client session.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface UnbindRequest extends Request
+{
+    /** Unbind request protocol message type */
+    MessageTypeEnum TYPE = MessageTypeEnum.UNBINDREQUEST;
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java?rev=377135&r1=377134&r2=377135&view=diff
==============================================================================
--- directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java (original)
+++ directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java Sat Feb 11 21:50:03 2006
@@ -1,53 +1,53 @@
-/*
- *   Copyright 2004 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.directory.shared.ldap.message;
-
-
-/**
- * Lockable UnbindRequest implementation.
- * 
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- */
-public class UnbindRequestImpl extends AbstractRequest implements UnbindRequest
-{
-    static final long serialVersionUID = -6217184085100410116L;
-
-
-    /**
-     * Creates an UnbindRequest which takes no parameter other than those in the
-     * outer envelope to disconnect and end a client session on the server
-     * without producing any response.
-     * 
-     * @param id
-     *            the sequential message identifier.
-     */
-    public UnbindRequestImpl(final int id)
-    {
-        super( id, TYPE, false );
-    }
-
-
-    /**
-     * RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations
-     * cannot be abandoned.
-     */
-    public void abandon()
-    {
-        throw new UnsupportedOperationException(
-            "RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations cannot be abandoned. " );
-    }
-}
+/*
+ *   Copyright 2004 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.directory.shared.ldap.message;
+
+
+/**
+ * Lockable UnbindRequest implementation.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ */
+public class UnbindRequestImpl extends AbstractRequest implements UnbindRequest
+{
+    static final long serialVersionUID = -6217184085100410116L;
+
+
+    /**
+     * Creates an UnbindRequest which takes no parameter other than those in the
+     * outer envelope to disconnect and end a client session on the server
+     * without producing any response.
+     * 
+     * @param id
+     *            the sequential message identifier.
+     */
+    public UnbindRequestImpl(final int id)
+    {
+        super( id, TYPE, false );
+    }
+
+
+    /**
+     * RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations
+     * cannot be abandoned.
+     */
+    public void abandon()
+    {
+        throw new UnsupportedOperationException(
+            "RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations cannot be abandoned. " );
+    }
+}

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/GracefulDisconnect.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/GracefulDisconnect.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/GracefulShutdownRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/akarasulu/rc1/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/GracefulShutdownRequest.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sat Feb 11 21:50:03 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id



Mime
View raw message