Class RewardSuccessTemplateBuilder
java.lang.Object
org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
org.exoplatform.wallet.reward.notification.RewardSuccessTemplateBuilder
public class RewardSuccessTemplateBuilder
extends org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionRewardSuccessTemplateBuilder(org.exoplatform.container.PortalContainer container, org.exoplatform.wallet.reward.service.RewardSettingsService rewardSettingsService, org.exoplatform.commons.api.notification.model.ChannelKey channelKey) -
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
-
RewardSuccessTemplateBuilder
public RewardSuccessTemplateBuilder(org.exoplatform.container.PortalContainer container, org.exoplatform.wallet.reward.service.RewardSettingsService rewardSettingsService, org.exoplatform.commons.api.notification.model.ChannelKey channelKey)
-
-
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
-