1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.uif.util;
17
18 import java.util.Collection;
19 import java.util.Collections;
20
21 import org.kuali.rice.coreservice.api.parameter.Parameter;
22 import org.kuali.rice.coreservice.framework.parameter.ParameterService;
23
24
25
26
27
28
29 public class MockParameterService implements ParameterService {
30
31
32
33
34 @Override
35 public Parameter createParameter(Parameter parameter) {
36 return parameter;
37 }
38
39
40
41
42 @Override
43 public Parameter updateParameter(Parameter parameter) {
44 return parameter;
45 }
46
47
48
49
50 @Override
51 public Parameter getParameter(String namespaceCode, String componentCode, String parameterName) {
52 return null;
53 }
54
55
56
57
58 @Override
59 public Parameter getParameter(Class<?> componentClass, String parameterName) {
60 return null;
61 }
62
63
64
65
66 @Override
67 public Boolean parameterExists(String namespaceCode, String componentCode, String parameterName) {
68 return false;
69 }
70
71
72
73
74 @Override
75 public Boolean parameterExists(Class<?> componentClass, String parameterName) {
76 return false;
77 }
78
79
80
81
82 @Override
83 public Boolean getParameterValueAsBoolean(String namespaceCode, String componentCode, String parameterName) {
84 return false;
85 }
86
87
88
89
90 @Override
91 public Boolean getParameterValueAsBoolean(String namespaceCode, String componentCode, String parameterName, Boolean defaultValue) {
92 return false;
93 }
94
95
96
97
98 @Override
99 public Boolean getParameterValueAsBoolean(Class<?> componentClass, String parameterName) {
100 return false;
101 }
102
103
104
105
106 @Override
107 public Boolean getParameterValueAsBoolean(Class<?> componentClass, String parameterName, Boolean defaultValue) {
108 return false;
109 }
110
111
112
113
114 @Override
115 public String getParameterValueAsString(String namespaceCode, String componentCode, String parameterName) {
116 return null;
117 }
118
119
120
121
122 @Override
123 public String getParameterValueAsString(String namespaceCode, String componentCode, String parameterName, String defaultValue) {
124 return null;
125 }
126
127
128
129
130 @Override
131 public String getParameterValueAsString(Class<?> componentClass, String parameterName) {
132 return null;
133 }
134
135
136
137
138 @Override
139 public String getParameterValueAsString(Class<?> componentClass, String parameterName, String defaultValue) {
140 return null;
141 }
142
143
144
145
146 @Override
147 public String getParameterValueAsFilteredString(String namespaceCode, String componentCode, String parameterName) {
148 return null;
149 }
150
151
152
153
154 @Override
155 public String getParameterValueAsFilteredString(String namespaceCode, String componentCode, String parameterName, String defaultValue) {
156 return null;
157 }
158
159
160
161
162 @Override
163 public String getParameterValueAsFilteredString(Class<?> componentClass, String parameterName) {
164 return null;
165 }
166
167
168
169
170 @Override
171 public String getParameterValueAsFilteredString(Class<?> componentClass, String parameterName, String defaultValue) {
172 return null;
173 }
174
175
176
177
178 @Override
179 public Collection<String> getParameterValuesAsString(String namespaceCode, String componentCode, String parameterName) {
180 return Collections.emptyList();
181 }
182
183
184
185
186 @Override
187 public Collection<String> getParameterValuesAsString(Class<?> componentClass, String parameterName) {
188 return Collections.emptyList();
189 }
190
191
192
193
194 @Override
195 public Collection<String> getParameterValuesAsFilteredString(String namespaceCode, String componentCode, String parameterName) {
196 return Collections.emptyList();
197 }
198
199
200
201
202 @Override
203 public Collection<String> getParameterValuesAsFilteredString(Class<?> componentClass, String parameterName) {
204 return Collections.emptyList();
205 }
206
207
208
209
210 @Override
211 public String getSubParameterValueAsString(String namespaceCode, String componentCode, String parameterName, String subParameterName) {
212 return null;
213 }
214
215
216
217
218 @Override
219 public String getSubParameterValueAsString(Class<?> componentClass, String parameterName, String subParameterName) {
220 return null;
221 }
222
223
224
225
226 @Override
227 public String getSubParameterValueAsFilteredString(String namespaceCode, String componentCode, String parameterName, String subParameterName) {
228 return null;
229 }
230
231
232
233
234 @Override
235 public String getSubParameterValueAsFilteredString(Class<?> componentClass, String parameterName, String subParameterName) {
236 return null;
237 }
238
239
240
241
242 @Override
243 public Collection<String> getSubParameterValuesAsString(Class<?> componentClass, String parameterName, String subParameterName) {
244 return Collections.emptyList();
245 }
246
247
248
249
250 @Override
251 public Collection<String> getSubParameterValuesAsString(String namespaceCode, String componentCode, String parameterName, String subParameterName) {
252 return Collections.emptyList();
253 }
254
255
256
257
258 @Override
259 public Collection<String> getSubParameterValuesAsFilteredString(String namespaceCode, String componentCode, String parameterName, String subParameterName) {
260 return Collections.emptyList();
261 }
262
263
264
265
266 @Override
267 public Collection<String> getSubParameterValuesAsFilteredString(Class<?> componentClass, String parameterName, String subParameterName) {
268 return Collections.emptyList();
269 }
270
271 }