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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckPermission(tigase.xmpp.jid.BareJID channel, tigase.xmpp.jid.BareJID senderJid, MixAction action)voidgenerateAffiliationChangesNotifications(tigase.xmpp.jid.BareJID channelJid, ChannelConfiguration oldConfig, ChannelConfiguration newConfig, java.util.function.Consumer<tigase.server.Packet> packetConsumer)java.lang.StringgenerateParticipantId(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantRealJID)java.lang.StringgenerateTempParticipantId(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID participantRealJID)booleanisChannelCreationAllowed(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID senderJID)
-
-
-
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.PubSubExceptiontigase.component.exceptions.RepositoryException
-
isChannelCreationAllowed
boolean isChannelCreationAllowed(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID senderJID)
-
-