Class ResearcherProfileItemLinkRepository

java.lang.Object
org.dspace.app.rest.repository.AbstractDSpaceRestRepository
org.dspace.app.rest.repository.ResearcherProfileItemLinkRepository
All Implemented Interfaces:
LinkRestRepository

@Component("eperson.profiles.item") public class ResearcherProfileItemLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link repository for "item" subresource of an individual researcher profile.
Author:
Luca Giamminonni (luca.giamminonni at 4science.it)
  • Constructor Details

    • ResearcherProfileItemLinkRepository

      public ResearcherProfileItemLinkRepository()
  • Method Details

    • getItem

      @PreAuthorize("hasPermission(#id, \'PROFILE\', \'READ\')") public ItemRest getItem(@Nullable jakarta.servlet.http.HttpServletRequest request, UUID id, @Nullable org.springframework.data.domain.Pageable pageable, Projection projection)
      Returns the item 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 item rest representation