1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
package org.apache.commons.scaffold.lang; |
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | 0 | public final class Tokens { |
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | 0 | public static String PARAM_ANY = "*"; |
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | 0 | public static String PARAM_EQUALS = " = "; |
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
|
47 | |
|
48 | |
public static final String LIST_KEY = "LIST"; |
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
|
54 | |
public static final String PROPERTIES_KEY = "PROPERTIES"; |
55 | |
|
56 | |
|
57 | |
|
58 | |
|
59 | |
|
60 | |
public static final String ABSTRACT_EXCEPTION = |
61 | |
"Required method not implemented."; |
62 | |
|
63 | |
public static final String INVALID_SCOPE = |
64 | |
" invalid scope."; |
65 | |
|
66 | |
|
67 | |
|
68 | |
public static final String CANCEL = "cancel"; |
69 | |
public static final String CONTINUE = "continue"; |
70 | |
public static final String DISPATCH = "dispatch"; |
71 | |
public static final String DONE = "done"; |
72 | |
public static final String EMPTY = "empty"; |
73 | |
public static final String ERROR = "error"; |
74 | |
public static final String EXIT = "exit"; |
75 | |
public static final String FAILURE = "failure"; |
76 | |
public static final String FORWARD = "forward"; |
77 | |
public static final String GET_TOKEN = "getToken"; |
78 | |
public static final String LOGON = "logon"; |
79 | |
public static final String LOGOFF = "logoff"; |
80 | |
public static final String MENU = "menu"; |
81 | |
public static final String NEXT = "next"; |
82 | |
public static final String PREVIOUS = "previous"; |
83 | |
public static final String SET_TOKEN = "setToken"; |
84 | |
public static final String SUCCESS = "success"; |
85 | |
public static final String WELCOME = "welcome"; |
86 | |
|
87 | |
public static final String APPLICATION = "application"; |
88 | |
public static final String RESULT = "result"; |
89 | |
public static final String REQUEST = "request"; |
90 | |
public static final String SESSION = "session"; |
91 | |
|
92 | |
public static final String PATH = "path"; |
93 | |
public static final String OK = "ok"; |
94 | |
|
95 | |
|
96 | |
|
97 | |
|
98 | |
public static final String ERROR_GENERAL = |
99 | |
"error.general"; |
100 | |
|
101 | |
public static final String ERROR_DETAIL = |
102 | |
"error.detail"; |
103 | |
|
104 | |
public static final String ERROR_CANCEL = |
105 | |
"error.cancel"; |
106 | |
|
107 | |
public static final String ERROR_TOKEN = |
108 | |
"error.token"; |
109 | |
|
110 | |
public static final String ERROR_DISPATCH = |
111 | |
"error.dispatch"; |
112 | |
|
113 | |
public static final String ERROR_DISPATCH_RETURN = |
114 | |
"error.dispatch.return"; |
115 | |
|
116 | |
public static final String ERRORS_REQUIRED = |
117 | |
"errors.required"; |
118 | |
|
119 | |
public static final String HELPER_ACCESS_ERROR = |
120 | |
"data.access.error"; |
121 | |
|
122 | |
public static final String DATA_ACCESS_DENIED = |
123 | |
"data.access.denied"; |
124 | |
|
125 | |
public static final String DATA_ACCESS_ERROR = |
126 | |
"data.access.error"; |
127 | |
|
128 | |
public static final String DATA_ACCESS_EMPTY = |
129 | |
"data.access.empty"; |
130 | |
|
131 | |
public static final String DATA_RECORD_INSERTED = |
132 | |
"data.record.inserted"; |
133 | |
|
134 | |
public static final String DATA_RECORD_UPDATED = |
135 | |
"data.record.updated"; |
136 | |
|
137 | |
public static final String DATA_RECORD_DELETED = |
138 | |
"data.record.deleted"; |
139 | |
|
140 | |
public static final String DATA_RECORD_RECYCLED = |
141 | |
"data.record.recycled"; |
142 | |
|
143 | |
public static final String DATA_RECORD_RESTORED = |
144 | |
"data.record.restored"; |
145 | |
|
146 | |
public static final String DATA_RECORD_RETRIEVED = |
147 | |
"data.record.retrieved"; |
148 | |
|
149 | |
public static final String DATA_RECORD_DUPLICATE = |
150 | |
"data.record.duplicate"; |
151 | |
|
152 | |
public static final String PROCESS_COMPLETE = |
153 | |
"process.complete"; |
154 | |
|
155 | |
|
156 | |
|
157 | |
|
158 | |
|
159 | |
|
160 | |
public static final String DATA_TRANSFER_ERROR = |
161 | |
"data.transfer.error"; |
162 | |
|
163 | |
public static final String PROCESS_MISSING_PARAMETER = |
164 | |
"process.missing.parameter"; |
165 | |
|
166 | |
|
167 | |
|
168 | |
|
169 | |
|
170 | |
|
171 | |
|
172 | |
public static final String TEXT_PLAIN = "text/plain"; |
173 | |
|
174 | |
|
175 | |
|
176 | |
|
177 | |
|
178 | |
|
179 | |
|
180 | |
|
181 | |
public static final String ALLOCATE_KEY_EXCEPTION = |
182 | |
"Unable to allocate key."; |
183 | |
|
184 | |
|
185 | |
|
186 | |
|
187 | |
public static final String STORE_EXCEPTION = |
188 | |
"Unable to insert or update record."; |
189 | |
|
190 | |
|
191 | |
|
192 | |
|
193 | |
public static final String SELECT_EXCEPTION = |
194 | |
"Unable to retrieve record."; |
195 | |
|
196 | |
|
197 | |
|
198 | |
|
199 | |
public static final String INSERT_EXCEPTION = |
200 | |
"Unable to insert record."; |
201 | |
|
202 | |
|
203 | |
|
204 | |
|
205 | |
public static final String UPDATE_EXCEPTION = |
206 | |
"Unable to update record."; |
207 | |
|
208 | |
|
209 | |
|
210 | |
|
211 | |
public static final String NOT_IMPLEMENTED_EXCEPTION = |
212 | |
"Method not implemented."; |
213 | |
|
214 | |
|
215 | |
|
216 | |
|
217 | |
public static final String INVALID_QUERY_EXCEPTION = |
218 | |
"Query not processed; are parameters valid?"; |
219 | |
|
220 | |
|
221 | |
|
222 | |
|
223 | |
public static final String DATA_ACCESS_EXCEPTION = |
224 | |
"Unable to access data."; |
225 | |
|
226 | |
|
227 | |
|
228 | |
|
229 | |
|
230 | |
|
231 | |
|
232 | |
|
233 | |
public static final String CLASS = |
234 | |
"class: "; |
235 | |
|
236 | |
|
237 | |
|
238 | |
|
239 | |
|
240 | |
public static final String PATH_MSG = |
241 | |
"path: "; |
242 | |
|
243 | |
|
244 | |
|
245 | |
|
246 | |
|
247 | |
public static final String NAME = |
248 | |
"name: "; |
249 | |
|
250 | |
|
251 | |
|
252 | |
|
253 | |
|
254 | |
public static final String SPACE = |
255 | |
" "; |
256 | |
|
257 | |
|
258 | |
|
259 | |
|
260 | |
|
261 | |
public static final String NOT_FOUND = |
262 | |
"was not found "; |
263 | |
|
264 | |
|
265 | |
|
266 | |
|
267 | |
|
268 | |
public static final String CREATE_OBJECT_ERROR = |
269 | |
"*** ERROR creating object "; |
270 | |
|
271 | |
|
272 | |
|
273 | |
|
274 | |
|
275 | |
public static final String ACTION_EXCEPTION = |
276 | |
"*** ACTION EXCEPTION: "; |
277 | |
|
278 | |
|
279 | |
|
280 | |
|
281 | |
|
282 | |
public static final String ACTION_FORM_EXCEPTION = |
283 | |
"*** ACTION FORM EXCEPTION: "; |
284 | |
|
285 | |
|
286 | |
|
287 | |
|
288 | |
|
289 | |
public static final String BASE_LOGIC_EXECUTING = |
290 | |
"Executing base logic "; |
291 | |
|
292 | |
|
293 | |
|
294 | |
|
295 | |
|
296 | |
public static final String TOKENS_PARSING = |
297 | |
"Parsing tokens "; |
298 | |
|
299 | |
|
300 | |
|
301 | |
|
302 | |
|
303 | |
public static final String HELPER_CREATING = |
304 | |
"Creating Helper "; |
305 | |
|
306 | |
|
307 | |
|
308 | |
|
309 | |
|
310 | |
public static final String HELPER_CREATED = |
311 | |
"Helper created "; |
312 | |
|
313 | |
|
314 | |
|
315 | |
|
316 | |
|
317 | |
public static final String HELPER_PROCESSING = |
318 | |
"Processing helper beans "; |
319 | |
|
320 | |
|
321 | |
|
322 | |
|
323 | |
|
324 | |
public static final String HELPER_EXECUTING = |
325 | |
"Executing helper beans "; |
326 | |
|
327 | |
|
328 | |
|
329 | |
|
330 | |
|
331 | |
public static final String HELPER_POPULATE = |
332 | |
"Populate helper bean "; |
333 | |
|
334 | |
|
335 | |
|
336 | |
|
337 | |
|
338 | |
public static final String HELPER_OUTCOME = |
339 | |
"Processing helper outcome "; |
340 | |
|
341 | |
|
342 | |
|
343 | |
|
344 | |
|
345 | |
public static final String PROCESS_BEAN_NULL_SCOPE = |
346 | |
"** ProcessAction: Process result indicates a null scope "; |
347 | |
|
348 | |
|
349 | |
|
350 | |
|
351 | |
|
352 | |
public static final String PROCESS_RESULT_NULL = |
353 | |
"** ProcessAction: ProcessResult is NULL " ; |
354 | |
|
355 | |
|
356 | |
|
357 | |
|
358 | |
} |
359 | |
|
360 | |
|
361 | |
|
362 | |
|
363 | |
|
364 | |
|
365 | |
|
366 | |
|
367 | |
|
368 | |
|
369 | |
|
370 | |
|
371 | |
|
372 | |
|
373 | |
|
374 | |
|
375 | |
|
376 | |
|
377 | |
|
378 | |
|
379 | |
|
380 | |
|