|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface modeling a ContactGroupCollection.
Method Summary | |
boolean |
add(ContactGroup group)
Adds a given contact group to this ContactGroupCollection. |
boolean |
contains(ContactGroup group)
Tests if this ContactGroupCollection contains a given contact group. |
boolean |
contains(java.lang.String UID)
Tests if this ContactGroupCollection contains a given contact group. |
boolean |
containsByName(java.lang.String name)
Tests if this ContactGroupCollection contains a contact group with the given name. |
ContactGroup |
get(java.lang.String UID)
Returns the ContactGroup instance for a given unique identifier. |
ContactGroup |
getByName(java.lang.String name)
Returns the ContactGroup instance with a given name. |
java.util.Iterator |
iterator()
Returns an iterator over all groups in this ContactGroupCollection. |
java.util.Iterator |
iterator(ContactGroupFilter filter)
Returns an iterator over all contact groups in this ContactGroupCollection, that pass the given filter. |
void |
remove(ContactGroup group)
Removes a given contact group from this ContactGroupCollection. |
ContactGroup |
remove(java.lang.String UID)
Removes a given contact group from this ContactGroupCollection. |
int |
size()
Returns the number of groups in this ContactGroupCollection. |
ContactGroup[] |
toArray()
Returns all contact groups in this ContactGroupCollection. |
ContactGroup[] |
toArray(ContactGroupFilter filter)
Returns all contact groups in this ContactGroupCollection, that pass the given filter. |
Method Detail |
public boolean contains(java.lang.String UID)
UID
- the unique identifier of the group as String.
public boolean contains(ContactGroup group)
group
- the group as ContactGroup.
public boolean containsByName(java.lang.String name)
name
- the unique name of the group as String.
public ContactGroup get(java.lang.String UID)
UID
- the unique identifier of a group as String.
public ContactGroup getByName(java.lang.String name)
name
- the name of the group as String.
public ContactGroup[] toArray()
public ContactGroup[] toArray(ContactGroupFilter filter)
filter
- the filter as ContactGroupFilter.
public boolean add(ContactGroup group)
group
- the contact group as ContactGroup.
public ContactGroup remove(java.lang.String UID)
UID
- the unique identifier of a group as String.
public void remove(ContactGroup group)
group
- the contact group as ContactGroup.public java.util.Iterator iterator()
public java.util.Iterator iterator(ContactGroupFilter filter)
filter
- the filter as ContactGroupFilter.
public int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |