Class BitstreamFormatLinkRepository

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

@Component("core.bitstreams.format") public class BitstreamFormatLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link repository for "format" subresource of an individual bitstream.
  • Constructor Details

    • BitstreamFormatLinkRepository

      public BitstreamFormatLinkRepository()
  • Method Details

    • getFormat

      @PreAuthorize("hasPermission(#bitstreamId, \'BITSTREAM\', \'METADATA_READ\')") public BitstreamFormatRest getFormat(@Nullable jakarta.servlet.http.HttpServletRequest request, UUID bitstreamId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)