Class CollectionItemReadGroupLinkRepository

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

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

    • CollectionItemReadGroupLinkRepository

      public CollectionItemReadGroupLinkRepository()
  • Method Details

    • getItemReadGroup

      @PreAuthorize("hasPermission(#collectionId, \'COLLECTION\', \'READ\')") public GroupRest getItemReadGroup(@Nullable jakarta.servlet.http.HttpServletRequest request, UUID collectionId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)
      This method is responsible for retrieving the ItemReadGroup of a Collection
      Parameters:
      request - The current request
      collectionId - The id of the collection that we'll retrieve the ItemReadGroup for
      optionalPageable - The pageable if applicable
      projection - The current Projection
      Returns:
      The ItemReadGroup of the given collection