Class RenderingTemplatesController


  • @Controller
    public class RenderingTemplatesController
    extends de.digitalcollections.commons.springmvc.controller.AbstractController
    Controller for rendering template management pages.
    • Constructor Detail

      • RenderingTemplatesController

        public RenderingTemplatesController​(CudamiClient cudamiClient)
    • Method Detail

      • module

        @ModelAttribute("menu")
        protected String module()
      • create

        @GetMapping("/renderingtemplates/new")
        public String create()
      • createModel

        @GetMapping("/api/renderingtemplates/new")
        @ResponseBody
        public de.digitalcollections.model.impl.view.RenderingTemplate createModel()
      • edit

        @GetMapping("/renderingtemplates/{uuid}/edit")
        public String edit​(@PathVariable
                           UUID uuid,
                           org.springframework.ui.Model model)
                    throws HttpException
        Throws:
        HttpException
      • findAll

        @GetMapping("/api/renderingtemplates")
        @ResponseBody
        public de.digitalcollections.model.api.paging.PageResponse<de.digitalcollections.model.impl.view.RenderingTemplate> findAll​(@RequestParam(name="pageNumber",required=false,defaultValue="0")
                                                                                                                                    int pageNumber,
                                                                                                                                    @RequestParam(name="pageSize",required=false,defaultValue="25")
                                                                                                                                    int pageSize)
                                                                                                                             throws HttpException
        Throws:
        HttpException
      • get

        @GetMapping("/api/renderingtemplates/{uuid}")
        @ResponseBody
        public de.digitalcollections.model.impl.view.RenderingTemplate get​(@PathVariable
                                                                           UUID uuid)
                                                                    throws HttpException
        Throws:
        HttpException
      • list

        @GetMapping("/renderingtemplates")
        public String list()
      • save

        @PostMapping("/api/renderingtemplates/new")
        public org.springframework.http.ResponseEntity save​(@RequestBody
                                                            de.digitalcollections.model.impl.view.RenderingTemplate template)
      • update

        @PutMapping("/api/renderingtemplates/{uuid}")
        public org.springframework.http.ResponseEntity update​(@PathVariable
                                                              UUID uuid,
                                                              @RequestBody
                                                              de.digitalcollections.model.impl.view.RenderingTemplate template)