|
Oracle® Collaboration Suite Contacts Java API Reference 10g Release 1 (10.1.1) B16235-01 |
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.collabsuite.addressbook.AddressBookObject | +--oracle.collabsuite.addressbook.AddressBookContact
This class represents a contact in user address book. Using methods in this class, various attributes of a contact can be retrived or modified.
Method Summary | |
void |
delete() Deletes this contact from the user's addressbook. |
java.lang.String[] |
getAttributeNames() Returns an array of String containing the name of all the attribute names currently cached in this object |
AddressBookAttribute[] |
getAttributes(java.lang.String[] attributeNames) Returns the attribute values for the list of contact attributes. |
java.lang.String |
getDN() Returns the DN of the contact. |
java.lang.String |
getGUID() Returns the GUID of the contact. |
java.lang.String |
getOwnerDN() Returns the DN of the contact owner. |
java.lang.String |
getOwnerGUID() Returns the GUID of the contact owner. |
boolean |
ifWritable() This API lets the caller know if this contact is writable or not. |
void |
refresh(java.lang.String[] attributeNames) Refreshes this contact entry |
void |
setAttributes(AddressBookAttribute[] mods) Sets the value of the given contact attributes |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getDN()
void
-public java.lang.String getGUID()
void
-public java.lang.String getOwnerDN()
void
-public java.lang.String getOwnerGUID()
void
-public boolean ifWritable()
void
-public AddressBookAttribute[] getAttributes(java.lang.String[] attributeNames) throws AddressBookException
attributeNames
- Names of the attribute whose values are to be fetchedpublic void refresh(java.lang.String[] attributeNames) throws AddressBookException
attributeNames
- Names of the attribute whose values are to be fetched. null means fetch all attributespublic java.lang.String[] getAttributeNames()
public void setAttributes(AddressBookAttribute[] mods) throws AddressBookException
mods
- An array of AddressBookAttribute for each attribute to be modified. The following example shows how to delete the mail id of the contact ...mailAttr = new AddressBookAttribute(AddressBookListConstants.MAILADRESSES); mailAttr.setValue(AddressBookListConstants.DELETE_ATTRIBUTE, "tuser1@oracle.com");public void delete() throws AddressBookException
void
-
|
Oracle® Collaboration Suite Contacts Java API Reference 10g Release 1 (10.1.1) B16235-01 |
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |