Package org.fenixedu.cms.ui
Class AdminCategory
- java.lang.Object
-
- org.fenixedu.cms.ui.AdminCategory
-
@RequestMapping("/cms/categories") public class AdminCategory extends Object
-
-
Constructor Summary
Constructors Constructor Description AdminCategory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcategories(org.springframework.ui.Model model, String slug)org.springframework.web.servlet.view.RedirectViewcreateCategory(String slugSite, org.fenixedu.commons.i18n.LocalizedString name)org.springframework.web.servlet.view.RedirectViewcreateCategoryPost(String slugSite, String slugCategory, org.fenixedu.commons.i18n.LocalizedString name)org.springframework.web.servlet.view.RedirectViewdelete(String slugSite, String slugCategory)org.springframework.web.servlet.view.RedirectVieweditCategory(String slugSite, String slugCategory, org.fenixedu.commons.i18n.LocalizedString name, boolean privileged)List<Category>getCategories(Site site)StringviewCategory(org.springframework.ui.Model model, String slugSite, String slugCategory)
-
-
-
Method Detail
-
categories
@RequestMapping(value="{slug}", method=GET) public String categories(org.springframework.ui.Model model, @PathVariable("slug") String slug)
-
createCategory
@RequestMapping(value="{slugSite}/create", method=POST) public org.springframework.web.servlet.view.RedirectView createCategory(@PathVariable String slugSite, @RequestParam org.fenixedu.commons.i18n.LocalizedString name)
-
delete
@RequestMapping(value="{slugSite}/{slugCategory}/delete", method=POST) public org.springframework.web.servlet.view.RedirectView delete(@PathVariable String slugSite, @PathVariable String slugCategory)
-
createCategoryPost
@RequestMapping(value="{slugSite}/{slugCategory}/createCategoryPost", method=POST) public org.springframework.web.servlet.view.RedirectView createCategoryPost(@PathVariable String slugSite, @PathVariable String slugCategory, @RequestParam org.fenixedu.commons.i18n.LocalizedString name)
-
viewCategory
@RequestMapping(value="{slugSite}/{slugCategory}", method=GET) public String viewCategory(org.springframework.ui.Model model, @PathVariable String slugSite, @PathVariable String slugCategory)
-
editCategory
@RequestMapping(value="{slugSite}/{slugCategory}", method=POST) public org.springframework.web.servlet.view.RedirectView editCategory(@PathVariable String slugSite, @PathVariable String slugCategory, @RequestParam org.fenixedu.commons.i18n.LocalizedString name, @RequestParam(required=false,defaultValue="false") boolean privileged)
-
-