public class DefaultNotificationService extends Object implements NotificationService
Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
LOG |
Constructor and Description |
---|
DefaultNotificationService() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isItemOriginatingFromSave(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 policy
|
void |
notify(List<ActionItem> actionItems)
Queues up immediate email processors for ActionItem notification.
|
void |
removeNotification(List<ActionItem> actionItems)
Remove notifications for action items that are being deleted
|
protected void |
sendNotification(ActionItem actionItem)
Sends a notification
|
protected boolean |
shouldNotify(ActionItem actionItem) |
protected boolean |
shouldNotifyOnSave(ActionItem actionItem) |
protected final org.apache.log4j.Logger LOG
public DefaultNotificationService()
public void notify(List<ActionItem> actionItems)
notify
in interface NotificationService
protected void sendNotification(ActionItem actionItem)
actionItem
- the action itemprotected boolean shouldNotify(ActionItem actionItem)
protected boolean isItemOriginatingFromSave(ActionItem actionItem)
protected boolean shouldNotifyOnSave(ActionItem actionItem)
public void removeNotification(List<ActionItem> actionItems)
NotificationService
removeNotification
in interface NotificationService
actionItems
- actionItems that are being deletedCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.