Class ForumController

java.lang.Object
sk.iway.iwcm.components.forum.rest.ForumController

@Controller @RequestMapping public class ForumController extends Object
  • Constructor Details

    • ForumController

      @Autowired public ForumController(EditorFacade editorFacade)
  • Method Details

    • saveForum

      @PostMapping("/apps/forum/saveforum") public String saveForum(@ModelAttribute("forumForm") DocForumEntity forumForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    • saveForumFile

      @PostMapping("/apps/forum/saveForumFile") public String saveForumFile(@RequestParam("uploadedFile") org.springframework.web.multipart.commons.CommonsMultipartFile uploadFile, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    • prepareStructure

      @PreAuthorize("@WebjetSecurityService.hasPermission(\'cmp_diskusia\')") @PostMapping("/admin/rest/forum/prepare-structure") @ResponseBody public String prepareStructure(@RequestParam("structure") String structure, @RequestParam("groupId") int groupId, @RequestParam("pageData") String pageData, javax.servlet.http.HttpServletRequest request)