Package tigase.mix.model
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
Modifier and TypeMethodDescriptionvoidcheckPermission(tigase.xmpp.jid.BareJID channel, tigase.xmpp.jid.BareJID senderJid, MixAction action) voidgenerateAffiliationChangesNotifications(tigase.xmpp.jid.BareJID channelJid, ChannelConfiguration oldConfig, ChannelConfiguration newConfig, Consumer<tigase.server.Packet> packetConsumer) generateParticipantId(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantRealJID) generateTempParticipantId(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID participantRealJID) booleanisChannelCreationAllowed(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 Details
-
generateAffiliationChangesNotifications
void generateAffiliationChangesNotifications(tigase.xmpp.jid.BareJID channelJid, ChannelConfiguration oldConfig, ChannelConfiguration newConfig, Consumer<tigase.server.Packet> packetConsumer) -
generateParticipantId
String generateParticipantId(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantRealJID) throws tigase.component.exceptions.RepositoryException - Throws:
tigase.component.exceptions.RepositoryException
-
generateTempParticipantId
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.PubSubExceptiontigase.component.exceptions.RepositoryException
-
isChannelCreationAllowed
boolean isChannelCreationAllowed(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID senderJID)
-