Package org.dspace.app.ldn.action
Class LDNEmailAction
java.lang.Object
org.dspace.app.ldn.action.LDNEmailAction
- All Implemented Interfaces:
LDNAction
Action to send email to recipients provided in actionSendFilter. The email
body will be result of templating actionSendFilter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(Context context, Notification notification, Item item) Execute sending an email.voidsetActionSendEmailTextFile(String actionSendEmailTextFile) voidsetActionSendFilter(String actionSendFilter)
-
Constructor Details
-
LDNEmailAction
public LDNEmailAction()
-
-
Method Details
-
execute
public LDNActionStatus execute(Context context, Notification notification, Item item) throws Exception Execute sending an email. Template context parameters: {0} Service Name {1} Item Name {2} Service URL {3} Item URL {4} Submitter's Name {5} Date of the received LDN notification {6} LDN notification {7} Item -
getActionSendFilter
- Returns:
- String
-
setActionSendFilter
- Parameters:
actionSendFilter-
-
getActionSendEmailTextFile
- Returns:
- String
-
setActionSendEmailTextFile
- Parameters:
actionSendEmailTextFile-
-