1. Move query jsps into a separate directory
[proteocache.git] / server / compbio / controllers / DocumentationController.java
1 package compbio.controllers;
2
3 import java.util.Map;
4
5 import org.springframework.stereotype.Controller;
6 import org.springframework.web.bind.annotation.RequestMapping;
7 import org.springframework.web.bind.annotation.RequestMethod;
8
9 //import org.springframework.web.bind.annotation.RequestParam;
10
11 /**
12  * @author Alexander Sherstnev
13  * @author Natasha Sherstneva
14  */
15 @Controller
16 public class DocumentationController extends BasicController {
17
18         @RequestMapping(value = "/help/overview", method = RequestMethod.GET)
19         public String formOverviewPage(Map<String, Object> model) {
20                 model.put("username", getPrincipalName());
21                 return "help/Overview";
22         }
23
24         @RequestMapping(value = "/help/howto", method = RequestMethod.GET)
25         public String formHowtoPage(Map<String, Object> model) {
26                 model.put("username", getPrincipalName());
27                 return "support/Notimplemented";
28         }
29
30         @RequestMapping(value = "/help/doc", method = RequestMethod.GET)
31         public String formDocPage(Map<String, Object> model) {
32                 model.put("username", getPrincipalName());
33                 return "support/Notimplemented";
34         }
35
36         @RequestMapping(value = "/help/javadoc", method = RequestMethod.GET)
37         public String formJavadoc(Map<String, Object> model) {
38                 model.put("username", getPrincipalName());
39                 return "support/Notimplemented";
40         }
41
42 }