public class DefaultEmailService extends java.lang.Object implements EmailService
EmailService| Constructor and Description |
|---|
DefaultEmailService() |
| Modifier and Type | Method and Description |
|---|---|
HtmlEmail |
createActivationEmail(WorkflowActionModel action)
Creates activation e-mail for the given
action This is performed right after the activation of the
action. |
WorkflowMailContext |
createWorkflowMailContext() |
VelocityTemplateRenderer |
getVelocityTemplateRenderer() |
void |
setL10nService(L10NService l10nService) |
void |
setRendererService(RendererService rendererService) |
void |
setSessionService(SessionService sessionService) |
void |
setVelocityTemplateRenderer(VelocityTemplateRenderer velocityTemplateRenderer) |
public HtmlEmail createActivationEmail(WorkflowActionModel action)
EmailServiceaction This is performed right after the activation of the
action.createActivationEmail in interface EmailServiceaction - which has been just activatedHtmlEmail object.public void setRendererService(RendererService rendererService)
rendererService - the rendererService to setpublic void setSessionService(SessionService sessionService)
sessionService - the sessionService to setpublic WorkflowMailContext createWorkflowMailContext()
public void setL10nService(L10NService l10nService)
l10nService - the l10nService to setpublic VelocityTemplateRenderer getVelocityTemplateRenderer()
public void setVelocityTemplateRenderer(VelocityTemplateRenderer velocityTemplateRenderer)
velocityTemplateRenderer - the velocityTemplateRenderer to setCopyright © 2018 SAP SE. All Rights Reserved.