Package org.dspace.app.rest.repository
Class EPersonGroupLinkRepository
java.lang.Object
org.dspace.app.rest.repository.AbstractDSpaceRestRepository
org.dspace.app.rest.repository.EPersonGroupLinkRepository
- All Implemented Interfaces:
LinkRestRepository
@Component("eperson.epersons.groups")
public class EPersonGroupLinkRepository
extends AbstractDSpaceRestRepository
implements LinkRestRepository
Link repository for the direct "groups" subresource of an individual eperson.
-
Field Summary
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<GroupRest>getGroups(jakarta.servlet.http.HttpServletRequest request, UUID epersonId, org.springframework.data.domain.Pageable optionalPageable, Projection projection) Methods inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
getRequestService, obtainContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.repository.LinkRestRepository
isEmbeddableRelation
-
Constructor Details
-
EPersonGroupLinkRepository
public EPersonGroupLinkRepository()
-
-
Method Details
-
getGroups
@PreAuthorize("hasPermission(#epersonId, \'EPERSON\', \'READ\')") public org.springframework.data.domain.Page<GroupRest> getGroups(@Nullable jakarta.servlet.http.HttpServletRequest request, UUID epersonId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)
-