@Bean(name="register-device",
parent=PushNotificationsComponent.class,
active=true)
public class RegisterDevice
extends AbstractAdHocCommand
| Constructor and Description |
|---|
RegisterDevice() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
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(List<IPushProvider> pushProviders) |
protected tigase.form.Form |
submitForm(tigase.component.adhoc.AdhHocRequest request,
tigase.component.adhoc.AdHocResponse response,
tigase.form.Form form) |
executepublic String getName()
public String getNode()
public boolean isAllowedFor(tigase.xmpp.jid.JID jid)
public void setPushProviders(List<IPushProvider> pushProviders)
protected tigase.form.Form prepareForm(tigase.component.adhoc.AdhHocRequest request,
tigase.component.adhoc.AdHocResponse response)
throws tigase.component.adhoc.AdHocCommandException
prepareForm in class AbstractAdHocCommandtigase.component.adhoc.AdHocCommandExceptionprotected tigase.form.Form submitForm(tigase.component.adhoc.AdhHocRequest request,
tigase.component.adhoc.AdHocResponse response,
tigase.form.Form form)
throws tigase.component.adhoc.AdHocCommandException
submitForm in class AbstractAdHocCommandtigase.component.adhoc.AdHocCommandExceptionCopyright © 2017–2019 Tigase. All rights reserved.