Package org.dspace.app.requestitem
Interface RequestItemAuthorExtractor
-
- All Known Implementing Classes:
RequestItemHelpdeskStrategy,RequestItemMetadataStrategy,RequestItemSubmitterStrategy
public interface RequestItemAuthorExtractorInterface to abstract the strategy for select the author to contact for request copy- Author:
- Andrea Bollini
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestItemAuthorgetRequestItemAuthor(Context context, Item item)Retrieve the auhtor to contact for a request copy of the give item.
-
-
-
Method Detail
-
getRequestItemAuthor
RequestItemAuthor getRequestItemAuthor(Context context, Item item) throws SQLException
Retrieve the auhtor to contact for a request copy of the give item.- Parameters:
context- DSpace context objectitem- item to request- Returns:
- An object containing name an email address to send the request to or null if no valid email address was found.
- Throws:
SQLException- if database error
-
-