Class DefaultNotificationService

java.lang.Object
org.kuali.rice.kew.notification.service.impl.DefaultNotificationService
All Implemented Interfaces:
NotificationService

public class DefaultNotificationService extends Object implements NotificationService
The default implementation of the NotificationService.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Details

    • LOG

      protected final org.apache.logging.log4j.Logger LOG
  • Constructor Details

    • DefaultNotificationService

      public DefaultNotificationService()
  • Method Details

    • notify

      public void notify(List<ActionItem> actionItems)
      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:
      notify in interface NotificationService
    • sendNotification

      protected void sendNotification(ActionItem actionItem)
      Sends a notification
      Parameters:
      actionItem - the action item
    • shouldNotify

      protected boolean shouldNotify(ActionItem actionItem)
    • isItemOriginatingFromSave

      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
    • shouldNotifyOnSave

      protected boolean shouldNotifyOnSave(ActionItem actionItem)
    • removeNotification

      public void removeNotification(List<ActionItem> actionItems)
      Description copied from interface: NotificationService
      Remove notifications for action items that are being deleted
      Specified by:
      removeNotification in interface NotificationService
      Parameters:
      actionItems - actionItems that are being deleted