public class TemplateNotificationMessageGenerator
extends java.lang.Object
implements com.liferay.portal.workflow.kaleo.runtime.notification.NotificationMessageGenerator
| Constructor and Description |
|---|
TemplateNotificationMessageGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
java.lang.String |
generateMessage(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String notificationName,
java.lang.String notificationTemplateLanguage,
java.lang.String notificationTemplate,
com.liferay.portal.workflow.kaleo.runtime.ExecutionContext executionContext) |
protected void |
populateContextVariables(com.liferay.portal.kernel.template.Template template,
com.liferay.portal.workflow.kaleo.runtime.ExecutionContext executionContext) |
public TemplateNotificationMessageGenerator()
public java.lang.String generateMessage(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String notificationName,
java.lang.String notificationTemplateLanguage,
java.lang.String notificationTemplate,
com.liferay.portal.workflow.kaleo.runtime.ExecutionContext executionContext)
throws com.liferay.portal.workflow.kaleo.runtime.notification.NotificationMessageGenerationException
generateMessage in interface com.liferay.portal.workflow.kaleo.runtime.notification.NotificationMessageGeneratorcom.liferay.portal.workflow.kaleo.runtime.notification.NotificationMessageGenerationExceptionprotected void activate()
protected void populateContextVariables(com.liferay.portal.kernel.template.Template template,
com.liferay.portal.workflow.kaleo.runtime.ExecutionContext executionContext)
throws java.lang.Exception
java.lang.Exception