Class AbstractAdHocCommand

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      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, getGroup, getName, getNode, isAllowedFor
    • Constructor Detail

      • AbstractAdHocCommand

        public AbstractAdHocCommand()
    • Method Detail

      • 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