Class V3CollectionController


  • @RestController
    public class V3CollectionController
    extends Object
    • Constructor Detail

      • V3CollectionController

        public V3CollectionController​(CollectionService collectionService,
                                      LocaleService localeService,
                                      com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • 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
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • 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
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • 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
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • 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
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException