|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
JwmaContact |
getContact(java.lang.String uid)
Returns an JwmaContact representing the contact with the given unique identifier. |
JwmaContactGroup |
getContactGroup(java.lang.String uid)
Returns an JwmaContactGroup representing the contact group with the given unique identifier. |
java.lang.String |
getUID()
Returns the unique identifier of this JwmaContacts. |
java.lang.String[] |
listContactCategories()
Returns an array of available contact categories. |
JwmaContactGroup[] |
listContactGroups()
Returns an array of contact groups containing all groups of this contact database. |
JwmaContact[] |
listContacts()
Returns an array of contacts containing all contacts in this contact database. |
JwmaContact[] |
listFrequentRecipients()
Returns an array of contacts containing all frequent recipient contacts. |
Method Detail |
public java.lang.String getUID()
public java.lang.String[] listContactCategories()
public JwmaContact[] listContacts()
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.
public JwmaContact[] listFrequentRecipients()
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.
public JwmaContactGroup[] listContactGroups()
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.
public JwmaContact getContact(java.lang.String uid)
If the contact database does not contain any contact with the given identifier, it returns null. Otherwise it returns the associated contact.
public JwmaContactGroup getContactGroup(java.lang.String uid)
If the contact database does not contain any contact group with the given identifier, it returns null. Otherwise it returns the associated contact group.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |