Class MAMConfigureAdhoc
java.lang.Object
tigase.archive.processors.MAMConfigureAdhoc
- All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand
@Bean(name="urn:xmpp:mam#configure",
parent=MAM2Processor.class,
active=true)
public class MAMConfigureAdhoc
extends Object
implements tigase.component.adhoc.AdHocCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringassertNotEmpty(String input, String message) voidexecute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) getName()getNode()booleanisAllowedFor(tigase.xmpp.jid.JID jid) booleanisAllowedFor(tigase.xmpp.jid.JID from, tigase.xmpp.jid.JID to) booleanprotected tigase.form.FormprepareForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) protected tigase.form.FormsubmitForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response, tigase.form.Form form) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tigase.component.adhoc.AdHocCommand
execute, getDefaultACL, getGroup
-
Field Details
-
XMLNS
- See Also:
-
-
Constructor Details
-
MAMConfigureAdhoc
public MAMConfigureAdhoc()
-
-
Method Details
-
execute
public void execute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException - Specified by:
executein interfacetigase.component.adhoc.AdHocCommand- Throws:
tigase.component.adhoc.AdHocCommandException
-
getName
- Specified by:
getNamein interfacetigase.component.adhoc.AdHocCommand
-
getNode
- Specified by:
getNodein interfacetigase.component.adhoc.AdHocCommand
-
isAllowedFor
public boolean isAllowedFor(tigase.xmpp.jid.JID jid) - Specified by:
isAllowedForin interfacetigase.component.adhoc.AdHocCommand
-
isAllowedFor
public boolean isAllowedFor(tigase.xmpp.jid.JID from, tigase.xmpp.jid.JID to) - Specified by:
isAllowedForin interfacetigase.component.adhoc.AdHocCommand
-
isForSelf
public boolean isForSelf()- Specified by:
isForSelfin interfacetigase.component.adhoc.AdHocCommand
-
prepareForm
protected tigase.form.Form prepareForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException - Throws:
tigase.component.adhoc.AdHocCommandException
-
submitForm
protected tigase.form.Form submitForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response, tigase.form.Form form) throws tigase.component.adhoc.AdHocCommandException - Throws:
tigase.component.adhoc.AdHocCommandException
-
assertNotEmpty
-