Class CollectionLicenseLinkRepository

  • All Implemented Interfaces:
    LinkRestRepository

    @Component("core.collection.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 Detail

      • CollectionLicenseLinkRepository

        public CollectionLicenseLinkRepository()
    • Method Detail

      • getLicense

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