Class ChatTemplateBuilder


  • public class ChatTemplateBuilder
    extends org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
    • Constructor Summary

      Constructors 
      Constructor Description
      ChatTemplateBuilder​(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, org.exoplatform.container.ExoContainer container, org.exoplatform.commons.api.notification.model.PluginKey key, boolean pushNotification)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      groovy.text.Template getTemplateEngine()  
      protected boolean makeDigest​(org.exoplatform.commons.api.notification.NotificationContext notificationContext, 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, setTemplateEngine
    • Constructor Detail

      • ChatTemplateBuilder

        public ChatTemplateBuilder​(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider,
                                   org.exoplatform.container.ExoContainer container,
                                   org.exoplatform.commons.api.notification.model.PluginKey key,
                                   boolean pushNotification)
    • 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 notificationContext,
                                     Writer writer)
        Specified by:
        makeDigest in class org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
      • getTemplateEngine

        public groovy.text.Template getTemplateEngine()
        Overrides:
        getTemplateEngine in class org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder