Class DatePollNotificationBuilder


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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      groovy.text.Template getTemplateEngine()  
      org.exoplatform.commons.api.notification.channel.template.TemplateProvider getTemplateProvider()  
      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

      • DatePollNotificationBuilder

        public DatePollNotificationBuilder​(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider,
                                           org.exoplatform.container.ExoContainer container,
                                           org.exoplatform.commons.api.notification.model.PluginKey key,
                                           boolean isPushNotification)
    • Method Detail

      • getTemplateEngine

        public groovy.text.Template getTemplateEngine()
        Overrides:
        getTemplateEngine in class org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
      • 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
      • getTemplateProvider

        public org.exoplatform.commons.api.notification.channel.template.TemplateProvider getTemplateProvider()