Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void invalidateChannelParticipant​(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantJID)  
      void itemWritten​(tigase.xmpp.jid.BareJID serviceJID, java.lang.String node, java.lang.String id, java.lang.String publisher, tigase.xml.Element item, java.lang.String uuid)  
      void removeParticiapnt​(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantJID)  
      void updateChannelConfiguration​(tigase.xmpp.jid.BareJID serviceJID, tigase.xml.Element item)  
      tigase.mix.model.IParticipant updateParticipant​(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantJID, java.lang.String nick)  
      • Methods inherited from class tigase.mix.model.MixRepository

        bannedParticipantFromChannel, getAllowed, getBanned, getChannelConfiguration, getChannelName, getNodeSubscriptions, getParticipant, getParticipant, getParticipant, getUserAffiliations, itemDeleted, loadChannelConfiguration, newNodeAffiliations, removeTempParticipant, serviceRemoved, updateTempParticipant, validateItem
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MixRepositoryClustered

        public MixRepositoryClustered()
    • Method Detail

      • itemWritten

        public void itemWritten​(tigase.xmpp.jid.BareJID serviceJID,
                                java.lang.String node,
                                java.lang.String id,
                                java.lang.String publisher,
                                tigase.xml.Element item,
                                java.lang.String uuid)
        Specified by:
        itemWritten in interface tigase.pubsub.repository.IItems.IListnener
        Overrides:
        itemWritten in class tigase.mix.model.MixRepository<T>
      • updateChannelConfiguration

        public void updateChannelConfiguration​(tigase.xmpp.jid.BareJID serviceJID,
                                               tigase.xml.Element item)
        Overrides:
        updateChannelConfiguration in class tigase.mix.model.MixRepository<T>
      • updateParticipant

        public tigase.mix.model.IParticipant updateParticipant​(tigase.xmpp.jid.BareJID channelJID,
                                                               tigase.xmpp.jid.BareJID participantJID,
                                                               java.lang.String nick)
                                                        throws tigase.component.exceptions.RepositoryException,
                                                               tigase.pubsub.exceptions.PubSubException
        Specified by:
        updateParticipant in interface tigase.mix.model.IMixRepository
        Overrides:
        updateParticipant in class tigase.mix.model.MixRepository<T>
        Throws:
        tigase.component.exceptions.RepositoryException
        tigase.pubsub.exceptions.PubSubException
      • removeParticiapnt

        public void removeParticiapnt​(tigase.xmpp.jid.BareJID channelJID,
                                      tigase.xmpp.jid.BareJID participantJID)
                               throws tigase.component.exceptions.RepositoryException
        Specified by:
        removeParticiapnt in interface tigase.mix.model.IMixRepository
        Overrides:
        removeParticiapnt in class tigase.mix.model.MixRepository<T>
        Throws:
        tigase.component.exceptions.RepositoryException
      • invalidateChannelParticipant

        public void invalidateChannelParticipant​(tigase.xmpp.jid.BareJID channelJID,
                                                 tigase.xmpp.jid.BareJID participantJID)
                                          throws tigase.component.exceptions.RepositoryException
        Overrides:
        invalidateChannelParticipant in class tigase.mix.model.MixRepository<T>
        Throws:
        tigase.component.exceptions.RepositoryException