1 package compbio.controllers;
5 import org.springframework.stereotype.Controller;
6 import org.springframework.web.bind.annotation.RequestMapping;
7 import org.springframework.web.bind.annotation.RequestMethod;
9 //import org.springframework.web.bind.annotation.RequestParam;
12 * @author Alexander Sherstnev
13 * @author Natasha Sherstneva
16 public class DocumentationController extends BasicController {
18 @RequestMapping(value = "/help/overview", method = RequestMethod.GET)
19 public String formOverviewPage(Map<String, Object> model) {
20 model.put("username", getPrincipalName());
22 model.put("permissions", "user_role");
23 return "help/Overview";
26 @RequestMapping(value = "/help/howto", method = RequestMethod.GET)
27 public String formHowtoPage(Map<String, Object> model) {
28 model.put("username", getPrincipalName());
30 model.put("permissions", "user_role");
31 return "support/Notimplemented";
34 @RequestMapping(value = "/help/doc", method = RequestMethod.GET)
35 public String formDocPage(Map<String, Object> model) {
36 model.put("username", getPrincipalName());
38 model.put("permissions", "user_role");
39 return "support/Notimplemented";
42 @RequestMapping(value = "/help/javadoc", method = RequestMethod.GET)
43 public String formJavadoc(Map<String, Object> model) {
44 model.put("username", getPrincipalName());
46 model.put("permissions", "user_role");
47 return "support/Notimplemented";