Class MailTemplateProvider
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.api.notification.channel.template.TemplateProvider
-
- org.exoplatform.rhmanagement.integration.notification.MailTemplateProvider
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class MailTemplateProvider extends org.exoplatform.commons.api.notification.channel.template.TemplateProvider
-
-
Field Summary
Fields Modifier and Type Field Description protected DateFormatformatterprotected static org.exoplatform.services.log.Loglog
-
Constructor Summary
Constructors Constructor Description MailTemplateProvider(org.exoplatform.container.xml.InitParams initParams)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetDate(String date, String userName)static StringgetExcerpt(String str, int len)TimeZonegetUserTimezone(String username)-
Methods inherited from class org.exoplatform.commons.api.notification.channel.template.TemplateProvider
getChannelKey, getTemplateBuilder, getTemplateFilePathConfigs
-
-
-
-
Field Detail
-
formatter
protected DateFormat formatter
-
log
protected static org.exoplatform.services.log.Log log
-
-