java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.web.V3WebpageController

@RestController public class V3WebpageController extends Object
  • Constructor Details

    • V3WebpageController

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

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

      @GetMapping(value={"/v3/webpages/{uuid}","/v3/webpages/{uuid}.xml"}, produces="application/xml") public org.springframework.http.ResponseEntity<String> getByUuidV3Xml(@PathVariable("uuid") UUID uuid, @RequestParam(name="pLocale",required=false) Locale pLocale, @RequestParam(name="active",required=false) String active) throws ServiceException, IOException
      Throws:
      ServiceException
      IOException
    • 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, ServiceException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
      CudamiControllerException
      ServiceException
    • 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, ServiceException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
      ServiceException