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)
  • 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 request
      id - the profile UUID
      pageable - the optional pageable
      projection - the projection object
      Returns:
      the ePerson rest representation