Package org.dspace.app.rest.repository
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.
-
Field Summary
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSubmittersGroup(jakarta.servlet.http.HttpServletRequest request, UUID collectionId, org.springframework.data.domain.Pageable optionalPageable, Projection projection) This method is responsible for retrieving the Submittergroup of a CollectionMethods 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
-
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 requestcollectionId- The id of the collection that we'll retrieve the submitterGroup foroptionalPageable- The pageable if applicableprojection- The current Projection- Returns:
- The submitterGroup of the given collection
-