Class CommunityAdminGroupLinkRepository

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

@Component("core.communities.adminGroup") public class CommunityAdminGroupLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link repository for "admingroup" subresource of an individual community.
  • Constructor Details

    • CommunityAdminGroupLinkRepository

      public CommunityAdminGroupLinkRepository()
  • Method Details

    • getAdminGroup

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