mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

coulbeck
21.08.2006 7d1b6429fc23f8d41e46ac752f242de5f4966a69
Remove remaining unused/NYI messageToXXXOperation methods.
3 files modified
116 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/ExtendedRequestProtocolOp.java 32 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/ModifyDNRequestProtocolOp.java 32 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/SearchRequestProtocolOp.java 52 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/ExtendedRequestProtocolOp.java
@@ -30,8 +30,6 @@
import java.util.ArrayList;
import org.opends.server.core.DirectoryException;
import org.opends.server.core.ExtendedOperation;
import org.opends.server.protocols.asn1.ASN1Element;
import org.opends.server.protocols.asn1.ASN1OctetString;
import org.opends.server.protocols.asn1.ASN1Sequence;
@@ -297,36 +295,6 @@
  /**
   * Converts the provided LDAP message containing an extended request protocol
   * op to a <CODE>ExtendedOperation</CODE> object that may be processed by the
   * core server.
   *
   * @param  requestMessage    The LDAP message containing the extended request
   *                           protocol op.
   * @param  clientConnection  The client connection from which the request was
   *                           read.
   *
   * @return  The extended operation created from the provided request message.
   *
   * @throws  DirectoryException  If the provided LDAP message cannot be decoded
   *                              as an extended operation.
   */
  public static ExtendedOperation messageToExtendedOperation(
                                       LDAPMessage requestMessage,
                                       LDAPClientConnection clientConnection)
         throws DirectoryException
  {
    assert debugEnter(CLASS_NAME, "messageToExtendedOperation",
                      String.valueOf(requestMessage),
                      String.valueOf(clientConnection));
    // NYI
    return null;
  }
  /**
   * Appends a string representation of this LDAP protocol op to the provided
   * buffer.
   *
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/ModifyDNRequestProtocolOp.java
@@ -30,8 +30,6 @@
import java.util.ArrayList;
import org.opends.server.core.DirectoryException;
import org.opends.server.core.ModifyDNOperation;
import org.opends.server.protocols.asn1.ASN1Boolean;
import org.opends.server.protocols.asn1.ASN1Element;
import org.opends.server.protocols.asn1.ASN1OctetString;
@@ -408,36 +406,6 @@
  /**
   * Converts the provided LDAP message containing a modify DN request protocol
   * op to a <CODE>ModifyDNOperation</CODE> object that may be processed by the
   * core server.
   *
   * @param  requestMessage    The LDAP message containing the modify DN request
   *                           protocol op.
   * @param  clientConnection  The client connection from which the request was
   *                           read.
   *
   * @return  The modify DN operation created from the provided request message.
   *
   * @throws  DirectoryException  If the provided LDAP message cannot be decoded
   *                              as a modify DN operation.
   */
  public static ModifyDNOperation messageToModifyDNOperation(
                                       LDAPMessage requestMessage,
                                       LDAPClientConnection clientConnection)
         throws DirectoryException
  {
    assert debugEnter(CLASS_NAME, "messageToModifyDNOperation",
                      String.valueOf(requestMessage),
                      String.valueOf(clientConnection));
    // NYI
    return null;
  }
  /**
   * Appends a string representation of this LDAP protocol op to the provided
   * buffer.
   *
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/SearchRequestProtocolOp.java
@@ -32,8 +32,6 @@
import java.util.Iterator;
import java.util.LinkedHashSet;
import org.opends.server.core.DirectoryException;
import org.opends.server.core.SearchOperation;
import org.opends.server.protocols.asn1.ASN1Boolean;
import org.opends.server.protocols.asn1.ASN1Element;
import org.opends.server.protocols.asn1.ASN1Enumerated;
@@ -114,17 +112,15 @@
                                 LinkedHashSet<String> attributes)
  {
    assert debugConstructor(CLASS_NAME,
                            new String[]
                            {
                              String.valueOf(baseDN),
                              String.valueOf(scope),
                              String.valueOf(dereferencePolicy),
                              String.valueOf(sizeLimit),
                              String.valueOf(timeLimit),
                              String.valueOf(typesOnly),
                              String.valueOf(filter),
                              String.valueOf(attributes)
                            });
                            String.valueOf(baseDN),
                            String.valueOf(scope),
                            String.valueOf(dereferencePolicy),
                            String.valueOf(sizeLimit),
                            String.valueOf(timeLimit),
                            String.valueOf(typesOnly),
                            String.valueOf(filter),
                            String.valueOf(attributes)
    );
    this.baseDN            = baseDN;
@@ -663,36 +659,6 @@
  /**
   * Converts the provided LDAP message containing a search request protocol op
   * to a <CODE>SearchOperation</CODE> object that may be processed by the core
   * server.
   *
   * @param  requestMessage    The LDAP message containing the search request
   *                           protocol op.
   * @param  clientConnection  The client connection from which the request was
   *                           read.
   *
   * @return  The search operation created from the provided request message.
   *
   * @throws  DirectoryException  If the provided LDAP message cannot be decoded
   *                              as a search operation.
   */
  public static SearchOperation messageToSearchOperation(
                                     LDAPMessage requestMessage,
                                     LDAPClientConnection clientConnection)
         throws DirectoryException
  {
    assert debugEnter(CLASS_NAME, "messageToSearchOperation",
                      String.valueOf(requestMessage),
                      String.valueOf(clientConnection));
    // NYI
    return null;
  }
  /**
   * Appends a string representation of this LDAP protocol op to the provided
   * buffer.
   *