Package org.dspace.app.rest.repository
Class WorkflowItemItemLinkRepository
java.lang.Object
org.dspace.app.rest.repository.AbstractDSpaceRestRepository
org.dspace.app.rest.repository.WorkflowItemItemLinkRepository
- All Implemented Interfaces:
LinkRestRepository
@Component("workflow.workflowitems.item")
public class WorkflowItemItemLinkRepository
extends AbstractDSpaceRestRepository
implements LinkRestRepository
Link repository for "item" subresource of a workflow item.
-
Field Summary
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWorkflowItemItem(jakarta.servlet.http.HttpServletRequest request, Integer id, org.springframework.data.domain.Pageable optionalPageable, Projection projection) Retrieve the item for a workflow item.Methods inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
getRequestService, obtainContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.repository.LinkRestRepository
isEmbeddableRelation
-
Constructor Details
-
WorkflowItemItemLinkRepository
public WorkflowItemItemLinkRepository()
-
-
Method Details
-
getWorkflowItemItem
@PreAuthorize("hasPermission(#id, \'WORKFLOWITEM\', \'READ\')") public ItemRest getWorkflowItemItem(@Nullable jakarta.servlet.http.HttpServletRequest request, Integer id, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection) Retrieve the item for a workflow item.- Parameters:
request- - The current requestid- - The workflow item ID for which to retrieve the itemoptionalPageable- - optional pageable objectprojection- - the current projection- Returns:
- the item for the workflow item
-