Class V5WebsiteController


  • @RestController
    public class V5WebsiteController
    extends Object
    • Constructor Detail

      • V5WebsiteController

        public V5WebsiteController​(WebsiteService websiteService,
                                   com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • find

        @GetMapping(value="/v5/websites",
                    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="searchTerm",required=false)
                                                                    String searchTerm)
                                                             throws CudamiControllerException
        Throws:
        CudamiControllerException
      • findRootPages

        @GetMapping(value="/v5/websites/{uuid}/rootpages",
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> findRootPages​(@PathVariable("uuid")
                                                                             UUID uuid,
                                                                             @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
        Throws:
        CudamiControllerException