Class KudosTemplateBuilder


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

      Constructors 
      Constructor Description
      KudosTemplateBuilder​(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, boolean pushNotification)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.exoplatform.social.core.activity.model.ExoSocialActivity getI18N​(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, Locale locale)  
      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

      • KudosTemplateBuilder

        public KudosTemplateBuilder​(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider,
                                    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 ctx,
                                     Writer writer)
        Specified by:
        makeDigest in class org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
      • getI18N

        protected org.exoplatform.social.core.activity.model.ExoSocialActivity getI18N​(org.exoplatform.social.core.activity.model.ExoSocialActivity activity,
                                                                                       Locale locale)