Class ResearcherProfileEPersonLinkRepository

  • All Implemented Interfaces:
    LinkRestRepository

    @Component("eperson.profile.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 Detail

      • ResearcherProfileEPersonLinkRepository

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