Class RegisterDevice

All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand

@Bean(name="register-device", parent=PushNotificationsComponent.class, active=true) public class RegisterDevice extends AbstractAdHocCommand
Created by andrzej on 02.01.2017.
  • Constructor Details

    • RegisterDevice

      public RegisterDevice()
  • Method Details

    • getName

      public String getName()
    • getNode

      public String getNode()
    • isAllowedFor

      public boolean isAllowedFor(tigase.xmpp.jid.JID jid)
    • setPushProviders

      public void setPushProviders(List<IPushProvider> pushProviders)
    • prepareForm

      protected tigase.form.Form prepareForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException
      Specified by:
      prepareForm in class AbstractAdHocCommand
      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
      Specified by:
      submitForm in class AbstractAdHocCommand
      Throws:
      tigase.component.adhoc.AdHocCommandException