Package org.dspace.app.rest.repository
Class ResearcherProfileItemLinkRepository
- java.lang.Object
-
- org.dspace.app.rest.repository.AbstractDSpaceRestRepository
-
- org.dspace.app.rest.repository.ResearcherProfileItemLinkRepository
-
- All Implemented Interfaces:
LinkRestRepository
@Component("eperson.profile.item") public class ResearcherProfileItemLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepositoryLink repository for "item" 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 ResearcherProfileItemLinkRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemRestgetItem(javax.servlet.http.HttpServletRequest request, UUID id, org.springframework.data.domain.Pageable pageable, Projection projection)Returns the item 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
-
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 requestid- the profile UUIDpageable- the optional pageableprojection- the projection object- Returns:
- the item rest representation
-
-