|
Oracle® Mail Java API Reference 10g Release 1 (10.1.1) B14492-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.mail.ldap.ESDSAddData
This class helps the caller set the attribute names and values for the entry to be added to the directory. To avoid Classcastexception, binary data is stored in a diff hash.
Constructor Summary | |
ESDSAddData() Constructor default |
|
ESDSAddData(java.lang.String DN) Constructor, sets the DN for the new entry |
Method Summary | |
void |
addAttribute(java.lang.String attributeName, java.lang.String attributeValue) This method will add an attribute and it's value for the new entry. |
void |
addAttribute(java.lang.String attributeName, java.util.Vector values) This method will add an attribute and it's values for the new entry. |
void |
addBinaryAttribute(java.lang.String attributeName, byte[] value) This method will add a binary value for an attribute. |
void |
changeAttributeValue(java.lang.String attributeName, java.util.Vector values) |
java.util.Vector |
getAttribute(java.lang.String attribName) This method returns the value of an attribute that has been set. |
byte[] |
getBinaryAttribute(java.lang.String attribName) This method returns the value of a binary attribute that has been set. |
java.lang.String |
getDN() This method will get the value of the DN. |
java.util.Hashtable |
getESDSAddEntryData() This method returns the hashtable of attribute name and values, used internally |
void |
setDN(java.lang.String DN) This method will set the value of the DN. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ESDSAddData(java.lang.String DN)
public ESDSAddData()
Method Detail |
public void setDN(java.lang.String DN)
DN
- The DN of the new entrypublic java.lang.String getDN()
public void addAttribute(java.lang.String attributeName, java.lang.String attributeValue)
attributeName
- The name of the attributeattributeValue
- Value of the attributepublic void addAttribute(java.lang.String attributeName, java.util.Vector values)
attributeName
- The name of the attributevalues
- Values of the attributepublic void addBinaryAttribute(java.lang.String attributeName, byte[] value)
attributeName
- The name of the attributeattributeValue
- Value of the attribute byte[]public java.util.Hashtable getESDSAddEntryData()
public java.util.Vector getAttribute(java.lang.String attribName)
attribName
- name of attributepublic void changeAttributeValue(java.lang.String attributeName, java.util.Vector values)
public byte[] getBinaryAttribute(java.lang.String attribName)
attribName
- name of attribute
|
Oracle® Mail Java API Reference 10g Release 1 (10.1.1) B14492-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |