Package org.dspace.app.rest.repository
Class CollectionLogoLinkRepository
java.lang.Object
org.dspace.app.rest.repository.AbstractDSpaceRestRepository
org.dspace.app.rest.repository.CollectionLogoLinkRepository
- All Implemented Interfaces:
LinkRestRepository
@Component("core.collections.logo")
public class CollectionLogoLinkRepository
extends AbstractDSpaceRestRepository
implements LinkRestRepository
Link repository for "logo" subresource of an individual collection.
-
Field Summary
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLogo(jakarta.servlet.http.HttpServletRequest request, UUID collectionId, org.springframework.data.domain.Pageable optionalPageable, 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
-
CollectionLogoLinkRepository
public CollectionLogoLinkRepository()
-
-
Method Details
-
getLogo
@PreAuthorize("hasPermission(#collectionId, \'COLLECTION\', \'READ\')") public BitstreamRest getLogo(@Nullable jakarta.servlet.http.HttpServletRequest request, UUID collectionId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)
-