Class KudosTemplateBuilder

java.lang.Object
org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
io.meeds.kudos.notification.builder.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, org.exoplatform.social.common.xmlprocessor.XMLProcessor xmlProcessor)
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

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

    • KudosTemplateBuilder

      public KudosTemplateBuilder(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, boolean pushNotification, org.exoplatform.social.common.xmlprocessor.XMLProcessor xmlProcessor)
  • 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
    • getI18N

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