Class BitstreamAccessStatusLinkRepository

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

@Component("core.bitstreams.accessStatus") public class BitstreamAccessStatusLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link repository for calculating the access status of a Bitstream, including the embargo date
  • Constructor Details

    • BitstreamAccessStatusLinkRepository

      public BitstreamAccessStatusLinkRepository()
  • Method Details

    • getAccessStatus

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