Package org.fenixedu.cms.ui
Class AdminComponents
- java.lang.Object
-
- org.fenixedu.cms.ui.AdminComponents
-
@RequestMapping("/cms/components") public class AdminComponents extends Object
-
-
Constructor Summary
Constructors Constructor Description AdminComponents()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<String>createComponent(String slugSite, String slugPage, String json)org.springframework.web.servlet.view.RedirectViewdeleteComponent(String slugSite, String slugPage, String componentId)StringgetComponentArguments(Page page, String type)
-
-
-
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)
-
-