Method Summary |
|
public void | addContact(JwmaContactImpl contact) Adds a JwmaContactImpl instance to this
contact database. |
public void | addContactCategory(String category) Adds a contact category to the cached list of
categories. |
public void | addContactGroup(JwmaContactGroupImpl group) Adds a JwmaContactGroupImpl instance to this
contact database. |
public void | addFrequentRecipient(JwmaContactImpl contact) Adds a frequent recipient JwmaContactImpl
instance to this contact database. |
public boolean | containsContact(String uid) Tests if this JwmaContactsImpl contains a
contact with the given unique identifier.
Parameters: uid - a unique identifier of a contact. |
public boolean | containsContactGroup(String uid) Tests if this JwmaContactsImpl contains a
contact group with the given unique identifier.
Parameters: uid - a unique identifier of a contact group. |
public boolean | containsContactGroupName(String name) Tests if this JwmaContactsImpl contains a
contact group with the given name.
Parameters: name - the name for a contact group. |
public boolean | containsContactWithNickname(String nick) Tests if the contact database contains a
contact with the given nickname.
Parameters: nick - the nickname as String. |
public JwmaContactImpl | createContact() Creates and returns a new JwmaContactImpl. |
public JwmaContactGroupImpl | createContactGroup(String name) Creates a new JwmaContactGroupImpl with the given
name.
Parameters: name - the name of the new group as String. |
public boolean | existsContactCategory(String category) Tests if a given category exists in this JwmaContactsImpl.
Parameters: category - a category to be looked up. |
public String | getCategoryFilter() Returns the name of the category which is not
filtered at the moment. |
public JwmaContact | getContactByNickname(String nick) Returns contact with given nickname.
Parameters: nick - the nickname as String. |
public ContactFilter | getContactFilter() Returns the arbitrary contact filter, which is
set for filtering contacts on listing. |
public JwmaContactGroup | getContactGroupByName(String name) Returns an JwmaContactGroupByName representing the
contact group with the given name.
If the contact database does not contain any contact group with
the given name, it returns null. |
public Iterator | getLastnameStarts() Returns an iterator of non-duplicate strings
with the first characters of the lastnames of
all contacts in this contact database. |
public void | removeContact(JwmaContactImpl contact) Removes a JwmaContactImpl instance from this
contact database. |
public void | removeContactGroup(JwmaContactGroupImpl group) Removes a JwmaContactGroupImpl instance from this
contact database. |
public void | removeFrequentRecipient(JwmaContactImpl contact) Removes a frequent recipient JwmaContactImpl
instance from this contact database. |
public void | setCategoryFilter(String category) Sets a category based contact filter, which
will be filtering contacts which are not
of the given category on listing.
Note that this filter is independent from the
arbitrary set filter, filtering proceeds
additive (i.e. |
public void | setContactFilter(ContactFilter filter) Sets an arbitrary contact filter, which will be
filtering contacts on listing.
Note that this filter is independent from the
category filter, filtering proceeds additive
(i.e. |