Package org.dspace.app.rest.repository
Class ItemOwningCollectionLinkRepository
java.lang.Object
org.dspace.app.rest.repository.AbstractDSpaceRestRepository
org.dspace.app.rest.repository.ItemOwningCollectionLinkRepository
- All Implemented Interfaces:
LinkRestRepository
@Component("core.items.owningCollection")
public class ItemOwningCollectionLinkRepository
extends AbstractDSpaceRestRepository
implements LinkRestRepository
Link repository for "owningCollection" subresource of an individual item.
-
Field Summary
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOwningCollection(jakarta.servlet.http.HttpServletRequest request, UUID itemId, org.springframework.data.domain.Pageable optionalPageable, Projection projection) 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
-
ItemOwningCollectionLinkRepository
public ItemOwningCollectionLinkRepository()
-
-
Method Details
-
getOwningCollection
@PreAuthorize("hasPermission(#itemId, \'ITEM\', \'READ\')") public CollectionRest getOwningCollection(@Nullable jakarta.servlet.http.HttpServletRequest request, UUID itemId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)
-