|
Oracle Email Java API Reference Release 2(9.0.4) B10724-01 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.mail.sdk.ldap.DirectoryObject
This class represents a email server ldap object (eg., mailuser, list etc). It contains the of the list of mandatory and optional attributes such an email server ldap object can have. From this object, the metadata for the attributes can be retrieved. This class also contains methods for setting the values of attributes for add and modify operations for that particular type of ldap object.
Method Summary | |
java.util.Vector |
getAttributeValue(java.lang.String attribName) This method returns the value of an attribute for an add or lookup operation. |
java.util.Vector |
getMandatoryAttribs() This method returns the mandatory attributes for an email server ldap object, for example, mailuser, distribution list etc. |
DirectoryAttributeMetaData |
getMetaData(java.lang.String attribName) This method returns the meta data associated with an attribute. |
java.util.Vector |
getOptionalAttribs() This method returns the optional attributes for an email server ldap object, for example, mailuser, distribution list etc. |
void |
modifyAttributeValue(java.lang.String attribName, java.util.Vector attribValues, java.lang.String modType) This method is used to set the attribute values and the modification type (Add, Delete or Replace). |
void |
setAttributeValue(java.lang.String attribName, java.lang.String attribValue) This method is used to set the attribute values for an add operation. |
void |
setAttributeValue(java.lang.String attribName, java.util.Vector attribValues) This method is used to set the attribute values for an add operation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.util.Vector getMandatoryAttribs()
void
- public java.util.Vector getOptionalAttribs()
void
- public DirectoryAttributeMetaData getMetaData(java.lang.String attribName) throws DirectoryException
attribName
- The name of the attributepublic java.util.Vector getAttributeValue(java.lang.String attribName) throws DirectoryException
attribName
- The name of the attributepublic void setAttributeValue(java.lang.String attribName, java.util.Vector attribValues) throws DirectoryException
attribName
- The name of the attributeattribValues
- A Vector of Strings containing the values of the attributepublic void setAttributeValue(java.lang.String attribName, java.lang.String attribValue) throws DirectoryException
attribName
- The name of the attributeattribValue
- The value of the attributepublic void modifyAttributeValue(java.lang.String attribName, java.util.Vector attribValues, java.lang.String modType) throws DirectoryException
attribName
- The name of the attributeattribValues
- The values of the attributemodType
- The type of modification. Possible values for this are the following.
|
Oracle Email Java API Reference Release 2(9.0.4) B10724-01 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |