Class TemplateProvider
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.api.notification.channel.template.TemplateProvider
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public abstract class TemplateProvider extends org.exoplatform.container.component.BaseComponentPluginCreated by The eXo Platform SAS Author : eXoPlatform thanhvc@exoplatform.com Dec 12, 2014
-
-
Field Summary
Fields Modifier and Type Field Description static StringCHANNEL_ID_KEYprotected Map<PluginKey,AbstractTemplateBuilder>templateBuildersprotected Map<PluginKey,String>templateFilePaths
-
Constructor Summary
Constructors Constructor Description TemplateProvider(org.exoplatform.container.xml.InitParams initParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelKeygetChannelKey()Gets channelIdMap<PluginKey,AbstractTemplateBuilder>getTemplateBuilder()Gets all of the template builder what assigned the channelMap<PluginKey,String>getTemplateFilePathConfigs()Gets all of the template files
-
-
-
Field Detail
-
CHANNEL_ID_KEY
public static final String CHANNEL_ID_KEY
- See Also:
- Constant Field Values
-
templateBuilders
protected final Map<PluginKey,AbstractTemplateBuilder> templateBuilders
-
-
Method Detail
-
getTemplateFilePathConfigs
public Map<PluginKey,String> getTemplateFilePathConfigs()
Gets all of the template files- Returns:
-
getTemplateBuilder
public Map<PluginKey,AbstractTemplateBuilder> getTemplateBuilder()
Gets all of the template builder what assigned the channel- Returns:
-
getChannelKey
public ChannelKey getChannelKey()
Gets channelId- Returns:
-
-