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
    Modifier and Type
    Field
    Description
    protected static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    assertNotEmpty(String input, String message)
     
    void
    execute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)
     
     
     
    boolean
    isAllowedFor(tigase.xmpp.jid.JID jid)
     
    boolean
    isAllowedFor(tigase.xmpp.jid.JID from, tigase.xmpp.jid.JID to)
     
    boolean
     
    protected tigase.form.Form
    prepareForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)
     
    protected tigase.form.Form
    submitForm(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, wait

    Methods inherited from interface tigase.component.adhoc.AdHocCommand

    execute, getDefaultACL, getGroup
  • Field Details

  • 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:
      execute in interface tigase.component.adhoc.AdHocCommand
      Throws:
      tigase.component.adhoc.AdHocCommandException
    • getName

      public String getName()
      Specified by:
      getName in interface tigase.component.adhoc.AdHocCommand
    • getNode

      public String getNode()
      Specified by:
      getNode in interface tigase.component.adhoc.AdHocCommand
    • isAllowedFor

      public boolean isAllowedFor(tigase.xmpp.jid.JID jid)
      Specified by:
      isAllowedFor in interface tigase.component.adhoc.AdHocCommand
    • isAllowedFor

      public boolean isAllowedFor(tigase.xmpp.jid.JID from, tigase.xmpp.jid.JID to)
      Specified by:
      isAllowedFor in interface tigase.component.adhoc.AdHocCommand
    • isForSelf

      public boolean isForSelf()
      Specified by:
      isForSelf in interface tigase.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

      protected String assertNotEmpty(String input, String message) throws tigase.component.adhoc.AdHocCommandException
      Throws:
      tigase.component.adhoc.AdHocCommandException