Package tigase.mix.cluster
Class MixRepositoryClustered<T>
java.lang.Object
tigase.mix.model.MixRepository<T>
tigase.mix.cluster.MixRepositoryClustered<T>
- All Implemented Interfaces:
tigase.mix.model.IMixRepository,tigase.pubsub.repository.cached.CachedPubSubRepository.NodeAffiliationProvider<T>,tigase.pubsub.repository.IItems.IListnener,tigase.pubsub.repository.IPubSubRepository.IListener
@Bean(name="mixRepository",
parent=MixComponentClustered.class,
active=true)
public class MixRepositoryClustered<T>
extends tigase.mix.model.MixRepository<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class tigase.mix.model.MixRepository
tigase.mix.model.MixRepository.ParticipantKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinvalidateChannelParticipant(tigase.xmpp.jid.BareJID channelJID, String participantID) voiditemWritten(tigase.xmpp.jid.BareJID serviceJID, String node, String id, String publisher, tigase.xml.Element item, String uuid) voidremoveParticipant(tigase.xmpp.jid.BareJID channelJID, String participantID) voidupdateChannelConfiguration(tigase.xmpp.jid.BareJID serviceJID, tigase.xml.Element item) protected tigase.mix.model.ParticipantupdateParticipant(tigase.xmpp.jid.BareJID channelJID, String participantId, tigase.xmpp.jid.BareJID participantJID, String nick) Methods inherited from class tigase.mix.model.MixRepository
bannedParticipantFromChannel, getAllowed, getBanned, getChannelConfiguration, getChannelName, getNodeSubscriptions, getParticipant, getParticipant, getParticipant, getParticipantIds, getParticipantJidFromJidMap, getTempParticipantJID, getUserAffiliations, itemDeleted, jidVisibilityChanged, loadChannelConfiguration, newNodeAffiliations, removeJidMap, removeParticipant, removeTempParticipant, serviceRemoved, updateJidMap, updateParticipant, updateTempParticipant, validateItem
-
Constructor Details
-
MixRepositoryClustered
public MixRepositoryClustered()
-
-
Method Details
-
itemWritten
public void itemWritten(tigase.xmpp.jid.BareJID serviceJID, String node, String id, String publisher, tigase.xml.Element item, String uuid) - Specified by:
itemWrittenin interfacetigase.pubsub.repository.IItems.IListnener- Overrides:
itemWrittenin classtigase.mix.model.MixRepository<T>
-
updateChannelConfiguration
public void updateChannelConfiguration(tigase.xmpp.jid.BareJID serviceJID, tigase.xml.Element item) - Overrides:
updateChannelConfigurationin classtigase.mix.model.MixRepository<T>
-
updateParticipant
protected tigase.mix.model.Participant updateParticipant(tigase.xmpp.jid.BareJID channelJID, String participantId, tigase.xmpp.jid.BareJID participantJID, String nick) throws tigase.pubsub.exceptions.PubSubException, tigase.component.exceptions.RepositoryException - Overrides:
updateParticipantin classtigase.mix.model.MixRepository<T>- Throws:
tigase.pubsub.exceptions.PubSubExceptiontigase.component.exceptions.RepositoryException
-
removeParticipant
public void removeParticipant(tigase.xmpp.jid.BareJID channelJID, String participantID) throws tigase.component.exceptions.RepositoryException - Specified by:
removeParticipantin interfacetigase.mix.model.IMixRepository- Overrides:
removeParticipantin classtigase.mix.model.MixRepository<T>- Throws:
tigase.component.exceptions.RepositoryException
-
invalidateChannelParticipant
public void invalidateChannelParticipant(tigase.xmpp.jid.BareJID channelJID, String participantID) throws tigase.component.exceptions.RepositoryException - Overrides:
invalidateChannelParticipantin classtigase.mix.model.MixRepository<T>- Throws:
tigase.component.exceptions.RepositoryException
-