Class DefaultNotificationService
java.lang.Object
org.kuali.rice.kew.notification.service.impl.DefaultNotificationService
- All Implemented Interfaces:
NotificationService
The default implementation of the NotificationService.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisItemOriginatingFromSave(ActionItem actionItem) Returns true if the ActionItem doesn't represent a request generated from a "SAVE" action or, if it does, returns true if the document type policyvoidnotify(List<ActionItem> actionItems) Queues up immediate email processors for ActionItem notification.voidremoveNotification(List<ActionItem> actionItems) Remove notifications for action items that are being deletedprotected voidsendNotification(ActionItem actionItem) Sends a notificationprotected booleanshouldNotify(ActionItem actionItem) protected booleanshouldNotifyOnSave(ActionItem actionItem)
-
Field Details
-
LOG
protected final org.apache.logging.log4j.Logger LOG
-
-
Constructor Details
-
DefaultNotificationService
public DefaultNotificationService()
-
-
Method Details
-
notify
Queues up immediate email processors for ActionItem notification. Prioritizes the list of Action Items passed in and attempts to not send out multiple emails to the same user.- Specified by:
notifyin interfaceNotificationService
-
sendNotification
Sends a notification- Parameters:
actionItem- the action item
-
shouldNotify
-
isItemOriginatingFromSave
Returns true if the ActionItem doesn't represent a request generated from a "SAVE" action or, if it does, returns true if the document type policy -
shouldNotifyOnSave
-
removeNotification
Description copied from interface:NotificationServiceRemove notifications for action items that are being deleted- Specified by:
removeNotificationin interfaceNotificationService- Parameters:
actionItems- actionItems that are being deleted
-