Class ActionAnnouncedTemplateBuilder
java.lang.Object
org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
io.meeds.gamification.notification.provider.builder.ActionAnnouncedTemplateBuilder
public class ActionAnnouncedTemplateBuilder
extends org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionActionAnnouncedTemplateBuilder(RuleService ruleService, AnnouncementService announcementService, io.meeds.social.translation.service.TranslationService translationService, org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, boolean pushNotification) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanmakeDigest(org.exoplatform.commons.api.notification.NotificationContext ctx, Writer writer) protected 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
-
ActionAnnouncedTemplateBuilder
public ActionAnnouncedTemplateBuilder(RuleService ruleService, AnnouncementService announcementService, io.meeds.social.translation.service.TranslationService translationService, org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, boolean pushNotification)
-
-
Method Details
-
makeMessage
protected 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
-