Class ForumController
java.lang.Object
sk.iway.iwcm.components.forum.rest.ForumController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprepareStructure
(String structure, int groupId, String pageData, javax.servlet.http.HttpServletRequest request) saveForum
(DocForumEntity forumForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) saveForumFile
(org.springframework.web.multipart.commons.CommonsMultipartFile uploadFile, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Constructor Details
-
ForumController
-
-
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)
-