Class ResearcherProfileItemLinkRepository

  • All Implemented Interfaces:
    LinkRestRepository

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

      • ResearcherProfileItemLinkRepository

        public ResearcherProfileItemLinkRepository()
    • Method Detail

      • getItem

        @PreAuthorize("hasPermission(#id, \'PROFILE\', \'READ\')")
        public ItemRest getItem​(@Nullable
                                javax.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