Class V5WebpageController


  • @RestController
    public class V5WebpageController
    extends Object
    • Constructor Detail

      • V5WebpageController

        public V5WebpageController​(LocaleService localeService,
                                   WebpageService webpageService,
                                   com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • find

        @GetMapping(value={"/v5/webpages","/v2/webpages","/latest/webpages"},
                    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="publicationStart",required=false)
                                                                    de.digitalcollections.model.list.filtering.FilterCriterion<LocalDate> publicationStart,
                                                                    @RequestParam(name="publicationEnd",required=false)
                                                                    de.digitalcollections.model.list.filtering.FilterCriterion<LocalDate> publicationEnd)
                                                             throws CudamiControllerException
        Throws:
        CudamiControllerException
      • findSubpages

        @GetMapping(value="/v5/webpages/{uuid}/children",
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> findSubpages​(@PathVariable("uuid")
                                                                            UUID uuid,
                                                                            @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,
                                                                            @RequestParam(name="searchTerm",required=false)
                                                                            String searchTerm)
                                                                     throws IdentifiableServiceException,
                                                                            CudamiControllerException
        Throws:
        IdentifiableServiceException
        CudamiControllerException