Class MailTemplateProvider.TemplateBuilder
java.lang.Object
org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
io.meeds.notes.notifications.provider.MailTemplateProvider.TemplateBuilder
- Enclosing class:
MailTemplateProvider
public class MailTemplateProvider.TemplateBuilder
extends org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildDigestMsg(List<org.exoplatform.commons.api.notification.model.NotificationInfo> notifications, org.exoplatform.commons.api.notification.service.template.TemplateContext templateContext) protected booleanmakeDigest(org.exoplatform.commons.api.notification.NotificationContext ctx, Writer writer) org.exoplatform.commons.api.notification.model.MessageInfomakeMessage(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 Details
-
TemplateBuilder
public TemplateBuilder()
-
-
Method Details
-
makeMessage
public org.exoplatform.commons.api.notification.model.MessageInfo makeMessage(org.exoplatform.commons.api.notification.NotificationContext ctx) - Specified by:
makeMessagein classorg.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
makeDigest
protected boolean makeDigest(org.exoplatform.commons.api.notification.NotificationContext ctx, Writer writer) - Specified by:
makeDigestin classorg.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
buildDigestMsg
-