Package de.hybris.platform.workflow.impl
Class DefaultEmailService
java.lang.Object
de.hybris.platform.workflow.impl.DefaultEmailService
- All Implemented Interfaces:
EmailService
Default implementation of
EmailService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.mail.HtmlEmailCreates activation e-mail for the givenactionThis is performed right after the activation of the action.voidsetL10nService(L10NService l10nService) voidsetRendererService(RendererService rendererService) voidsetSessionService(SessionService sessionService) voidsetVelocityTemplateRenderer(VelocityTemplateRenderer velocityTemplateRenderer)
-
Constructor Details
-
DefaultEmailService
public DefaultEmailService()
-
-
Method Details
-
createActivationEmail
Description copied from interface:EmailServiceCreates activation e-mail for the givenactionThis is performed right after the activation of the action.- Specified by:
createActivationEmailin interfaceEmailService- Parameters:
action- which has been just activated- Returns:
- created e-mail as
HtmlEmailobject.
-
setRendererService
- Parameters:
rendererService- the rendererService to set
-
setSessionService
- Parameters:
sessionService- the sessionService to set
-
createWorkflowMailContext
- Returns:
- the new workflowMailContext
-
setL10nService
- Parameters:
l10nService- the l10nService to set
-
getVelocityTemplateRenderer
- Returns:
- the velocityTemplateRenderer
-
setVelocityTemplateRenderer
- Parameters:
velocityTemplateRenderer- the velocityTemplateRenderer to set
-