public class EmailNotificationSender
extends com.liferay.portal.workflow.kaleo.runtime.notification.BaseNotificationSender
implements com.liferay.portal.workflow.kaleo.runtime.notification.NotificationSender
| Constructor and Description |
|---|
EmailNotificationSender() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(java.util.Map<java.lang.String,java.lang.Object> properties) |
protected void |
doSendNotification(java.util.Map<com.liferay.portal.workflow.kaleo.definition.NotificationReceptionType,java.util.Set<com.liferay.portal.workflow.kaleo.runtime.notification.NotificationRecipient>> notificationRecipients,
java.lang.String defaultSubject,
java.lang.String notificationMessage,
com.liferay.portal.workflow.kaleo.runtime.ExecutionContext executionContext) |
protected javax.mail.internet.InternetAddress[] |
getInternetAddresses(java.util.Set<com.liferay.portal.workflow.kaleo.runtime.notification.NotificationRecipient> notificationRecipients) |
getNotificationRecipientsMap, retrieveNotificationRecipients, sendNotificationprotected void activate(java.util.Map<java.lang.String,java.lang.Object> properties)
protected void doSendNotification(java.util.Map<com.liferay.portal.workflow.kaleo.definition.NotificationReceptionType,java.util.Set<com.liferay.portal.workflow.kaleo.runtime.notification.NotificationRecipient>> notificationRecipients,
java.lang.String defaultSubject,
java.lang.String notificationMessage,
com.liferay.portal.workflow.kaleo.runtime.ExecutionContext executionContext)
throws java.lang.Exception
doSendNotification in class com.liferay.portal.workflow.kaleo.runtime.notification.BaseNotificationSenderjava.lang.Exceptionprotected javax.mail.internet.InternetAddress[] getInternetAddresses(java.util.Set<com.liferay.portal.workflow.kaleo.runtime.notification.NotificationRecipient> notificationRecipients)
throws javax.mail.internet.AddressException,
java.io.UnsupportedEncodingException
javax.mail.internet.AddressExceptionjava.io.UnsupportedEncodingException