Package tigase.mix
Class Affiliations
- java.lang.Object
-
- tigase.mix.Affiliations
-
- All Implemented Interfaces:
tigase.pubsub.repository.cached.IAffiliationsCached,tigase.pubsub.repository.IAffiliations
public class Affiliations extends java.lang.Object implements tigase.pubsub.repository.cached.IAffiliationsCached
-
-
Constructor Summary
Constructors Constructor Description Affiliations(tigase.xmpp.jid.BareJID serviceJID, java.lang.String nodeName, IMixRepository mixRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAffiliation(tigase.xmpp.jid.BareJID jid, tigase.pubsub.Affiliation affiliation)voidchangeAffiliation(tigase.xmpp.jid.BareJID jid, tigase.pubsub.Affiliation affiliation)tigase.pubsub.repository.stateless.UsersAffiliation[]getAffiliations()java.util.Map<tigase.xmpp.jid.BareJID,tigase.pubsub.repository.stateless.UsersAffiliation>getChanged()tigase.pubsub.repository.stateless.UsersAffiliationgetSubscriberAffiliation(tigase.xmpp.jid.BareJID jid)booleanisChanged()protected booleanisParticipant(tigase.xmpp.jid.BareJID jid)protected booleanisSubscribed(tigase.xmpp.jid.BareJID jid)voidmerge()voidresetChangedFlag()intsize()
-
-
-
Constructor Detail
-
Affiliations
public Affiliations(tigase.xmpp.jid.BareJID serviceJID, java.lang.String nodeName, IMixRepository mixRepository)
-
-
Method Detail
-
isChanged
public boolean isChanged()
- Specified by:
isChangedin interfacetigase.pubsub.repository.cached.IAffiliationsCached
-
getChanged
public java.util.Map<tigase.xmpp.jid.BareJID,tigase.pubsub.repository.stateless.UsersAffiliation> getChanged()
- Specified by:
getChangedin interfacetigase.pubsub.repository.cached.IAffiliationsCached
-
resetChangedFlag
public void resetChangedFlag()
- Specified by:
resetChangedFlagin interfacetigase.pubsub.repository.cached.IAffiliationsCached
-
merge
public void merge()
- Specified by:
mergein interfacetigase.pubsub.repository.cached.IAffiliationsCached
-
addAffiliation
public void addAffiliation(tigase.xmpp.jid.BareJID jid, tigase.pubsub.Affiliation affiliation)- Specified by:
addAffiliationin interfacetigase.pubsub.repository.IAffiliations
-
changeAffiliation
public void changeAffiliation(tigase.xmpp.jid.BareJID jid, tigase.pubsub.Affiliation affiliation)- Specified by:
changeAffiliationin interfacetigase.pubsub.repository.IAffiliations
-
getAffiliations
public tigase.pubsub.repository.stateless.UsersAffiliation[] getAffiliations()
- Specified by:
getAffiliationsin interfacetigase.pubsub.repository.IAffiliations
-
getSubscriberAffiliation
public tigase.pubsub.repository.stateless.UsersAffiliation getSubscriberAffiliation(tigase.xmpp.jid.BareJID jid)
- Specified by:
getSubscriberAffiliationin interfacetigase.pubsub.repository.IAffiliations
-
isParticipant
protected boolean isParticipant(tigase.xmpp.jid.BareJID jid) throws tigase.component.exceptions.RepositoryException- Throws:
tigase.component.exceptions.RepositoryException
-
isSubscribed
protected boolean isSubscribed(tigase.xmpp.jid.BareJID jid) throws tigase.component.exceptions.RepositoryException- Throws:
tigase.component.exceptions.RepositoryException
-
size
public int size()
- Specified by:
sizein interfacetigase.pubsub.repository.IAffiliations
-
-