Class CommunityAdminGroupLinkRepository

    • Constructor Detail

      • CommunityAdminGroupLinkRepository

        public CommunityAdminGroupLinkRepository()
    • Method Detail

      • getAdminGroup

        @PreAuthorize("hasPermission(#communityId, \'COMMUNITY\', \'READ\')")
        public GroupRest getAdminGroup​(@Nullable
                                       javax.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