Class AdminComponents


  • @RequestMapping("/cms/components")
    public class AdminComponents
    extends Object
    • Constructor Detail

      • AdminComponents

        public AdminComponents()
    • Method Detail

      • createComponent

        @RequestMapping(value="{slugSite}/{slugPage}/create",
                        method=POST,
                        consumes="application/json")
        public org.springframework.http.ResponseEntity<String> createComponent​(@PathVariable
                                                                               String slugSite,
                                                                               @PathVariable
                                                                               String slugPage,
                                                                               @RequestBody
                                                                               String json)
                                                                        throws Exception
        Throws:
        Exception
      • getComponentArguments

        @ResponseBody
        @RequestMapping(value="/componentArguments/{page}",
                        produces="application/json;charset=UTF-8")
        public String getComponentArguments​(@PathVariable
                                            Page page,
                                            @RequestParam
                                            String type)
      • deleteComponent

        @RequestMapping(value="{slugSite}/{slugPage}/{componentId}/delete",
                        method=POST)
        public org.springframework.web.servlet.view.RedirectView deleteComponent​(@PathVariable
                                                                                 String slugSite,
                                                                                 @PathVariable
                                                                                 String slugPage,
                                                                                 @PathVariable
                                                                                 String componentId)