Package tigase.xmpp.impl.roster
Class Roster
- java.lang.Object
-
- tigase.xmpp.impl.roster.RosterAbstract
-
- tigase.xmpp.impl.roster.Roster
-
@Deprecated public class Roster extends RosterAbstract
Deprecated.RosterFlat should be used insteadDescribe class Roster here.
Created: Tue Feb 21 18:05:53 2006
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class tigase.xmpp.impl.roster.RosterAbstract
RosterAbstract.PresenceType, RosterAbstract.RosterModifiedEvent, RosterAbstract.StateTransition, RosterAbstract.SubscriptionType
-
-
Field Summary
-
Fields inherited from class tigase.xmpp.impl.roster.RosterAbstract
CLIENT_XMLNS, DISCO_FEATURES, emptyNameAllowed, FEATURES, FROM_SUBSCRIBED, GROUP, GROUPS, INITIAL_PRESENCES, maxRosterSize, NAME, PENDING_IN, PENDING_OUT, PRE_APPROVED, ROSTER, ROSTER_XMLNS, ROSTERHASH, SUB_BOTH, SUB_FROM, SUB_NONE, SUB_TO, SUBSCRIPTION, TO_SUBSCRIBED, VER_ATT, XMLNS, XMLNS_DYNAMIC, XMLNS_LOAD
-
-
Constructor Summary
Constructors Constructor Description Roster()Deprecated.
-
Method Summary
-
Methods inherited from class tigase.xmpp.impl.roster.RosterAbstract
addBuddy, getBuddies, getBuddiesHash, getBuddiesHash, getBuddyItem, getCustomChildren, getEventBus, getMaxRosterSize, getPresenceType, getRosterItems, getStateTransition, groupNode, handleRosterModified, init, isEmptyNameAllowed, isPendingIn, isPreApproved, isSubscribedFrom, isSubscribedFrom, isSubscribedTo, setEmptyNameAllowed, setEventBus, setMaxRosterSize, setProperties, updateBuddyChange, updateBuddySubscription, updateRosterHash, updateRosterItem
-
-
-
-
Method Detail
-
addBuddy
public void addBuddy(XMPPResourceConnection session, JID jid, String name, String[] groups, RosterAbstract.SubscriptionType subscription, String otherData) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
addBuddyin classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
addBuddyGroup
public boolean addBuddyGroup(XMPPResourceConnection session, JID buddy, String[] groups) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
addBuddyGroupin classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
containsBuddy
public boolean containsBuddy(XMPPResourceConnection session, JID buddy) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
containsBuddyin classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
getBuddies
public JID[] getBuddies(XMPPResourceConnection session) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
getBuddiesin classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
getBuddyGroups
public String[] getBuddyGroups(XMPPResourceConnection session, JID buddy) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
getBuddyGroupsin classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
getBuddyName
public String getBuddyName(XMPPResourceConnection session, JID buddy) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
getBuddyNamein classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
getBuddySubscription
public RosterAbstract.SubscriptionType getBuddySubscription(XMPPResourceConnection session, JID buddy) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
getBuddySubscriptionin classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
isRosterLoaded
public boolean isRosterLoaded(XMPPResourceConnection session)
Deprecated.Description copied from class:RosterAbstractCheck if data containing user roster for this session is loaded from database- Specified by:
isRosterLoadedin classRosterAbstract- Returns:
-
isOnline
public boolean isOnline(XMPPResourceConnection session, JID jid) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
isOnlinein classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
presenceSent
public boolean presenceSent(XMPPResourceConnection session, JID jid) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
presenceSentin classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
removeBuddy
public boolean removeBuddy(XMPPResourceConnection session, JID jid) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
removeBuddyin classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
setBuddyName
public void setBuddyName(XMPPResourceConnection session, JID buddy, String name) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
setBuddyNamein classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
setBuddySubscription
public void setBuddySubscription(XMPPResourceConnection session, RosterAbstract.SubscriptionType subscription, JID buddy) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
setBuddySubscriptionin classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
setOnline
public void setOnline(XMPPResourceConnection session, JID jid, boolean online) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
setOnlinein classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
setPresenceSent
public void setPresenceSent(XMPPResourceConnection session, JID jid, boolean sent) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
setPresenceSentin classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
getRosterElement
public RosterElement getRosterElement(XMPPResourceConnection session, JID jid) throws NotAuthorizedException, TigaseDBException
Deprecated.- Specified by:
getRosterElementin classRosterAbstract- Throws:
NotAuthorizedExceptionTigaseDBException
-
rosterElementProvider
public Function<JID,RosterElement> rosterElementProvider(XMPPResourceConnection session)
Deprecated.- Specified by:
rosterElementProviderin classRosterAbstract
-
logout
public void logout(XMPPResourceConnection session)
Deprecated.- Specified by:
logoutin classRosterAbstract
-
getCustomChild
public Element getCustomChild(XMPPResourceConnection session, JID buddy)
Deprecated.- Specified by:
getCustomChildin classRosterAbstract
-
-