Class AbstractAdHocCommand

java.lang.Object
tigase.push.adhoc.AbstractAdHocCommand
All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand
Direct Known Subclasses:
RegisterDevice, SetAPNSCertificate, SetAPNSEncryptionKey, SetFCMServiceAccount, UnregisterDevice

public abstract class AbstractAdHocCommand extends Object implements tigase.component.adhoc.AdHocCommand
Created by andrzej on 02.01.2017.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)
     
    protected abstract tigase.form.Form
    prepareForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)
     
    protected abstract tigase.form.Form
    submitForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response, tigase.form.Form form)
     

    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, getDefaultACL, getGroup, getName, getNode, isAllowedFor, isAllowedFor, isForSelf
  • Constructor Details

    • AbstractAdHocCommand

      public AbstractAdHocCommand()
  • 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
    • prepareForm

      protected abstract 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 abstract 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