All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcDelRequest

java.lang.Object
  extended by com.novell.ldap.asn1.ASN1Object
      extended by com.novell.ldap.asn1.ASN1OctetString
          extended by com.novell.ldap.rfc2251.RfcLDAPString
              extended by com.novell.ldap.rfc2251.RfcLDAPDN
                  extended by com.novell.ldap.rfc2251.RfcDelRequest
All Implemented Interfaces:
RfcRequest, java.io.Serializable

public class RfcDelRequest
extends RfcLDAPDN
implements RfcRequest

Represents an LDAP Delete Request.

       DelRequest ::= [APPLICATION 10] LDAPDN

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.novell.ldap.asn1.ASN1OctetString
ID, TAG
 
Constructor Summary
RfcDelRequest(byte[] dn)
          Constructs an LDAPv3 delete request protocol operation.
RfcDelRequest(java.lang.String dn)
          Constructs an LDAPv3 delete request protocol operation.
 
Method Summary
 RfcRequest dupRequest(java.lang.String base, java.lang.String filter, boolean request)
          Builds a new request using the data from the this object.
 ASN1Identifier getIdentifier()
          Override getIdentifier() to return the appropriate application-wide id representing this delete request.
 java.lang.String getRequestDN()
          Builds a new request using the data from the this object.
 
Methods inherited from class com.novell.ldap.asn1.ASN1OctetString
byteValue, encode, stringValue, toString
 
Methods inherited from class com.novell.ldap.asn1.ASN1Object
getEncoding, setIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RfcDelRequest

public RfcDelRequest(java.lang.String dn)
Constructs an LDAPv3 delete request protocol operation.

Parameters:
dn - The Distinguished Name of the entry to delete.

RfcDelRequest

public RfcDelRequest(byte[] dn)
Constructs an LDAPv3 delete request protocol operation.

Parameters:
dn - The Distinguished Name of the entry to delete.
Method Detail

getIdentifier

public final ASN1Identifier getIdentifier()
Override getIdentifier() to return the appropriate application-wide id representing this delete request. The getIdentifier() method is called when this object is encoded. Identifier = CLASS: APPLICATION, FORM: CONSTRUCTED, TAG: 10

Overrides:
getIdentifier in class ASN1Object

dupRequest

public final RfcRequest dupRequest(java.lang.String base,
                                   java.lang.String filter,
                                   boolean request)
                            throws LDAPException
Description copied from interface: RfcRequest
Builds a new request using the data from the this object.

Specified by:
dupRequest in interface RfcRequest
Throws:
LDAPException

getRequestDN

public final java.lang.String getRequestDN()
Description copied from interface: RfcRequest
Builds a new request using the data from the this object.

Specified by:
getRequestDN in interface RfcRequest

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000