Class KudosTemplateBuilder
java.lang.Object
org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
io.meeds.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 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
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
-
getI18N
protected org.exoplatform.social.core.activity.model.ExoSocialActivity getI18N(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, Locale locale)
-