public class AndroidRosterStore extends RosterStore
RosterStore.PredicatesessionObject| Constructor and Description |
|---|
AndroidRosterStore(RosterProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<String> |
addItem(RosterItem item) |
protected Set<String> |
calculateModifiedGroups(HashSet<String> groupsOld) |
RosterItem |
get(BareJID jid)
Returns RosterItem of given bare JID.
|
List<RosterItem> |
getAll(RosterStore.Predicate predicate)
Returns all roster items selected by selector.
|
int |
getCount()
Returns number of roster items in storage.
|
Collection<? extends String> |
getGroups()
Get all known groups of buddies.
|
void |
removeAll() |
protected void |
removeItem(BareJID jid) |
add, add, add, clear, getAll, getPropertyClass, remove, setSessionObject, updatepublic AndroidRosterStore(RosterProvider provider)
protected Set<String> addItem(RosterItem item)
addItem in class RosterStoreprotected Set<String> calculateModifiedGroups(HashSet<String> groupsOld)
calculateModifiedGroups in class RosterStorepublic RosterItem get(BareJID jid)
RosterStoreget in class RosterStorejid - bare JID.public List<RosterItem> getAll(RosterStore.Predicate predicate)
RosterStoregetAll in class RosterStorepredicate - selector.public int getCount()
RosterStoregetCount in class RosterStorepublic Collection<? extends String> getGroups()
RosterStoregetGroups in class RosterStorepublic void removeAll()
removeAll in class RosterStoreprotected void removeItem(BareJID jid)
removeItem in class RosterStoreCopyright © 2006–2016 Tigase. All rights reserved.