Package org.dspace.app.ldn.action
Class LDNCorrectionAction
java.lang.Object
org.dspace.app.ldn.action.LDNCorrectionAction
- All Implemented Interfaces:
LDNAction
Implementation for LDN Correction Action. It creates a QA Event according to the LDN Message received *
- Author:
- Francesco Bacchelli (francesco.bacchelli at 4science.it)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(Context context, Notification notification, Item item) Execute action for provided notification and item corresponding to the notification context.voidsetQaEventTopic(String qaEventTopic)
-
Field Details
-
itemService
-
-
Constructor Details
-
LDNCorrectionAction
public LDNCorrectionAction()
-
-
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
-
getQaEventTopic
-
setQaEventTopic
-