All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcModifyRequest

java.lang.Object
  extended by com.novell.ldap.asn1.ASN1Object
      extended by com.novell.ldap.asn1.ASN1Structured
          extended by com.novell.ldap.asn1.ASN1Sequence
              extended by com.novell.ldap.rfc2251.RfcModifyRequest
All Implemented Interfaces:
RfcRequest, java.io.Serializable

public class RfcModifyRequest
extends ASN1Sequence
implements RfcRequest

Represents an LDAP Modify Request.

       ModifyRequest ::= [APPLICATION 6] SEQUENCE {
               object          LDAPDN,
               modification    SEQUENCE OF SEQUENCE {
                       operation       ENUMERATED {
                                               add     (0),
                                               delete  (1),
                                               replace (2) },
                       modification    AttributeTypeAndValues } }

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.novell.ldap.asn1.ASN1Sequence
TAG
 
Constructor Summary
RfcModifyRequest(ASN1Object[] origRequest, java.lang.String base)
          Constructs a new Modify Request copying from the ArrayList of an existing request.
RfcModifyRequest(RfcLDAPDN object, ASN1SequenceOf modification)
           
 
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 an application-wide id.
 ASN1SequenceOf getModifications()
          Return the Modifications for this request
 java.lang.String getRequestDN()
          Return the String value of the DN associated with this request
 
Methods inherited from class com.novell.ldap.asn1.ASN1Sequence
toString
 
Methods inherited from class com.novell.ldap.asn1.ASN1Structured
add, decodeStructured, encode, get, set, size, toArray, 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

RfcModifyRequest

public RfcModifyRequest(RfcLDAPDN object,
                        ASN1SequenceOf modification)

RfcModifyRequest

RfcModifyRequest(ASN1Object[] origRequest,
                 java.lang.String base)
           throws LDAPException
Constructs a new Modify Request copying from the ArrayList of an existing request.

Throws:
LDAPException
Method Detail

getIdentifier

public final ASN1Identifier getIdentifier()
Override getIdentifier to return an application-wide id.

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()
Return the String value of the DN associated with this request

Specified by:
getRequestDN in interface RfcRequest
Returns:
the DN for this request.

getModifications

public final ASN1SequenceOf getModifications()
Return the Modifications for this request

Returns:
the modifications for this request.

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