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.profile.eperson") public class ResearcherProfileEPersonLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepositoryLink 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 Constructor Description ResearcherProfileEPersonLinkRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EPersonRestgetEPerson(javax.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, obtainContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.repository.LinkRestRepository
isEmbeddableRelation
-
-
-
-
Method Detail
-
getEPerson
@PreAuthorize("hasPermission(#id, \'EPERSON\', \'READ\')") public EPersonRest getEPerson(@Nullable javax.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
-
-