Class AdminCategory


  • @RequestMapping("/cms/categories")
    public class AdminCategory
    extends Object
    • Constructor Detail

      • AdminCategory

        public AdminCategory()
    • 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)