Class ItemRelationshipLinkRepository

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

@Component("core.items.relationships") public class ItemRelationshipLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link repository for "relationships" subresource of an individual item.
  • Constructor Details

    • ItemRelationshipLinkRepository

      public ItemRelationshipLinkRepository()
  • Method Details

    • getRelationships

      @PreAuthorize("hasPermission(#itemId, \'ITEM\', \'READ\')") public org.springframework.data.domain.Page<RelationshipRest> getRelationships(@Nullable jakarta.servlet.http.HttpServletRequest request, UUID itemId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)