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

@RestController
public class V3WebpageController
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    V3WebpageController​(LocaleService localeService, WebpageService webpageService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
  • Method Summary

    Modifier and Type Method Description
    org.springframework.http.ResponseEntity<java.lang.String> getWebpageChildren​(java.util.UUID uuid, int pageNumber, int pageSize, java.util.List<de.digitalcollections.model.paging.Order> sortBy, java.lang.String active)  
    org.springframework.http.ResponseEntity<java.lang.String> getWebpageChildrenTree​(java.util.UUID uuid, java.lang.String active)  
    org.springframework.http.ResponseEntity<java.lang.String> getWebpageJson​(java.util.UUID uuid, java.util.Locale pLocale, java.lang.String active)  
    org.springframework.http.ResponseEntity<java.lang.String> getWebpageXml​(java.util.UUID uuid, java.util.Locale pLocale, java.lang.String active)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getWebpageJson

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

      @GetMapping(value="/v3/webpages/{uuid}", produces="application/xml") public org.springframework.http.ResponseEntity<java.lang.String> getWebpageXml​(@PathVariable("uuid") java.util.UUID uuid, @RequestParam(name="pLocale",required=false) java.util.Locale pLocale, @RequestParam(name="active",required=false) java.lang.String active) throws IdentifiableServiceException, java.io.IOException
      Throws:
      IdentifiableServiceException
      java.io.IOException
    • getWebpageChildren

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