Package org.dspace.app.rest.repository
Class BitstreamThumbnailLinkRepository
- java.lang.Object
-
- org.dspace.app.rest.repository.AbstractDSpaceRestRepository
-
- org.dspace.app.rest.repository.BitstreamThumbnailLinkRepository
-
- All Implemented Interfaces:
LinkRestRepository
@Component("core.bitstream.thumbnail") public class BitstreamThumbnailLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepositoryLink repository for the thumbnail Bitstream of a Bitstream
-
-
Field Summary
-
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils
-
-
Constructor Summary
Constructors Constructor Description BitstreamThumbnailLinkRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitstreamRestgetThumbnail(javax.servlet.http.HttpServletRequest request, UUID bitstreamId, org.springframework.data.domain.Pageable optionalPageable, Projection projection)-
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
-
getThumbnail
@PreAuthorize("hasPermission(#bitstreamId, \'BITSTREAM\', \'READ\')") public BitstreamRest getThumbnail(@Nullable javax.servlet.http.HttpServletRequest request, UUID bitstreamId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)
-
-