Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

oracle.mail.ldap
Class ESDSModifyData

java.lang.Object
  |
  +--oracle.mail.ldap.ESDSModifyData

public final class ESDSModifyData
extends java.lang.Object

This class helps the caller set the attribute names and values for the entry to be modified, also the type of modification.


Constructor Summary
ESDSModifyData()
Constructor

Method Summary
void addAttribute(java.lang.String modificationType, java.lang.String attributeName, java.lang.String attributeValue)
This method will add an attribute and it's new values and it's modification type for the modification operation.
void addAttribute(java.lang.String modificationType, java.lang.String attributeName, java.util.Vector attrValues)
This method will add an attribute and it's new values and it's modification type for the modification operation.
void addBinaryAttribute(java.lang.String modificationType, java.lang.String attributeName, byte[] attrValue)
This method will add a binary attribute and it's new values and it's modification type for the modification operation.
java.util.Vector getAttribute(java.lang.String attribName)
java.util.Vector getAttrNames()
java.util.Vector getBinaryAttribute(java.lang.String attribName)
java.util.Hashtable getESDSModifyEntryBinaryData()
java.util.Hashtable getESDSModifyEntryData()
int getNoOfAttributes()

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ESDSModifyData

public ESDSModifyData()
Constructor

Method Detail

addAttribute

public void addAttribute(java.lang.String modificationType,
                         java.lang.String attributeName,
                         java.lang.String attributeValue)
                  throws ESDSException
This method will add an attribute and it's new values and it's modification type for the modification operation. This method can be called multiple times to set multiple values for an attribute. If the user wants to add multiple values to the attribute in a single call, can use the overloaded method
Parameters:
modificationType - Type of modification on the attribute DS_MODIFY_ADD,DS_MODIFY_REPLACE, DS_MODIFY_DELETE
attributeName - Name of attribute to be modified
attributeValue - Value of attribute to be modified
Returns:
void

addAttribute

public void addAttribute(java.lang.String modificationType,
                         java.lang.String attributeName,
                         java.util.Vector attrValues)
                  throws ESDSException
This method will add an attribute and it's new values and it's modification type for the modification operation. When modType is DS_MODIFY_DELETE and value is null, this will remove all existing values of the given attr.
Parameters:
modificationType - Type of modification on the attribute DS_MODIFY_ADD,DS_MODIFY_REPLACE, DS_MODIFY_DELETE
attributeName - Name of attribute to be modified
attrValues - Values of attribute, Vector of Strings
Returns:
void

addBinaryAttribute

public void addBinaryAttribute(java.lang.String modificationType,
                               java.lang.String attributeName,
                               byte[] attrValue)
                        throws ESDSException
This method will add a binary attribute and it's new values and it's modification type for the modification operation.
Parameters:
modificationType - Type of modification on the attribute DS_MODIFY_ADD,DS_MODIFY_REPLACE, DS_MODIFY_DELETE
attributeName - Name of attribute to be modified
attrValue - Values of attribute, byte[]
Returns:
void

getAttribute

public java.util.Vector getAttribute(java.lang.String attribName)

getBinaryAttribute

public java.util.Vector getBinaryAttribute(java.lang.String attribName)

getESDSModifyEntryData

public java.util.Hashtable getESDSModifyEntryData()

getESDSModifyEntryBinaryData

public java.util.Hashtable getESDSModifyEntryBinaryData()

getNoOfAttributes

public int getNoOfAttributes()

getAttrNames

public java.util.Vector getAttrNames()

Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

Copyright © 1988, 2005, Oracle. All rights reserved.