Package tigase.push.adhoc
Class UnregisterDevice
- java.lang.Object
-
- tigase.push.adhoc.AbstractAdHocCommand
-
- tigase.push.adhoc.UnregisterDevice
-
- All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand
@Bean(name="unregister-device", parent=PushNotificationsComponent.class, active=true) public class UnregisterDevice extends AbstractAdHocCommand
Created by andrzej on 02.01.2017.
-
-
Constructor Summary
Constructors Constructor Description UnregisterDevice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
java.lang.String
getNode()
boolean
isAllowedFor(tigase.xmpp.jid.JID jid)
protected tigase.form.Form
prepareForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)
void
setPushProviders(java.util.List<IPushProvider> pushProviders)
protected tigase.form.Form
submitForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response, tigase.form.Form form)
-
Methods inherited from class tigase.push.adhoc.AbstractAdHocCommand
execute
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getNode
public java.lang.String getNode()
-
isAllowedFor
public boolean isAllowedFor(tigase.xmpp.jid.JID jid)
-
setPushProviders
public void setPushProviders(java.util.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 classAbstractAdHocCommand
- 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 classAbstractAdHocCommand
- Throws:
tigase.component.adhoc.AdHocCommandException
-
-