Class CollectionSubmitterGroupLinkRepository

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

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

    • CollectionSubmitterGroupLinkRepository

      public CollectionSubmitterGroupLinkRepository()
  • Method Details

    • getSubmittersGroup

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