java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.entity.V5CollectionController

@RestController public class V5CollectionController extends Object
  • Constructor Details

    • V5CollectionController

      public V5CollectionController(CollectionService collectionService, LocaleService localeService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • find

      @GetMapping(value={"/v5/collections/search","/v5/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="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 CudamiControllerException, ServiceException
      Throws:
      CudamiControllerException
      ServiceException
    • findDigitalObjects

      @GetMapping(value="/v5/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 CudamiControllerException, ServiceException
      Throws:
      CudamiControllerException
      ServiceException
    • findSubcollections

      @GetMapping(value="/v5/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, @RequestParam(name="sortBy",required=false) List<de.digitalcollections.model.list.sorting.Order> sortBy, @RequestParam(name="searchTerm",required=false) String searchTerm) throws CudamiControllerException, ServiceException
      Throws:
      CudamiControllerException
      ServiceException
    • findTopCollections

      @GetMapping(value={"/v5/collections/top","/v2/collections/top","/latest/collections/top"}, produces="application/json") public org.springframework.http.ResponseEntity<String> findTopCollections(@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) throws CudamiControllerException, ServiceException
      Throws:
      CudamiControllerException
      ServiceException