Class CollectionAdminGroupLinkRepository

    • Constructor Detail

      • CollectionAdminGroupLinkRepository

        public CollectionAdminGroupLinkRepository()
    • Method Detail

      • getAdminGroup

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