Interface LDNAction

All Known Implementing Classes:
LDNCorrectionAction, LDNEmailAction, LDNRelationCorrectionAction, SendLDNMessageAction

public interface LDNAction
An action that is run after a notification has been processed.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(Context context, Notification notification, Item item)
    Execute action for provided notification and item corresponding to the notification context.
  • Method Details

    • execute

      LDNActionStatus execute(Context context, Notification notification, Item item) throws Exception
      Execute action for provided notification and item corresponding to the notification context.
      Parameters:
      context - the context
      notification - the processed notification to perform action against
      item - the item corresponding to the notification context
      Returns:
      ActionStatus the resulting status of the action
      Throws:
      Exception - general exception that can be thrown while executing action