Class CollectionLicenseLinkRepository

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

@Component("core.collections.license") public class CollectionLicenseLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link repository for "license" subresource of an individual collection.
Author:
Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
  • Constructor Details

    • CollectionLicenseLinkRepository

      public CollectionLicenseLinkRepository()
  • Method Details

    • getLicense

      @PreAuthorize("hasPermission(#collectionId, \'COLLECTION\', \'READ\')") public LicenseRest getLicense(@Nullable jakarta.servlet.http.HttpServletRequest request, UUID collectionId, @Nullable org.springframework.data.domain.Pageable pageable, Projection projection)