Class CommunitySubcommunityLinkRepository

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

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

    • CommunitySubcommunityLinkRepository

      public CommunitySubcommunityLinkRepository()
  • Method Details

    • getSubcommunities

      @PreAuthorize("hasPermission(#communityId, \'COMMUNITY\', \'READ\')") public org.springframework.data.domain.Page<CommunityRest> getSubcommunities(@Nullable jakarta.servlet.http.HttpServletRequest request, UUID communityId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)