Class SendLDNMessageAction

java.lang.Object
org.dspace.app.ldn.action.SendLDNMessageAction
All Implemented Interfaces:
LDNAction

public class SendLDNMessageAction extends Object implements LDNAction
Action to send LDN Message
Author:
Mohamed Eskander (mohamed.eskander at 4science.com)
  • Constructor Details

    • SendLDNMessageAction

      public SendLDNMessageAction()
    • SendLDNMessageAction

      public SendLDNMessageAction(org.apache.http.impl.client.CloseableHttpClient client)
  • Method Details

    • execute

      public LDNActionStatus execute(Context context, Notification notification, Item item) throws Exception
      Description copied from interface: LDNAction
      Execute action for provided notification and item corresponding to the notification context.
      Specified by:
      execute in interface LDNAction
      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