Package org.dspace.app.rest.repository
Class WorkflowItemSubmitterLinkRepository
- java.lang.Object
-
- org.dspace.app.rest.repository.AbstractDSpaceRestRepository
-
- org.dspace.app.rest.repository.WorkflowItemSubmitterLinkRepository
-
- All Implemented Interfaces:
LinkRestRepository
@Component("workflow.workflowitem.submitter") public class WorkflowItemSubmitterLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepositoryLink repository for "submitter" subresource of a workflow item.
-
-
Field Summary
-
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils
-
-
Constructor Summary
Constructors Constructor Description WorkflowItemSubmitterLinkRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPersonRestgetWorkflowItemSubmitter(javax.servlet.http.HttpServletRequest request, Integer id, org.springframework.data.domain.Pageable optionalPageable, Projection projection)Retrieve the submitter for a workflow item.-
Methods inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
getRequestService, obtainContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.repository.LinkRestRepository
isEmbeddableRelation
-
-
-
-
Method Detail
-
getWorkflowItemSubmitter
@PreAuthorize("hasPermission(#id, \'WORKFLOWITEM\', \'READ\')") public EPersonRest getWorkflowItemSubmitter(@Nullable javax.servlet.http.HttpServletRequest request, Integer id, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)Retrieve the submitter for a workflow item.- Parameters:
request- - The current requestid- - The workflow item ID for which to retrieve the submitteroptionalPageable- - optional pageable objectprojection- - the current projection- Returns:
- the submitter for the workflow item
-
-