|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetscape.ldap.client.opers.JDAPBaseDNRequest
netscape.ldap.client.opers.JDAPModifyRequest
public class JDAPModifyRequest
This class implements the modify request.
ModifyRequest ::= [APPLICATION 6] SEQUENCE { object LDAPDN, modification SEQUENCE OF SEQUENCE { operation ENUMERATED { add (0), delete (1), replace (2) }, modification SEQUENCE { type AttributeType, values SET OF AttributeValue } } }
Field Summary | |
---|---|
protected java.lang.String |
m_dn
Internal variables |
protected LDAPModification[] |
m_mod
|
Fields inherited from interface netscape.ldap.client.opers.JDAPProtocolOp |
---|
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST |
Constructor Summary | |
---|---|
JDAPModifyRequest(java.lang.String dn,
LDAPModification[] mod)
Constructs the modify request |
Method Summary | |
---|---|
java.lang.String |
getBaseDN()
Gets the base dn component. |
BERElement |
getBERElement()
Gets the ber representation of modify request. |
int |
getType()
Retrieves protocol operation type. |
void |
setBaseDN(java.lang.String basedn)
Sets the base dn component. |
java.lang.String |
toString()
Retrieves string representation of modify request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String m_dn
protected LDAPModification[] m_mod
Constructor Detail |
---|
public JDAPModifyRequest(java.lang.String dn, LDAPModification[] mod)
dn
- distinguished name of modifyingmod
- list of modificationsMethod Detail |
---|
public int getType()
getType
in interface JDAPProtocolOp
public void setBaseDN(java.lang.String basedn)
setBaseDN
in class JDAPBaseDNRequest
basedn
- base dnpublic java.lang.String getBaseDN()
getBaseDN
in class JDAPBaseDNRequest
public BERElement getBERElement()
getBERElement
in interface JDAPProtocolOp
public java.lang.String toString()
toString
in interface JDAPProtocolOp
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |