Package org.dspace.app.rest.repository
Class CollectionBitstreamReadGroupLinkRepository
- java.lang.Object
-
- org.dspace.app.rest.repository.AbstractDSpaceRestRepository
-
- org.dspace.app.rest.repository.CollectionBitstreamReadGroupLinkRepository
-
- All Implemented Interfaces:
LinkRestRepository
@Component("core.collection.bitstreamReadGroup") public class CollectionBitstreamReadGroupLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepositoryLink repository for "BitstreamReadGroup" subresource of an individual collection.
-
-
Field Summary
-
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils
-
-
Constructor Summary
Constructors Constructor Description CollectionBitstreamReadGroupLinkRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupRestgetBitstreamReadGroup(javax.servlet.http.HttpServletRequest request, UUID collectionId, org.springframework.data.domain.Pageable optionalPageable, Projection projection)This method is responsible for retrieving the BitstreamReadGroup of a Collection-
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
-
getBitstreamReadGroup
@PreAuthorize("hasPermission(#collectionId, \'COLLECTION\', \'READ\')") public GroupRest getBitstreamReadGroup(@Nullable javax.servlet.http.HttpServletRequest request, UUID collectionId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)This method is responsible for retrieving the BitstreamReadGroup of a Collection- Parameters:
request- The current requestcollectionId- The id of the collection that we'll retrieve the BitstreamReadGroup foroptionalPageable- The pageable if applicableprojection- The current Projection- Returns:
- The BitstreamReadGroup of the given collection
-
-