Package tigase.mix.adhoc
Class LeaveChannelCommand
java.lang.Object
tigase.mix.adhoc.AbstractAdhocCommand
tigase.mix.adhoc.LeaveChannelCommand
- All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand
@Bean(name="channel-leave-command",
parent=tigase.server.xmppsession.SessionManager.class,
active=true)
public class LeaveChannelCommand
extends AbstractAdhocCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAllowedFor(tigase.xmpp.jid.JID jid) protected tigase.xml.ElementprepareForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) protected tigase.xml.ElementsubmitForm(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, getNodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tigase.component.adhoc.AdHocCommand
execute, getGroup
-
Constructor Details
-
LeaveChannelCommand
public LeaveChannelCommand()
-
-
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:
prepareFormin 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:
submitFormin classAbstractAdhocCommand- Throws:
tigase.component.adhoc.AdHocCommandException
-