Class GroupParentObjectLinkRepository

    • Constructor Detail

      • GroupParentObjectLinkRepository

        public GroupParentObjectLinkRepository()
    • Method Detail

      • getParentObject

        @PreAuthorize("hasPermission(#groupId, \'GROUP\', \'READ\') or hasAuthority(\'ADMIN\')")
        public DSpaceObjectRest getParentObject​(@Nullable
                                                javax.servlet.http.HttpServletRequest request,
                                                UUID groupId,
                                                @Nullable
                                                org.springframework.data.domain.Pageable optionalPageable,
                                                Projection projection)
        This returns the DSpace Object (Community, Collection) belonging to this Group. This is only applicable for roles in that DSpace Object e.g. the Community Administrator or Collection Submitter Group