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

@RestController public class V2CollectionController extends Object
  • Constructor Details

    • V2CollectionController

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

    • find

      @GetMapping(value="/v2/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.JsonProcessingException
      ServiceException