Class JDAPDeleteRequest

java.lang.Object
netscape.ldap.client.opers.JDAPBaseDNRequest
netscape.ldap.client.opers.JDAPDeleteRequest
All Implemented Interfaces:
JDAPProtocolOp

public class JDAPDeleteRequest extends JDAPBaseDNRequest implements JDAPProtocolOp
This class implements the delete request. This object is sent to the ldap server.
 DelRequest ::= [APPLICATION 10] LDAPDN
 
Version:
1.0
  • Field Details

    • m_dn

      protected String m_dn
      Internal variables
  • Constructor Details

    • JDAPDeleteRequest

      public JDAPDeleteRequest(String dn)
      Constructs the delete request.
      Parameters:
      dn - Distinguished name to delete
  • Method Details

    • getType

      public int getType()
      Retrieves the protocol operation type.
      Specified by:
      getType in interface JDAPProtocolOp
      Returns:
      operation type
    • setBaseDN

      public void setBaseDN(String basedn)
      Sets the base dn.
      Specified by:
      setBaseDN in class JDAPBaseDNRequest
      Parameters:
      basedn - base dn
    • getBaseDN

      public String getBaseDN()
      Gets the base dn.
      Specified by:
      getBaseDN in class JDAPBaseDNRequest
      Returns:
      base dn
    • getBERElement

      public BERElement getBERElement()
      Gets the ber representation of the delete request.
      Specified by:
      getBERElement in interface JDAPProtocolOp
      Returns:
      ber representation
    • toString

      public String toString()
      Retrieves the string representation of the delete request.
      Specified by:
      toString in interface JDAPProtocolOp
      Overrides:
      toString in class Object
      Returns:
      string representation