Class MailTemplateProvider.TemplateBuilder

java.lang.Object
org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
org.exoplatform.news.notification.provider.MailTemplateProvider.TemplateBuilder
Enclosing class:
MailTemplateProvider

protected class MailTemplateProvider.TemplateBuilder extends org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    buildDigestMsg(List<org.exoplatform.commons.api.notification.model.NotificationInfo> notifications, org.exoplatform.commons.api.notification.service.template.TemplateContext templateContext)
     
    protected boolean
    makeDigest(org.exoplatform.commons.api.notification.NotificationContext ctx, Writer writer)
     
    protected org.exoplatform.commons.api.notification.model.MessageInfo
    makeMessage(org.exoplatform.commons.api.notification.NotificationContext ctx)
     

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

    buildDigest, buildMessage, getLanguage, getNotificationToStore, getOrganizationService, getTemplateEngine, setTemplateEngine

    Methods inherited from class java.lang.Object

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

    • TemplateBuilder

      protected TemplateBuilder()
  • Method Details

    • makeMessage

      protected org.exoplatform.commons.api.notification.model.MessageInfo makeMessage(org.exoplatform.commons.api.notification.NotificationContext ctx)
      Specified by:
      makeMessage in class org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
    • makeDigest

      protected boolean makeDigest(org.exoplatform.commons.api.notification.NotificationContext ctx, Writer writer)
      Specified by:
      makeDigest in class org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
    • buildDigestMsg

      protected String buildDigestMsg(List<org.exoplatform.commons.api.notification.model.NotificationInfo> notifications, org.exoplatform.commons.api.notification.service.template.TemplateContext templateContext)