1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.test;
17
18 import org.kuali.rice.krad.web.controller.MethodAccessible;
19 import org.kuali.rice.krad.web.form.UifFormBase;
20 import org.springframework.validation.BindingResult;
21 import org.springframework.web.bind.annotation.ModelAttribute;
22 import org.springframework.web.bind.annotation.RequestMapping;
23 import org.springframework.web.servlet.ModelAndView;
24
25 import javax.servlet.http.HttpServletRequest;
26 import javax.servlet.http.HttpServletResponse;
27
28
29
30
31
32
33 public class MockController {
34
35 @MethodAccessible
36 @RequestMapping()
37 public ModelAndView method1(@ModelAttribute("KualiForm") UifFormBase form, BindingResult result,
38 HttpServletRequest request, HttpServletResponse response) {
39 return null;
40 }
41
42 @RequestMapping()
43 public ModelAndView method2(@ModelAttribute("KualiForm") UifFormBase form, BindingResult result,
44 HttpServletRequest request, HttpServletResponse response) {
45 return null;
46 }
47
48 @RequestMapping()
49 public ModelAndView method3(@ModelAttribute("KualiForm") UifFormBase form, BindingResult result,
50 HttpServletRequest request, HttpServletResponse response) {
51 return null;
52 }
53
54 @RequestMapping()
55 public ModelAndView method4(@ModelAttribute("KualiForm") UifFormBase form, BindingResult result,
56 HttpServletRequest request, HttpServletResponse response) {
57 return null;
58 }
59
60 @RequestMapping()
61 public ModelAndView method5(@ModelAttribute("KualiForm") UifFormBase form, BindingResult result,
62 HttpServletRequest request, HttpServletResponse response) {
63 return null;
64 }
65
66 @RequestMapping()
67 public ModelAndView method6(@ModelAttribute("KualiForm") UifFormBase form, BindingResult result,
68 HttpServletRequest request, HttpServletResponse response) {
69 return null;
70 }
71 }