Class ParticipationConfirmedTemplateBuilder
java.lang.Object
org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
org.exoplatform.agenda.notification.builder.ParticipationConfirmedTemplateBuilder
public class ParticipationConfirmedTemplateBuilder
extends org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder
Builds the "Participation confirmation" message of one channel. A guest
without an account is told by mail only, the channel the invitation reached
them through: the other channels build nothing for them.
-
Constructor Summary
ConstructorsConstructorDescriptionParticipationConfirmedTemplateBuilder(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, org.exoplatform.container.ExoContainer container, org.exoplatform.commons.api.notification.model.PluginKey key, boolean pushNotification, boolean mailNotification) -
Method Summary
Modifier and TypeMethodDescriptiongroovy.text.Templateorg.exoplatform.commons.api.notification.channel.template.TemplateProviderprotected 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, setTemplateEngine
-
Constructor Details
-
ParticipationConfirmedTemplateBuilder
public ParticipationConfirmedTemplateBuilder(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, org.exoplatform.container.ExoContainer container, org.exoplatform.commons.api.notification.model.PluginKey key, boolean pushNotification, boolean mailNotification) - Parameters:
templateProvider- the provider of the channel's templatecontainer- the portal containerkey- the notification's plugin keypushNotification- whether the channel is the mobile push, whose subject is the event's linkmailNotification- whether the channel is the mail, the only one a guest is told through
-
-
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
-
getTemplateProvider
public org.exoplatform.commons.api.notification.channel.template.TemplateProvider getTemplateProvider()
-