Class MailChannel
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.api.notification.channel.AbstractChannel
-
- org.exoplatform.commons.notification.channel.MailChannel
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public final class MailChannel extends org.exoplatform.commons.api.notification.channel.AbstractChannelCreated by The eXo Platform SAS Author : eXoPlatform thanhvc@exoplatform.com Dec 12, 2014
-
-
Constructor Summary
Constructors Constructor Description MailChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispatch(org.exoplatform.commons.api.notification.NotificationContext ctx, String userId)StringgetId()org.exoplatform.commons.api.notification.model.ChannelKeygetKey()protected org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuildergetTemplateBuilderInChannel(org.exoplatform.commons.api.notification.model.PluginKey key)StringgetTemplateFilePath(org.exoplatform.commons.api.notification.model.PluginKey key)booleanhasTemplateBuilder(org.exoplatform.commons.api.notification.model.PluginKey key)voidregisterTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider)-
Methods inherited from class org.exoplatform.commons.api.notification.channel.AbstractChannel
dispatch, end, getLifecycle, getTemplateBuilder, start
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
getKey
public org.exoplatform.commons.api.notification.model.ChannelKey getKey()
- Specified by:
getKeyin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
registerTemplateProvider
public void registerTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider)
- Specified by:
registerTemplateProviderin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
dispatch
public void dispatch(org.exoplatform.commons.api.notification.NotificationContext ctx, String userId)- Specified by:
dispatchin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
getTemplateFilePath
public String getTemplateFilePath(org.exoplatform.commons.api.notification.model.PluginKey key)
- Overrides:
getTemplateFilePathin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
hasTemplateBuilder
public boolean hasTemplateBuilder(org.exoplatform.commons.api.notification.model.PluginKey key)
- Overrides:
hasTemplateBuilderin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
getTemplateBuilderInChannel
protected org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder getTemplateBuilderInChannel(org.exoplatform.commons.api.notification.model.PluginKey key)
- Specified by:
getTemplateBuilderInChannelin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
-