Class TemplateBuilder

java.lang.Object
org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
io.meeds.wallet.notification.builder.TemplateBuilder

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

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

    Modifier and Type
    Method
    Description
    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)
     
    protected void
    setLastUpdateDate(org.exoplatform.commons.api.notification.model.NotificationInfo notification, String language, org.exoplatform.commons.api.notification.service.template.TemplateContext templateContext)
     

    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

    • TemplateBuilder

      public TemplateBuilder(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, org.exoplatform.container.PortalContainer container, boolean pushNotification)
  • 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
    • setLastUpdateDate

      protected void setLastUpdateDate(org.exoplatform.commons.api.notification.model.NotificationInfo notification, String language, org.exoplatform.commons.api.notification.service.template.TemplateContext templateContext)
    • 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