Package org.dspace.app.rest.repository
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)
-
Field Summary
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLicense(jakarta.servlet.http.HttpServletRequest request, UUID collectionId, org.springframework.data.domain.Pageable pageable, Projection projection) Methods inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
getRequestService, obtainContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.repository.LinkRestRepository
isEmbeddableRelation
-
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)
-