Package org.dspace.app.ldn.action
Class SendLDNMessageAction
java.lang.Object
org.dspace.app.ldn.action.SendLDNMessageAction
- All Implemented Interfaces:
LDNAction
Action to send LDN Message
- Author:
- Mohamed Eskander (mohamed.eskander at 4science.com)
-
Constructor Summary
ConstructorsConstructorDescriptionSendLDNMessageAction(org.apache.http.impl.client.CloseableHttpClient client) -
Method Summary
Modifier and TypeMethodDescriptionexecute(Context context, Notification notification, Item item) Execute action for provided notification and item corresponding to the notification context.
-
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:LDNActionExecute action for provided notification and item corresponding to the notification context.- Specified by:
executein interfaceLDNAction- Parameters:
context- the contextnotification- the processed notification to perform action againstitem- 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
-