Class MailTemplateProvider

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.api.notification.channel.template.TemplateProvider
org.exoplatform.cs.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 DateFormat
     
    protected static org.exoplatform.services.log.Log
     

    Fields inherited from class org.exoplatform.commons.api.notification.channel.template.TemplateProvider

    CHANNEL_ID_KEY, templateBuilders, templateFilePaths

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    MailTemplateProvider(org.exoplatform.container.xml.InitParams initParams)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    getDate(String date, String userName)
     
    static String
    getExcerpt(String str, int len)
     

    Methods inherited from class org.exoplatform.commons.api.notification.channel.template.TemplateProvider

    getChannelKey, getTemplateBuilder, getTemplateFilePathConfigs

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • formatter

      protected DateFormat formatter
    • log

      protected static org.exoplatform.services.log.Log log
  • Constructor Details

    • MailTemplateProvider

      public MailTemplateProvider(org.exoplatform.container.xml.InitParams initParams)
  • Method Details