1 package com.instantbank.common.utilcomponents;
2
3
4
12 public interface LetterTemplateExceptionMessage {
13
14
15
16 public static final String NOT_MODEL_MANAGER
17 = "Notify the administrator: cannot create bean of class ModelManage: ";
18
19 public static final String HANDLER_NOT_KNOWN
20 = "Notify the administrator: handler not known: ";
21
22 public static final String HANDLER_NOT_LOAD
23 = "Notify the administrator: exception loading handler: ";
24
25 public static final String NULL_ANSWER
26 = "Notify the administrator: error obtaining answer to the service.";
27
28 public static final String EVENT_NOT_KNOWN
29 = "Notify the administrator: Unknown event: ";
30
31 public static final String NOT_SCREENMANAGER
32 = "Notify the administrator: error extracting screenManager from session: ";
33
34
35
36 public static final String SERVICE_NOT_SELECTED
37 = "Service not selected by user ";
38
39 public static final String PROBLEM_PARSING
40 = "Problem parsing user data: ";
41
42 public static final String RETRY
43 = ". Retry.";
44
45 public static final String ITEM_STATUS_INVALID
46 = "invalid status of an item for inserting/deleting/updating in the database: ";
47
48 public static final String PROBLEM_INSTANTIATING_LETTERS_EJB
49 = "Problem instantiating LetterTemplate EJB: ";
50
51 public static final String PROBLEM_INSTANTIATING_JOB_EJB
52 = "Problem instantiating Job EJB: ";
53
54
55
56 public static final String NOT_LETTERS_DIRECTORY
57 = "Notify the administrator: There is no directory name for letters.";
58
59 public static final String NOT_EXISTS_LETTERS_DIRECTORY
60 = "Notify the administrator: Letters directory doesn't exist.";
61
62 public static final String NOT_LETTERS_EJB
63 = "Notify the administrator: Problem instantiating LetterTemplate EJB.";
64
65
66
67 public static final String PROBLEM_STORE_CATEGORY
68 = "Problem storing a new category (probably category name is repeated: ";
69
70 public static final String PROBLEM_LOAD_CATEGORIES
71 = "Problem loading categories: ";
72
73 public static final String PROBLEM_DELETE_CATEGORY
74 = "Problem deleting a category: ";
75
76 public static final String PROBLEM_DELETE_CATEGORY_NOT_FOUND
77 = "category doesn't exist, code: ";
78
79 public static final String PROBLEM_APPLYING_CHANGES_CATEGORIES
80 = "The list above shows current letter categories. <br>"
81 + "A problem happened aplying changes to letter categories: <br>";
82
83 public static final String PROBLEM_APPLYING_INSERTS_CATEGORIES
84 = "The list above shows current letter categories. <br>"
85 + "A problem happened inserting letter categories: <br>";
86
87 public static final String PROBLEM_APPLYING_DELETES1_CATEGORIES
88 = "Probably the category was deleted by another user: <br>";
89
90 public static final String PROBLEM_APPLYING_DELETES2_CATEGORIES
91 = "The list above shows current letter categories. <br>"
92 + "A problem happened deleting letter categories: "
93 + "probably a category is referenced by a letters template "
94 + "or it was deleted by another user: <br>";
95
96 public static final String PROBLEM_APPLYING_UPDATES1_CATEGORIES
97 = "Probably the category was deleted by another user: <br>";
98
99 public static final String PROBLEM_APPLYING_UPDATES2_CATEGORIES
100 = "The list above shows current letter categories. <br>"
101 + "A Problem happened updating letter categories: <br>";
102
103
104
105 public static final String PROBLEM_STORE_IMAGE
106 = "Problem storing a new image: ";
107
108 public static final String PROBLEM_STORE_IMAGE_REPEATED
109 = "image already exists, name: ";
110
111 public static final String PROBLEM_LOAD_IMAGES_NAMES
112 = "Problem loading images names: ";
113
114 public static final String PROBLEM_DELETE_IMAGE
115 = "Problem deleting an image from repository: ";
116
117 public static final String PROBLEM_DELETE_IMAGE_NOT_FOUND
118 = "image doesn't exist, name: ";
119
120 public static final String PROBLEM_LOAD_IMAGE
121 = "Problem loading an image: ";
122
123 public static final String PROBLEM_LOAD_IMAGE_NOT_FOUND
124 = "image doesn't exist, name: ";
125
126 public static final String PROBLEM_APPLYING_CHANGES_IMAGES
127 = "The list above shows current letter images. <br>"
128 + "A problem happened aplying changes to letter images: <br>";
129
130 public static final String PROBLEM_APPLYING_DELETES1_IMAGES
131 = "Probably an image was deleted by another user: <br>";
132
133 public static final String PROBLEM_APPLYING_DELETES2_IMAGES
134 = "The list above shows current letter images. <br>"
135 + "A problem happened deleting letter images: <br>";
136
137 public static final String PROBLEM_APPLYING_UPDATES1_IMAGES
138 = "Probably an image was deleted by another user: <br>";
139
140 public static final String PROBLEM_APPLYING_UPDATES2_IMAGES
141 = "The list above shows current letter images. <br>"
142 + "A problem happened updating letter images: <br>";
143
144 public static final String PROBLEM_NO_SELECT_IMAGE
145 = "An image isn't selected. <br>";
146
147
148
149 public static final String PROBLEM_LOAD_FIELDS
150 = "Problem loading system fields: ";
151
152 public static final String PROBLEM_LOAD_ALIAS
153 = "Problem loading system alias: ";
154
155 public static final String PROBLEM_LOAD_VARIABLES
156 = "Problem loading letter variables: ";
157
158 public static final String PROBLEM_LOAD_PRINTTYPES
159 = "Problem loading print types: ";
160
161 public static final String PROBLEM_LOAD_FORMATS
162 = "Problem loading variable formats: ";
163
164
165
166 public static final String PROBLEM_STORE_TEMPLATE
167 = "Problem storing letter template: ";
168
169 public static final String PROBLEM_STORE_TEMPLATE_INVALID
170 = "Problem storing letter template: it was updated by another user "
171 + "while edition ";
172
173 public static final String PROBLEM_LOAD_TEMPLATES_DESCRIPTION
174 = "Problem loading descriptions of letter templates: ";
175
176 public static final String PROBLEM_LOAD_CODES_DESCRIPTIONS_TEMPLATE
177 = "Problem loading code and description of a letter template "
178 + "and its components: ";
179
180 public static final String PROBLEM_LOAD_CODES_STAMPS_TEMPLATE
181 = "Problem loading code and stamp of a letter template "
182 + "and its components: ";
183
184 public static final String PROBLEM_LOAD_STAMP_TEMPLATE
185 = "Problem loading stamp of a letter template ";
186
187 public static final String PROBLEM_LOAD_TEMPLATE
188 = "Problem loading letter template: ";
189
190 public static final String PROBLEM_DELETE_TEMPLATE
191 = "Problem removing letter template: ";
192
193 public static final String PROBLEM_APPLYING_CHANGES_TEMPLATES
194 = "The list above shows current letter templates. <br>"
195 + "A problem happened aplying changes to letter template: <br>";
196
197 public static final String PROBLEM_APPLYING_DELETES1_TEMPLATES
198 = "Probably the template was deleted by another user: <br>";
199
200 public static final String PROBLEM_APPLYING_DELETES11_TEMPLATES
201 = "Probably the template is used by a letter job: <br>";
202
203 public static final String PROBLEM_APPLYING_DELETES2_TEMPLATES
204 = "The list above shows current letter templates. <br>"
205 + "A problem happened deleting letter templates: <br>";
206
207 public static final String PROBLEM_APPLYING_UPDATES1_TEMPLATES
208 = "Probably the template was deleted by another user: <br>";
209
210 public static final String PROBLEM_APPLYING_UPDATES2_TEMPLATES
211 = "The list above shows current letter templates. <br>"
212 + "A problem happened updating letter template: <br>";
213
214
215
216 public static final String PROBLEM_STORE_COMPONENT
217 = "Problem storing letter component: ";
218
219 public static final String PROBLEM_STORE_AS_COMPONENT
220 = "Problem storing as letter component: ";
221
222 public static final String PROBLEM_STORE_COMPONENT_INVALID
223 = "Problem storing letter component: it was updated by another user while edition ";
224
225 public static final String PROBLEM_LOAD_COMPONENTS_DESCRIPTION
226 = "Problem loading descriptions of letter components: ";
227
228 public static final String PROBLEM_LOAD_COMPONENT
229 = "Problem loading letter component: ";
230
231 public static final String PROBLEM_DELETE_COMPONENT
232 = "Problem removing letter component: ";
233
234 public static final String PROBLEM_DELETE_COMPONENT_LINKS
235 = "Problem removing letter component because it has links with template(s)";
236
237 public static final String PROBLEM_LOAD_COMPONENT_CODE
238 = "Problem loading code of letter component: ";
239
240 public static final String PROBLEM_APPLYING_CHANGES_COMPONENTS
241 = "The list above shows current letter components. <br>"
242 + "A problem happened aplying changes to letter component: <br>";
243
244 public static final String PROBLEM_APPLYING_DELETES1_COMPONENTS
245 = "Probably the component was deleted by another user: <br>";
246
247 public static final String PROBLEM_APPLYING_DELETES2_COMPONENTS
248 = "The list above shows current letter components. <br>"
249 + "A problem happened deleting letter components: <br>";
250
251 public static final String PROBLEM_APPLYING_UPDATES1_COMPONENTS
252 = "Probably the component was deleted by another user: <br>";
253
254 public static final String PROBLEM_APPLYING_UPDATES2_COMPONENTS
255 = "The list above shows current letter components. <br>"
256 + "A problem happened updating letter component: <br>";
257
258
259
260 public static final String IMAGE_POSITION_MISSING
261 = "An image position is missing.";
262
263 public static final String EXTRA_IMAGE_POSITION
264 = "There is no image to be put in a text position.";
265
266 public static final String VAR_POSITION_MISSING
267 = "A variable position is missing.";
268
269 public static final String EXTRA_VAR_POSITION
270 = "There is no variable to be put in a text position.";
271
272 public static final String PROBLEMS_TRANSFORMING_RTF
273 = "Problems transforming rtf to fo.";
274
275 public static final String PROBLEMS_SUBSTITUTING_IMAGES
276 = "Problems substituting images in a fo template.";
277
278 public static final String PROBLEMS_FILLING_VARIABLES
279 = "Problems filling variables in a fo template.";
280
281 public static final String DOCUMENT_NULL
282 = "A preview is impossible: the document is null.";
283
284 public static final String PROBLEMS_CALCULATING_FO_TEMPLATE
285 = "Problems calculating the fo template.";
286
287
288
289 public static final String PROBLEM_GENERATING_VARIABLES_VALUES
290 = "Problem generating a template variables values for a loan: ";
291
292 public static final String PROBLEM_GETTING_RESULTSET
293 = "Problem getting the resultset for a SQL sentence: ";
294
295 public static final String NO_DATA_FOR_LOAN
296 = "<br><br>No results for this loan.";
297
298 public static final String PROBLEM_LOAD_FTPS
299 = "Problem loading FTP ids of the company: ";
300
301
302
303 public static final String NOT_EXISTS_JOB
304 = "Letter Job not found in the database. ";
305
306 public static final String PROBLEM_CHECK_JOB
307 = "Problem while checking the existence of the Job in the database: ";
308
309 public static final String PROBLEM_INSERT_JOB
310 = "Problem while inserting a new Job in the database: ";
311
312 public static final String PROBLEM_GET_JOBID
313 = "Problem while getting job ID assigned by the database: ";
314
315 public static final String PROBLEM_GET_JOBVERSION
316 = "Problem while getting job version in the database: ";
317
318 public static final String PROBLEM_INSERT_JOBSELECT
319 = "Problem while inserting SELECT elements of a Job in the database: ";
320
321 public static final String PROBLEM_INSERT_JOBWHERE
322 = "Problem while inserting WHERE elements of a Job in the database: ";
323
324 public static final String PROBLEM_INSERT_JOBORDER
325 = "Problem while inserting ORDER elements of a Job in the database: ";
326
327 public static final String PROBLEM_CHECK_JOBLOGS
328 = "Problem while checking the existence of job log: ";
329
330 public static final String PROBLEM_JOB_CANNOT_BE_DELETED
331 = "The job can not be deleted because it has an history of executions "
332 + "(it could be change to 'inactive' status). ";
333
334 public static final String PROBLEM_JOB_WAS_DELETED
335 = "Probably the job was deleted by another user: ";
336
337 public static final String PROBLEM_DELETE_JOB
338 = "Problem while deleting a Job from the database: ";
339
340 public static final String PROBLEM_DELETE_JOBSELECT
341 = "Problem while deleting SELECT elements of a Job in the database: ";
342
343 public static final String PROBLEM_DELETE_JOBWHERE
344 = "Problem while deleting WHERE elements of a Job in the database: ";
345
346 public static final String PROBLEM_DELETE_JOBORDER
347 = "Problem while deleting ORDER elements of a Job in the database: ";
348
349 public static final String PROBLEM_DELETE_JOBLOGS
350 = "Problem while deleting Log data of a Job in the database: ";
351
352 public static final String PROBLEM_SELECT_JOB
353 = "Problem while selecting a Job from the database: ";
354
355 public static final String PROBLEM_SELECT_JOBSELECT
356 = "Problem while selecting SELECT elements of a Job from the database: ";
357
358 public static final String PROBLEM_SELECT_JOBWHERE
359 = "Problem while selecting WHERE elements of a Job from the database: ";
360
361 public static final String PROBLEM_SELECT_JOBORDER
362 = "Problem while selecting ORDER elements of a Job from the database: ";
363
364 public static final String PROBLEM_UPDATE_JOB
365 = "Problem while updating a Job in the database: ";
366
367 public static final String PROBLEM_LOAD_JOBS
368 = "Problem while getting names of letter jobs in the database: ";
369
370 public static final String PROBLEM_LOAD_MENUS
371 = "Problem while getting field menus with values from the database: ";
372
373 public static final String PROBLEM_NO_TEMPLATE
374 = "Probably the requested template was deleted by another user: ";
375
376 public static final String INCORRECT_ACTIVATION_DATE
377 = "Activation date for new job must be current or later date. ";
378
379 public static final String PROBLEM_JOB_DUPLICATED
380 = "Probably the new job has repeated the name of another existent job. ";
381
382 public static final String PROBLEM_LOAD_LETTER_JOB
383 = "Problem loading letter job: ";
384
385 public static final String PROBLEM_JOB_DUPLICATED_OR_NO_TEMPLATE
386 = "Probably the job has repeated the name of another existent job"
387 + " or the associated template was deleted by another user: ";
388
389 public static final String PROBLEM_LOAD_COMPANY_CALENDARS
390 = "Problem loading company calendars: ";
391
392 public static final String INSUFFICIENT_CALENDARS
393 = "There are not enough company calendars to calculate: ";
394
395
396
397 public static final String NO_LETTER_JOB
398 = "The company does not have any associated LETTER_JOB ";
399
400 public static final String PROBLEM_LOAD_COMPANY_WORK_DIR
401 = "Problem loading work directory of the company: ";
402
403 public static final String PROBLEM_INSERT_LETTER_JOB_LOG
404 = "Problem while inserting WHERE elements of a letter job log in the database: ";
405
406 public static final String PROBLEM_STORE_LETTER_JOB_LOG
407 = "Problem while storing WHERE elements of a letter job log in the database: ";
408
409 public static final String PROBLEM_INSERT_LETTER_FTP_JOB_LOG
410 = "Problem while inserting WHERE elements of a letter ftp job log in the database: ";
411
412 public static final String PROBLEM_STORE_LETTER_FTP_JOB_LOG
413 = "Problem while storing WHERE elements of a letter ftp job log in the database: ";
414
415 public static final String PROBLEM_UPDATE_LETTER_FTP_JOB_LOG
416 = "Problem while updating WHERE elements of a letter ftp job log in the database: ";
417
418 public static final String PROBLEM_UPDATE_LETTER_JOB_DATE
419 = "Problem while updating last execution date of a letter job in the database: ";
420
421 public static final String PROBLEM_STORE_LETTER_JOB_DATE
422 = "Problem while storing last execution date of a letter job in the database: ";
423
424 public static final String PROBLEM_LOAD_COMPANY_LOCATIONS
425 = "Problem loading company locations : ";
426
427 public static final String PROBLEM_LOAD_JOB_FTP_LOGS
428 = "Problem loading job and ftp logs from current company : ";
429
430 public static final String PROBLEM_BATCH_ACTION_RESULT_HISTORY
431 = "Problem loading batch letter action result history: ";
432
433 public static final String PROBLEM_ACTION_CODE
434 = "Problem loading collection action code: ";
435
436 public static final String PROBLEM_RESULT_CODE
437 = "Problem loading collection result code: ";
438
439 public static final String PROBLEM_LETTER_CODE
440 = "Problem loading collection letter template code: ";
441
442 }
443
444
445