Interface EmailContextFactory<T extends BusinessProcessModel>

    • Method Detail

      • create

        AbstractEmailContext<T> create​(T businessProcessModel,
                                       EmailPageModel emailPageModel,
                                       RendererTemplateModel renderTemplate)
        Create the velocity context for rendering an email. A RendererTemplateModel is 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 model
        emailPageModel - the CMS email page
        renderTemplate - the renderer template
        Returns:
        the velocity context