Class ItemThumbnailLinkRepository

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

@Component("core.items.thumbnail") public class ItemThumbnailLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link repository for the thumbnail Bitstream of an Item
  • Constructor Details

    • ItemThumbnailLinkRepository

      public ItemThumbnailLinkRepository()
  • Method Details

    • getThumbnail

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