Package org.dspace.app.rest.repository
Class WorkspaceItemItemLinkRepository
- java.lang.Object
-
- org.dspace.app.rest.repository.AbstractDSpaceRestRepository
-
- org.dspace.app.rest.repository.WorkspaceItemItemLinkRepository
-
- All Implemented Interfaces:
LinkRestRepository
@Component("submission.workspaceitem.item") public class WorkspaceItemItemLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepositoryLink repository for "item" subresource of a workspace item.
-
-
Field Summary
-
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils
-
-
Constructor Summary
Constructors Constructor Description WorkspaceItemItemLinkRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemRestgetWorkspaceItemItem(javax.servlet.http.HttpServletRequest request, Integer id, org.springframework.data.domain.Pageable optionalPageable, Projection projection)Retrieve the item for a workspace 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
-
getWorkspaceItemItem
@PreAuthorize("hasPermission(#id, \'WORKSPACEITEM\', \'READ\')") public ItemRest getWorkspaceItemItem(@Nullable javax.servlet.http.HttpServletRequest request, Integer id, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)Retrieve the item for a workspace item.- Parameters:
request- - The current requestid- - The workspace item ID for which to retrieve the itemoptionalPageable- - optional pageable objectprojection- - the current projection- Returns:
- the item for the workspace item
-
-