Class V3CollectionController
java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.entity.V3CollectionController
-
Constructor Summary
ConstructorsConstructorDescriptionV3CollectionController(CollectionService collectionService, LocaleService localeService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>find(int pageNumber, int pageSize, List<de.digitalcollections.model.list.sorting.Order> sortBy, String active) org.springframework.http.ResponseEntity<String>find(int pageNumber, int pageSize, List<de.digitalcollections.model.list.sorting.Order> sortBy, String searchTerm, String active) org.springframework.http.ResponseEntity<String>findDigitalObjects(UUID collectionUuid, int pageNumber, int pageSize, String searchTerm) org.springframework.http.ResponseEntity<String>findSubcollections(UUID collectionUuid, int pageNumber, int pageSize, String active)
-
Constructor Details
-
V3CollectionController
public V3CollectionController(CollectionService collectionService, LocaleService localeService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
findDigitalObjects
@GetMapping(value={"/v3/collections/{uuid}/digitalobjects","/latest/collections/{uuid}/digitalobjects"}, produces="application/json") public org.springframework.http.ResponseEntity<String> findDigitalObjects(@PathVariable("uuid") UUID collectionUuid, @RequestParam(name="pageNumber",required=false,defaultValue="0") int pageNumber, @RequestParam(name="pageSize",required=false,defaultValue="25") int pageSize, @RequestParam(name="searchTerm",required=false) String searchTerm) throws com.fasterxml.jackson.core.JsonProcessingException, ServiceException - Throws:
com.fasterxml.jackson.core.JsonProcessingExceptionServiceException
-
findSubcollections
@GetMapping(value={"/v3/collections/{uuid}/subcollections","/latest/collections/{uuid}/subcollections"}, produces="application/json") public org.springframework.http.ResponseEntity<String> findSubcollections(@PathVariable("uuid") UUID collectionUuid, @RequestParam(name="pageNumber",required=false,defaultValue="0") int pageNumber, @RequestParam(name="pageSize",required=false,defaultValue="25") int pageSize, @RequestParam(name="active",required=false) String active) throws com.fasterxml.jackson.core.JsonProcessingException, ServiceException - Throws:
com.fasterxml.jackson.core.JsonProcessingExceptionServiceException
-
find
@GetMapping(value={"/v3/collections","/latest/collections"}, produces="application/json") public org.springframework.http.ResponseEntity<String> find(@RequestParam(name="pageNumber",required=false,defaultValue="0") int pageNumber, @RequestParam(name="pageSize",required=false,defaultValue="25") int pageSize, @RequestParam(name="sortBy",required=false) List<de.digitalcollections.model.list.sorting.Order> sortBy, @RequestParam(name="active",required=false) String active) throws com.fasterxml.jackson.core.JsonProcessingException, ServiceException - Throws:
com.fasterxml.jackson.core.JsonProcessingExceptionServiceException
-
find
@GetMapping(value={"/v3/collections/search","/latest/collections/search"}, produces="application/json") public org.springframework.http.ResponseEntity<String> find(@RequestParam(name="pageNumber",required=false,defaultValue="0") int pageNumber, @RequestParam(name="pageSize",required=false,defaultValue="5") int pageSize, @RequestParam(name="sortBy",required=false) List<de.digitalcollections.model.list.sorting.Order> sortBy, @RequestParam(name="searchTerm",required=false) String searchTerm, @RequestParam(name="active",required=false) String active) throws com.fasterxml.jackson.core.JsonProcessingException, ServiceException - Throws:
com.fasterxml.jackson.core.JsonProcessingExceptionServiceException
-