Package org.dspace.app.requestitem
Class CollectionAdministratorsRequestItemStrategy
java.lang.Object
org.dspace.app.requestitem.RequestItemSubmitterStrategy
org.dspace.app.requestitem.RequestItemHelpdeskStrategy
org.dspace.app.requestitem.CollectionAdministratorsRequestItemStrategy
- All Implemented Interfaces:
RequestItemAuthorExtractor
Derive request recipients from groups of the Collection which owns an Item.
The list will include all members of the administrators group. If the
resulting list is empty, delegates to
RequestItemHelpdeskStrategy.- Author:
- Mark H. Wood <mwood@iupui.edu>
-
Field Summary
Fields inherited from class org.dspace.app.requestitem.RequestItemHelpdeskStrategy
configurationService, ePersonService -
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.Methods inherited from class org.dspace.app.requestitem.RequestItemHelpdeskStrategy
getHelpDeskPerson
-
Constructor Details
-
CollectionAdministratorsRequestItemStrategy
public CollectionAdministratorsRequestItemStrategy()
-
-
Method Details
-
getRequestItemAuthor
@NonNull public List<RequestItemAuthor> getRequestItemAuthor(Context context, Item item) throws SQLException Description copied from class:RequestItemSubmitterStrategyReturns the submitter of an Item as RequestItemAuthor or an empty List if the Submitter is deleted.- Specified by:
getRequestItemAuthorin interfaceRequestItemAuthorExtractor- Overrides:
getRequestItemAuthorin classRequestItemHelpdeskStrategy- 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
-