Interface EmailContextFactory<T extends BusinessProcessModel>
-
- All Known Implementing Classes:
ChineseEmailContextFactory,DefaultEmailContextFactory
public interface EmailContextFactory<T extends BusinessProcessModel>Interface used to create the velocity context for rendering emails.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractEmailContext<T>create(T businessProcessModel, EmailPageModel emailPageModel, RendererTemplateModel renderTemplate)Create the velocity context for rendering an email.
-
-
-
Method Detail
-
create
AbstractEmailContext<T> create(T businessProcessModel, EmailPageModel emailPageModel, RendererTemplateModel renderTemplate)
Create the velocity context for rendering an email. ARendererTemplateModelis passed in that may contain the reference to one or more properties files for generating context data for the subject and body sections of the email.- Parameters:
businessProcessModel- the process modelemailPageModel- the CMS email pagerenderTemplate- the renderer template- Returns:
- the velocity context
-
-