Interface MixLogic

  • All Superinterfaces:
    tigase.pubsub.utils.PubSubLogic
    All Known Implementing Classes:
    DefaultMixLogic

    public interface MixLogic
    extends tigase.pubsub.utils.PubSubLogic
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface tigase.pubsub.utils.PubSubLogic

        tigase.pubsub.utils.PubSubLogic.Action
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void checkPermission​(tigase.xmpp.jid.BareJID channel, tigase.xmpp.jid.BareJID senderJid, MixAction action)  
      void generateAffiliationChangesNotifications​(tigase.xmpp.jid.BareJID channelJid, ChannelConfiguration oldConfig, ChannelConfiguration newConfig, java.util.function.Consumer<tigase.server.Packet> packetConsumer)  
      java.lang.String generateParticipantId​(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantRealJID)  
      java.lang.String generateTempParticipantId​(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID participantRealJID)  
      boolean isChannelCreationAllowed​(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID senderJID)  
      • Methods inherited from interface tigase.pubsub.utils.PubSubLogic

        checkNodeConfig, checkPermission, hasSenderSubscription, isMAMEnabled, isSenderInRosterGroup, isServiceAutoCreated, isServiceJidPEP, prepareNotificationMessage, subscribersOfNotifications, validateItemId
    • Method Detail

      • generateAffiliationChangesNotifications

        void generateAffiliationChangesNotifications​(tigase.xmpp.jid.BareJID channelJid,
                                                     ChannelConfiguration oldConfig,
                                                     ChannelConfiguration newConfig,
                                                     java.util.function.Consumer<tigase.server.Packet> packetConsumer)
      • generateParticipantId

        java.lang.String generateParticipantId​(tigase.xmpp.jid.BareJID channelJID,
                                               tigase.xmpp.jid.BareJID participantRealJID)
                                        throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • generateTempParticipantId

        java.lang.String generateTempParticipantId​(tigase.xmpp.jid.BareJID channelJID,
                                                   tigase.xmpp.jid.JID participantRealJID)
                                            throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • checkPermission

        void checkPermission​(tigase.xmpp.jid.BareJID channel,
                             tigase.xmpp.jid.BareJID senderJid,
                             MixAction action)
                      throws tigase.pubsub.exceptions.PubSubException,
                             tigase.component.exceptions.RepositoryException
        Throws:
        tigase.pubsub.exceptions.PubSubException
        tigase.component.exceptions.RepositoryException
      • isChannelCreationAllowed

        boolean isChannelCreationAllowed​(tigase.xmpp.jid.BareJID channelJID,
                                         tigase.xmpp.jid.BareJID senderJID)