Class KudosTemplateBuilder
java.lang.Object
org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
org.exoplatform.kudos.notification.builder.KudosTemplateBuilder
public class KudosTemplateBuilder
extends org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionKudosTemplateBuilder(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, boolean pushNotification, org.exoplatform.social.common.xmlprocessor.XMLProcessor xmlProcessor) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.exoplatform.social.core.activity.model.ExoSocialActivityprotected 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
-
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:
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
-
getI18N
protected org.exoplatform.social.core.activity.model.ExoSocialActivity getI18N(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, Locale locale)
-