tigase.jaxmpp.core.client.xmpp.modules.roster
Class RosterStore
java.lang.Object
tigase.jaxmpp.core.client.xmpp.modules.roster.RosterStore
public class RosterStore
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
groups
protected final Set<String> groups
roster
protected final Map<BareJID,RosterItem> roster
RosterStore
public RosterStore()
add
public void add(BareJID jid,
String name,
AsyncCallback asyncCallback)
throws XMLException,
JaxmppException
- Throws:
XMLException
JaxmppException
add
public void add(BareJID jid,
String name,
Collection<String> groups,
AsyncCallback asyncCallback)
throws XMLException,
JaxmppException
- Throws:
XMLException
JaxmppException
add
public void add(BareJID jid,
String name,
String[] groups,
AsyncCallback asyncCallback)
throws XMLException,
JaxmppException
- Throws:
XMLException
JaxmppException
clear
public void clear()
get
public RosterItem get(BareJID jid)
getAll
public List<RosterItem> getAll()
getAll
public List<RosterItem> getAll(RosterStore.Predicate predicate)
getCount
public int getCount()
getGroups
public Collection<? extends String> getGroups()
remove
public void remove(BareJID jid)
throws XMLException,
JaxmppException
- Throws:
XMLException
JaxmppException
removeAll
public void removeAll()
update
public void update(RosterItem item)
throws XMLException,
JaxmppException
- Throws:
XMLException
JaxmppException
Copyright © 2006-2012 Tigase. All Rights Reserved.