Package tigase.mix.adhoc
Class JoinChannelCommand
java.lang.Object
tigase.mix.adhoc.AbstractAdhocCommand
tigase.mix.adhoc.JoinChannelCommand
- All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand
@Bean(name="channel-join-command",
parent=tigase.server.xmppsession.SessionManager.class,
active=true)
public class JoinChannelCommand
extends AbstractAdhocCommand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isAllowedFor
(tigase.xmpp.jid.JID jid) protected tigase.xml.Element
prepareForm
(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) protected tigase.xml.Element
submitForm
(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response, tigase.xml.Element data) Methods inherited from class tigase.mix.adhoc.AbstractAdhocCommand
assertNotEmpty, execute, getName, getNode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tigase.component.adhoc.AdHocCommand
execute, getGroup
-
Constructor Details
-
JoinChannelCommand
public JoinChannelCommand()
-
-
Method Details
-
isAllowedFor
public boolean isAllowedFor(tigase.xmpp.jid.JID jid) -
prepareForm
protected tigase.xml.Element prepareForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException - Specified by:
prepareForm
in classAbstractAdhocCommand
- Throws:
tigase.component.adhoc.AdHocCommandException
-
submitForm
protected tigase.xml.Element submitForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response, tigase.xml.Element data) throws tigase.component.adhoc.AdHocCommandException - Specified by:
submitForm
in classAbstractAdhocCommand
- Throws:
tigase.component.adhoc.AdHocCommandException
-