Class V3WebpageController


  • @RestController
    public class V3WebpageController
    extends Object
    • Constructor Detail

      • V3WebpageController

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

      • getWebpageJson

        @GetMapping(value="/v3/webpages/{uuid}",
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> getWebpageJson​(@PathVariable("uuid")
                                                                              UUID uuid,
                                                                              @RequestParam(name="pLocale",required=false)
                                                                              Locale pLocale,
                                                                              @RequestParam(name="active",required=false)
                                                                              String active)
                                                                       throws IdentifiableServiceException,
                                                                              com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        IdentifiableServiceException
        com.fasterxml.jackson.core.JsonProcessingException
      • getWebpageChildren

        @GetMapping(value={"/v3/webpages/{uuid}/children","/latest/webpages/{uuid}/children"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> getWebpageChildren​(@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.paging.Order> sortBy,
                                                                                  @RequestParam(name="active",required=false)
                                                                                  String active)
                                                                           throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • getWebpageChildrenTree

        @GetMapping(value="/v3/webpages/{uuid}/childrentree",
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> getWebpageChildrenTree​(@PathVariable("uuid")
                                                                                      UUID uuid,
                                                                                      @RequestParam(name="active",required=false)
                                                                                      String active)
                                                                               throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException