| dtw.webmail.model.JwmaContacts
JwmaContacts | public interface JwmaContacts (Code) | | An interface defining the contract for interaction with
the JwmaContacts model.
The JwmaContacts allows a view programmer to obtain
information about the contact database to display
items for reading or editing.
author: Dieter Wimberger version: 0.9.7 07/02/2003 |
Method Summary | |
public JwmaContact | getContact(String uid) Returns an JwmaContact representing the
contact with the given unique identifier.
If the contact database does not contain any contact with
the given identifier, it returns null. | public JwmaContactGroup | getContactGroup(String uid) Returns an JwmaContactGroup representing the
contact group with the given unique identifier.
If the contact database does not contain any contact group with
the given identifier, it returns null. | public String | getUID() Returns the unique identifier of this JwmaContacts. | public String[] | listContactCategories() Returns an array of available contact categories. | public JwmaContactGroup[] | listContactGroups() Returns an array of contact groups containing all
groups of this contact database. | public JwmaContact[] | listContacts() Returns an array of contacts containing all contacts
in this contact database. | public JwmaContact[] | listFrequentRecipients() Returns an array of contacts containing all frequent recipient
contacts. |
getContact | public JwmaContact getContact(String uid)(Code) | | Returns an JwmaContact representing the
contact with the given unique identifier.
If the contact database does not contain any contact with
the given identifier, it returns null. Otherwise it returns
the associated contact.
the contact associated with the given identifier,or null. |
getContactGroup | public JwmaContactGroup getContactGroup(String uid)(Code) | | Returns an JwmaContactGroup representing the
contact group with the given unique identifier.
If the contact database does not contain any contact group with
the given identifier, it returns null. Otherwise it returns
the associated contact group.
the contact group associated with the given identifier,or null. |
getUID | public String getUID()(Code) | | Returns the unique identifier of this JwmaContacts.
the unique identifier as String. |
listContactCategories | public String[] listContactCategories()(Code) | | Returns an array of available contact categories.
an array of String's. |
listContactGroups | public JwmaContactGroup[] listContactGroups()(Code) | | Returns an array of contact groups containing all
groups of this contact database.
If this contact database does not contain any groups,
then this method returns an empty array.
Otherwise it contains one JwmaContactGroup for
each group entry in this contact database.
an array of JwmaContactGroup's. |
listContacts | public JwmaContact[] listContacts()(Code) | | Returns an array of contacts containing all contacts
in this contact database.
If this contact database does not contain any contacts,
then this method returns an empty array.
Otherwise it contains one JwmaContact for
each entry in this contact database.
an array of JwmaContact's. |
listFrequentRecipients | public JwmaContact[] listFrequentRecipients()(Code) | | Returns an array of contacts containing all frequent recipient
contacts.
If the contact database does not contain any frequent recipient
contacts, then this method returns an empty array.
Otherwise it contains one JwmaContact for
each entry in this contact database.
an array of JwmaContact's. |
|
|