Class CollectionBitstreamReadGroupLinkRepository

java.lang.Object
org.dspace.app.rest.repository.AbstractDSpaceRestRepository
org.dspace.app.rest.repository.CollectionBitstreamReadGroupLinkRepository
All Implemented Interfaces:
LinkRestRepository

@Component("core.collections.bitstreamReadGroup") public class CollectionBitstreamReadGroupLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link repository for "BitstreamReadGroup" subresource of an individual collection.
  • Constructor Details

    • CollectionBitstreamReadGroupLinkRepository

      public CollectionBitstreamReadGroupLinkRepository()
  • Method Details

    • getBitstreamReadGroup

      @PreAuthorize("hasPermission(#collectionId, \'COLLECTION\', \'READ\')") public GroupRest getBitstreamReadGroup(@Nullable jakarta.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 request
      collectionId - The id of the collection that we'll retrieve the BitstreamReadGroup for
      optionalPageable - The pageable if applicable
      projection - The current Projection
      Returns:
      The BitstreamReadGroup of the given collection