Class ReminderTemplateBuilder
java.lang.Object
org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
org.exoplatform.agenda.notification.builder.ReminderTemplateBuilder
public class ReminderTemplateBuilder
extends org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionReminderTemplateBuilder(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, org.exoplatform.container.ExoContainer container, org.exoplatform.commons.api.notification.model.PluginKey key, boolean isPushNotification) -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.social.core.space.spi.SpaceServicegroovy.text.Templateorg.exoplatform.commons.api.notification.channel.template.TemplateProviderprotected booleanmakeDigest(org.exoplatform.commons.api.notification.NotificationContext notificationContext, 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, setTemplateEngine
-
Constructor Details
-
ReminderTemplateBuilder
public ReminderTemplateBuilder(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, org.exoplatform.container.ExoContainer container, org.exoplatform.commons.api.notification.model.PluginKey key, boolean isPushNotification)
-
-
Method Details
-
getTemplateEngine
public groovy.text.Template getTemplateEngine()- Overrides:
getTemplateEnginein classorg.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
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 notificationContext, Writer writer) - Specified by:
makeDigestin classorg.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
-
getTemplateProvider
public org.exoplatform.commons.api.notification.channel.template.TemplateProvider getTemplateProvider() -
getSpaceService
public org.exoplatform.social.core.space.spi.SpaceService getSpaceService()
-