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
public class CollectionAdministratorsRequestItemStrategy extends RequestItemHelpdeskStrategy
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 toRequestItemHelpdeskStrategy.- Author:
- Mark H. Wood
-
-
Field Summary
-
Fields inherited from class org.dspace.app.requestitem.RequestItemHelpdeskStrategy
configurationService, ePersonService
-
-
Constructor Summary
Constructors Constructor Description CollectionAdministratorsRequestItemStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RequestItemAuthor>getRequestItemAuthor(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
-
-
-
-
Method Detail
-
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
-
-