public class PushChannel
extends org.exoplatform.commons.api.notification.channel.AbstractChannel
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
LOG_OPERATION_NAME |
static String |
LOG_SERVICE_NAME |
String |
notificationTitle |
| Constructor and Description |
|---|
PushChannel(MessagePublisher messagePublisher,
DeviceService deviceService) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(org.exoplatform.commons.api.notification.NotificationContext ctx,
String userId) |
String |
getId() |
org.exoplatform.commons.api.notification.model.ChannelKey |
getKey() |
protected org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder |
getTemplateBuilderInChannel(org.exoplatform.commons.api.notification.model.PluginKey pluginKey) |
String |
getTemplateFilePath(org.exoplatform.commons.api.notification.model.PluginKey key) |
boolean |
hasTemplateBuilder(org.exoplatform.commons.api.notification.model.PluginKey key) |
void |
registerTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider) |
dispatch, end, getLifecycle, getTemplateBuilder, startpublic static final String ID
public static final String LOG_SERVICE_NAME
public static final String LOG_OPERATION_NAME
public String notificationTitle
public PushChannel(MessagePublisher messagePublisher, DeviceService deviceService)
public String getId()
getId in class org.exoplatform.commons.api.notification.channel.AbstractChannelpublic org.exoplatform.commons.api.notification.model.ChannelKey getKey()
getKey in class org.exoplatform.commons.api.notification.channel.AbstractChannelpublic void dispatch(org.exoplatform.commons.api.notification.NotificationContext ctx,
String userId)
dispatch in class org.exoplatform.commons.api.notification.channel.AbstractChannelpublic void registerTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider)
registerTemplateProvider in class org.exoplatform.commons.api.notification.channel.AbstractChannelpublic String getTemplateFilePath(org.exoplatform.commons.api.notification.model.PluginKey key)
getTemplateFilePath in class org.exoplatform.commons.api.notification.channel.AbstractChannelpublic boolean hasTemplateBuilder(org.exoplatform.commons.api.notification.model.PluginKey key)
hasTemplateBuilder in class org.exoplatform.commons.api.notification.channel.AbstractChannelprotected org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder getTemplateBuilderInChannel(org.exoplatform.commons.api.notification.model.PluginKey pluginKey)
getTemplateBuilderInChannel in class org.exoplatform.commons.api.notification.channel.AbstractChannelCopyright © 2003–2021 eXo Platform SAS. All rights reserved.