public abstract class BaseNotificationSender extends java.lang.Object implements NotificationSender
| Modifier and Type | Field and Description |
|---|---|
protected NotificationRecipientBuilderRegistry |
notificationRecipientBuilderRegistry |
| Constructor and Description |
|---|
BaseNotificationSender() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doSendNotification(java.util.Map<com.liferay.portal.workflow.kaleo.definition.NotificationReceptionType,java.util.Set<NotificationRecipient>> notificationRecipientsMap,
java.lang.String defaultSubject,
java.lang.String notificationMessage,
ExecutionContext executionContext) |
protected java.util.Set<NotificationRecipient> |
getDeliverableNotificationRecipients(java.util.Set<NotificationRecipient> notificationRecipients,
int notificationDeliveryType) |
protected java.util.Map<com.liferay.portal.workflow.kaleo.definition.NotificationReceptionType,java.util.Set<NotificationRecipient>> |
getNotificationRecipientsMap(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNotificationRecipient> kaleoNotificationRecipients,
ExecutionContext executionContext) |
protected java.util.Set<NotificationRecipient> |
retrieveNotificationRecipients(java.util.Map<com.liferay.portal.workflow.kaleo.definition.NotificationReceptionType,java.util.Set<NotificationRecipient>> notificationRecipientsMap,
com.liferay.portal.workflow.kaleo.definition.NotificationReceptionType notificationReceptionType) |
void |
sendNotification(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNotificationRecipient> kaleoNotificationRecipients,
java.lang.String defaultSubject,
java.lang.String notificationMessage,
ExecutionContext executionContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNotificationTypeprotected NotificationRecipientBuilderRegistry notificationRecipientBuilderRegistry
public void sendNotification(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNotificationRecipient> kaleoNotificationRecipients,
java.lang.String defaultSubject,
java.lang.String notificationMessage,
ExecutionContext executionContext)
throws NotificationMessageSenderException
sendNotification in interface NotificationSenderNotificationMessageSenderExceptionprotected abstract void doSendNotification(java.util.Map<com.liferay.portal.workflow.kaleo.definition.NotificationReceptionType,java.util.Set<NotificationRecipient>> notificationRecipientsMap, java.lang.String defaultSubject, java.lang.String notificationMessage, ExecutionContext executionContext) throws java.lang.Exception
java.lang.Exceptionprotected java.util.Set<NotificationRecipient> getDeliverableNotificationRecipients(java.util.Set<NotificationRecipient> notificationRecipients, int notificationDeliveryType) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected java.util.Map<com.liferay.portal.workflow.kaleo.definition.NotificationReceptionType,java.util.Set<NotificationRecipient>> getNotificationRecipientsMap(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNotificationRecipient> kaleoNotificationRecipients, ExecutionContext executionContext) throws java.lang.Exception
java.lang.Exceptionprotected java.util.Set<NotificationRecipient> retrieveNotificationRecipients(java.util.Map<com.liferay.portal.workflow.kaleo.definition.NotificationReceptionType,java.util.Set<NotificationRecipient>> notificationRecipientsMap, com.liferay.portal.workflow.kaleo.definition.NotificationReceptionType notificationReceptionType)