Class 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 TemplateBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
    • Constructor Detail

      • TemplateBuilder

        protected TemplateBuilder()
    • Method Detail

      • 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)