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

      • getByUuidV3Json

        @GetMapping(value={"/v3/webpages/{uuid}.json","/v3/webpages/{uuid}"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> getByUuidV3Json​(@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
      • findChildren

        @GetMapping(value={"/v3/webpages/{uuid}/children","/latest/webpages/{uuid}/children"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> findChildren​(@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)
                                                                     throws com.fasterxml.jackson.core.JsonProcessingException,
                                                                            CudamiControllerException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
        CudamiControllerException
      • getChildrenTree

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