Package org.dspace.app.rest.repository
Class ResearcherProfileEPersonLinkRepository
java.lang.Object
org.dspace.app.rest.repository.AbstractDSpaceRestRepository
org.dspace.app.rest.repository.ResearcherProfileEPersonLinkRepository
- All Implemented Interfaces:
LinkRestRepository
@Component("eperson.profiles.eperson")
public class ResearcherProfileEPersonLinkRepository
extends AbstractDSpaceRestRepository
implements LinkRestRepository
Link repository for "ePerson" subresource of an individual researcher
profile.
- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
Field Summary
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEPerson(jakarta.servlet.http.HttpServletRequest request, UUID id, org.springframework.data.domain.Pageable pageable, Projection projection) Returns the ePerson related to the Research profile with the given UUID.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
-
ResearcherProfileEPersonLinkRepository
public ResearcherProfileEPersonLinkRepository()
-
-
Method Details
-
getEPerson
@PreAuthorize("hasPermission(#id, \'EPERSON\', \'READ\')") public EPersonRest getEPerson(@Nullable jakarta.servlet.http.HttpServletRequest request, UUID id, @Nullable org.springframework.data.domain.Pageable pageable, Projection projection) Returns the ePerson related to the Research profile with the given UUID.- Parameters:
request- the http servlet requestid- the profile UUIDpageable- the optional pageableprojection- the projection object- Returns:
- the ePerson rest representation
-