public class WebChannel
extends org.exoplatform.commons.api.notification.channel.AbstractChannel
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<org.exoplatform.commons.api.notification.model.MessageInfo> |
MESSAGE_INFO |
| Constructor and Description |
|---|
WebChannel() |
| 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 key) |
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 provider) |
dispatch, end, getLifecycle, getTemplateBuilder, startpublic static final String ID
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<org.exoplatform.commons.api.notification.model.MessageInfo> MESSAGE_INFO
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 registerTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider)
registerTemplateProvider 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 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 key)
getTemplateBuilderInChannel in class org.exoplatform.commons.api.notification.channel.AbstractChannelCopyright © 2003–2016 eXo Platform SAS. All rights reserved.