Package org.dspace.app.requestitem
Class RequestItemSubmitterStrategy
java.lang.Object
org.dspace.app.requestitem.RequestItemSubmitterStrategy
- All Implemented Interfaces:
RequestItemAuthorExtractor
- Direct Known Subclasses:
RequestItemHelpdeskStrategy,RequestItemMetadataStrategy
Basic strategy that looks to the original submitter.
- Author:
- Andrea Bollini
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRequestItemAuthor(Context context, Item item) Returns the submitter of an Item as RequestItemAuthor or an empty List if the Submitter is deleted.
-
Constructor Details
-
RequestItemSubmitterStrategy
public RequestItemSubmitterStrategy()
-
-
Method Details
-
getRequestItemAuthor
@NonNull public List<RequestItemAuthor> getRequestItemAuthor(Context context, Item item) throws SQLException Returns the submitter of an Item as RequestItemAuthor or an empty List if the Submitter is deleted.- Specified by:
getRequestItemAuthorin interfaceRequestItemAuthorExtractor- Parameters:
context- DSpace context objectitem- item to request- Returns:
- The submitter of the item or empty List if the submitter is deleted
- Throws:
SQLException- if database error
-