1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kns.util; |
17 | |
|
18 | |
import java.util.ArrayList; |
19 | |
import java.util.List; |
20 | |
|
21 | |
import org.kuali.rice.core.util.JSTLConstants; |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | 0 | public class KNSConstants extends JSTLConstants { |
27 | |
private static final long serialVersionUID = 2882277719647128949L; |
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
public static final String SYSTEM_USER = "kr"; |
33 | |
|
34 | |
public static final String PARAM_MAINTENANCE_VIEW_MODE = "maintenanceViewMode"; |
35 | |
public static final String PARAM_MAINTENANCE_VIEW_MODE_MAINTENANCE = "maintenance"; |
36 | |
public static final String PARAM_MAINTENANCE_VIEW_MODE_LOOKUP = "lookup"; |
37 | |
public static final String PARAM_MAINTENANCE_VIEW_MODE_INQUIRY = "inquiry"; |
38 | |
|
39 | |
public static final String KNS_NAMESPACE = "KR-NS"; |
40 | |
public static final String KUALI_RICE_SYSTEM_NAMESPACE = "KR-SYS"; |
41 | |
public static final String KUALI_RICE_WORKFLOW_NAMESPACE = "KR-WKFLW"; |
42 | |
public static final String KUALI_RICE_SERVICE_BUS_NAMESPACE = "KR-BUS"; |
43 | |
|
44 | |
public static final String KUALI_ACTION_CAN_EDIT = "canEdit"; |
45 | |
public static final String KUALI_ACTION_CAN_ANNOTATE = "canAnnotate"; |
46 | |
public static final String KUALI_ACTION_CAN_CLOSE = "canClose"; |
47 | |
public static final String KUALI_ACTION_CAN_SAVE = "canSave"; |
48 | |
public static final String KUALI_ACTION_CAN_ROUTE = "canRoute"; |
49 | |
public static final String KUALI_ACTION_CAN_CANCEL = "canCancel"; |
50 | |
public static final String KUALI_ACTION_CAN_RELOAD = "canReload"; |
51 | |
public static final String KUALI_ACTION_CAN_COPY ="canCopy"; |
52 | |
public static final String KUALI_ACTION_PERFORM_ROUTE_REPORT = "canPerformRouteReport"; |
53 | |
public static final String KUALI_ACTION_CAN_AD_HOC_ROUTE = "canAdHocRoute"; |
54 | |
public static final String KUALI_ACTION_CAN_BLANKET_APPROVE ="canBlanketApprove"; |
55 | |
public static final String KUALI_ACTION_CAN_ACKNOWLEDGE = "canAcknowledge"; |
56 | |
public static final String KUALI_ACTION_CAN_FYI = "canFYI"; |
57 | |
public static final String KUALI_ACTION_CAN_APPROVE = "canApprove"; |
58 | |
public static final String KUALI_ACTION_CAN_DISAPPROVE = "canDisapprove"; |
59 | |
public static final String KUALI_ACTION_CAN_CREATE = "canCreate"; |
60 | |
public static final String KUALI_ACTION_CAN_SEND_ADHOC_REQUESTS = "canSendAdHocRequests"; |
61 | |
public static final String KUALI_ACTION_CAN_ADD_ADHOC_REQUESTS = "canAddAdHocRequests"; |
62 | |
public static final String KUALI_ACTION_CAN_SEND_NOTE_FYI = "canSendNoteFyi"; |
63 | |
public static final String KUALI_ACTION_CAN_EDIT__DOCUMENT_OVERVIEW = "canEditDocumentOverview"; |
64 | |
public static final String KUALI_DEFAULT_TRUE_VALUE = "true"; |
65 | |
|
66 | 0 | public static class DetailTypes { |
67 | |
public static final String NA_PARM_DETAIL_TYPE = "N/A"; |
68 | |
public static final String ALL_DETAIL_TYPE = "All"; |
69 | |
public static final String LOOKUP_PARM_DETAIL_TYPE = "Lookup"; |
70 | |
public static final String UNIVERSAL_USER_DETAIL_TYPE = "Person"; |
71 | |
public static final String KUALI_MODULE_USER_DETAIL_TYPE = "KualiModuleUser"; |
72 | |
public static final String DOCUMENT_DETAIL_TYPE = "Document"; |
73 | |
public static final String DOCUMENT_TYPE_DETAIL_TYPE = "DocumentType"; |
74 | |
public static final String RULE_DETAIL_TYPE = "Rule"; |
75 | |
public static final String ACTION_LIST_DETAIL_TYPE = "ActionList"; |
76 | |
public static final String BACKDOOR_DETAIL_TYPE = "Backdoor"; |
77 | |
public static final String DOCUMENT_SEARCH_DETAIL_TYPE = "DocSearchCriteriaDTO"; |
78 | |
public static final String EDOC_LITE_DETAIL_TYPE = "EDocLite"; |
79 | |
public static final String FEATURE_DETAIL_TYPE = "Feature"; |
80 | |
public static final String GLOBAL_REVIEWER_DETAIL_TYPE = "GlobalReviewer"; |
81 | |
public static final String MAILER_DETAIL_TYPE = "Mailer"; |
82 | |
public static final String NOTE_DETAIL_TYPE = "Note"; |
83 | |
public static final String QUICK_LINK_DETAIL_TYPE = "QuickLink"; |
84 | |
public static final String ROUTE_QUEUE_DETAIL_TYPE = "RouteQueue"; |
85 | |
public static final String ROUTE_DETAIL_TYPE = "Route"; |
86 | |
public static final String RULE_SERVICE_DETAIL_TYPE = "RuleBaseValues"; |
87 | |
public static final String RULE_TEMPLATE_DETAIL_TYPE = "RuleTemplate"; |
88 | |
public static final String WORKGROUP_DETAIL_TYPE = "Notification"; |
89 | |
} |
90 | |
|
91 | 0 | public static class DocumentFormHeaderFieldIds { |
92 | |
public static final String DOCUMENT_NUMBER = "documentNumber"; |
93 | |
public static final String DOCUMENT_WORKFLOW_STATUS = "documentStatus"; |
94 | |
public static final String DOCUMENT_INITIATOR = "documentInitiator"; |
95 | |
public static final String DOCUMENT_CREATE_DATE = "documentCreateDate"; |
96 | |
public static final String DOCUMENT_TEMPLATE_NUMBER = "documentTemplateNumber"; |
97 | |
} |
98 | |
|
99 | |
public static final String MAX_UPLOAD_SIZE_PARM_NM = "MAX_FILE_SIZE_DEFAULT_UPLOAD"; |
100 | |
|
101 | |
public static final String UPLOADED_FILE_REQUEST_ATTRIBUTE_KEY = "org.kuali.rice.kns.util.WebUtils.uploadedFiles"; |
102 | |
|
103 | |
public static final String NOTE_WORKFLOW_NOTIFICATION_REQUEST_LABEL = "READ NOTES"; |
104 | |
|
105 | |
public static final String SEND_NOTE_WORKFLOW_NOTIFICATION_ACTIONS_PARM_NM = "SEND_NOTE_WORKFLOW_NOTIFICATION_ACTIONS"; |
106 | |
public static final String ATTACHMENT_MAX_FILE_SIZE_PARM_NM = "MAX_FILE_SIZE_ATTACHMENT"; |
107 | |
public static final String DOCUMENT_HTTP_SESSION_KEY = "documentHttpSessionKey"; |
108 | |
|
109 | |
|
110 | |
public static final String ENVIRONMENT_KEY = "environment"; |
111 | |
public static final String MESSAGE_RESOURCES = "rice.struts.message.resources"; |
112 | |
|
113 | |
|
114 | |
|
115 | |
|
116 | |
|
117 | |
public static final String APPLICATION_URL_KEY = "application.url"; |
118 | |
public static final String ATTACHMENTS_DIRECTORY_KEY = "attachments.directory"; |
119 | |
public static final String ATTACHMENTS_PENDING_DIRECTORY_KEY = "attachments.pending.directory"; |
120 | |
|
121 | |
|
122 | |
public static final String EXTERNALIZABLE_HELP_URL_KEY = "externalizable.help.url"; |
123 | |
public static final String APPLICATION_EXTERNALIZABLE_IMAGES_URL_KEY = "externalizable.images.url"; |
124 | |
public static final String EXTERNALIZABLE_IMAGES_URL_KEY = "kr.externalizable.images.url"; |
125 | |
|
126 | |
public static final String WORKFLOW_URL_KEY = "workflow.url"; |
127 | |
public static final String KUALI_RICE_URL_KEY = "kr.url"; |
128 | |
public static final String PROD_ENVIRONMENT_CODE_KEY = "production.environment.code"; |
129 | |
public static final String DOC_HANDLER_ACTION = "DocHandler.do"; |
130 | |
public static final String DOCHANDLER_DO_URL = "/" + DOC_HANDLER_ACTION + "?docId="; |
131 | |
public static final String DOCHANDLER_URL_CHUNK = "&command=displayDocSearchView"; |
132 | |
|
133 | |
|
134 | |
public static final String SCRIPT_CONFIGURATION_FILES_LIST_NAME = "scriptConfigurationFilePaths"; |
135 | |
|
136 | |
|
137 | |
|
138 | |
public static final String ACTION_FORM_UTIL_MAP_METHOD_PARM_DELIMITER = "~"; |
139 | |
public static final String ADD_LINE_METHOD = "addLine"; |
140 | |
public static final String ADD_PREFIX = "add"; |
141 | |
public static final String YES_INDICATOR_VALUE = "Y"; |
142 | |
public static final String NO_INDICATOR_VALUE = "N"; |
143 | |
|
144 | |
|
145 | |
|
146 | |
public static final String BLANK_SPACE = " "; |
147 | |
public static final String BACK_LOCATION = "backLocation"; |
148 | |
public static final String BACKDOOR_PARAMETER = "backdoorId"; |
149 | |
public static final String LOGOFF_REDIRECT_URL_PARAMETER = "LOGOFF_REDIRECT_URL"; |
150 | |
public static final String LOGOFF_REDIRECT_URL_PROPERTY = "rice.portal.logout.redirectUrl"; |
151 | |
|
152 | |
public static final String BUSINESS_OBJECT_CLASS_ATTRIBUTE = "businessObjectClassName"; |
153 | |
public static final String CALLING_METHOD = "caller"; |
154 | |
public static final String CONFIRMATION_QUESTION = "confirmationQuestion"; |
155 | |
public static final String CONVERSION_FIELDS_PARAMETER = "conversionFields"; |
156 | |
public static final String FIELDS_CONVERSION_PARAMETER = "fieldConversions"; |
157 | |
public static final String LOOKUP_READ_ONLY_FIELDS = "readOnlyFields"; |
158 | |
public static final String LOOKUP_AUTO_SEARCH = "autoSearch"; |
159 | |
public static final String SEARCH_METHOD = "search"; |
160 | |
|
161 | |
public static final String DELETE_LINE_METHOD = "deleteLine"; |
162 | |
public static final String TOGGLE_INACTIVE_METHOD = "toggleInactiveRecordDisplay"; |
163 | |
public static final String DICTIONARY_BO_NAME = "dictionaryBusinessObjectName"; |
164 | |
public static final String DISPATCH_REQUEST_PARAMETER = "methodToCall"; |
165 | |
public static final String CUSTOM_ACTION = "customAction"; |
166 | |
public static final String DOC_FORM_KEY = "docFormKey"; |
167 | |
public static final String FORM_KEY = "formKey"; |
168 | |
public static final String NEW_NOTE_NOTE_TYPE_CODE = "newNote.noteTypeCode"; |
169 | |
public static final String POST_TEXT_AREA_TO_PARENT = "postTextAreaToParent"; |
170 | |
public static final String DOCUMENT_CANCEL_QUESTION = "DocCancel"; |
171 | |
|
172 | |
public static final String DOCUMENT_DISAPPROVE_QUESTION = "DocDisapprove"; |
173 | |
public static final String DOCUMENT_SENSITIVE_DATA_QUESTION = "DocSensitiveDataQuestion"; |
174 | |
|
175 | |
public static final String DOCUMENT_HEADER_PROPERTY_NAME = "documentHeader"; |
176 | |
public static final String DOCUMENT_SAVE_BEFORE_CLOSE_QUESTION = "DocSaveBeforeClose"; |
177 | |
public static final String EXTRA_BUTTON_SOURCE = "extraButtonSource"; |
178 | |
public static final String EXTRA_BUTTON_PARAMS = "extraButtonParams"; |
179 | |
public static final String NEW_AD_HOC_ROUTE_PERSON_PROPERTY_NAME = "newAdHocRoutePerson"; |
180 | |
public static final String NEW_AD_HOC_ROUTE_WORKGROUP_PROPERTY_NAME = "newAdHocRouteWorkgroup"; |
181 | |
public static final String EXISTING_AD_HOC_ROUTE_PERSON_PROPERTY_NAME = "adHocRoutePerson"; |
182 | |
public static final String EXISTING_AD_HOC_ROUTE_WORKGROUP_PROPERTY_NAME = "adHocRouteWorkgroup"; |
183 | |
public static final String DOCUMENT_PROPERTY_NAME = "document"; |
184 | |
public static final String DOCUMENT_TYPE_NAME = "docTypeName"; |
185 | |
public static final String EDIT_PREFIX = "edit"; |
186 | |
public static final String EMPTY_STRING = ""; |
187 | |
public static final String FIELD_CONVERSION_PAIR_SEPARATOR = ":"; |
188 | |
public static final String FIELD_CONVERSIONS_SEPARATOR = ","; |
189 | |
public static final String REFERENCES_TO_REFRESH_SEPARATOR = ","; |
190 | |
public static final String RESTRICTED_DATA_MASK = "xxxxxx"; |
191 | |
|
192 | |
|
193 | |
|
194 | |
public static final String OVERRIDE_KEYS = "overrideKeys"; |
195 | |
public static final String COPY_KEYS = "cpKys"; |
196 | |
|
197 | |
public static final String KNS_APPLICATION_DATASOURCE = "knsApplication.datasource"; |
198 | |
public static final String KNS_SERVER_DATASOURCE = "knsServer.datasource"; |
199 | |
public static final String KNS_APPLICATION_DATASOURCE_JNDI = "knsApplication.datasource.jndi.location"; |
200 | |
public static final String KNS_SERVER_DATASOURCE_JNDI = "knsServer.datasource.jndi.location"; |
201 | |
|
202 | |
|
203 | |
|
204 | |
|
205 | |
|
206 | |
|
207 | |
public static final String NEW_DOCUMENT_NOTE_PROPERTY_NAME = "newNote"; |
208 | |
|
209 | |
|
210 | |
|
211 | |
public static final String NOTE_TEXT_PROPERTY_NAME = "noteText"; |
212 | |
|
213 | |
|
214 | |
|
215 | |
public static final String NOTE_TOPIC_TEXT_PROPERTY_NAME = "noteTopicText"; |
216 | |
|
217 | |
|
218 | |
|
219 | |
public static final String NOTE_ATTACHMENT_FILE_PROPERTY_NAME = "attachmentFile"; |
220 | |
|
221 | |
|
222 | |
|
223 | |
|
224 | |
|
225 | |
|
226 | |
|
227 | |
|
228 | |
|
229 | |
|
230 | |
|
231 | |
|
232 | |
public static final String NOTE_ATTACHMENT_ENABLED = "enableNoteAttachments"; |
233 | |
|
234 | |
|
235 | |
|
236 | |
|
237 | |
|
238 | |
|
239 | |
public static final String RESULTS_DEFAULT_MAX_COLUMN_LENGTH = "RESULTS_DEFAULT_MAX_COLUMN_LENGTH"; |
240 | |
|
241 | |
|
242 | |
|
243 | |
|
244 | |
|
245 | |
|
246 | |
|
247 | |
|
248 | |
|
249 | |
|
250 | |
|
251 | |
|
252 | |
public static final String CHECKBOX_PRESENT_ON_FORM_ANNOTATION = "{CheckboxPresentOnFormAnnotation}"; |
253 | |
|
254 | |
public static final int DOCUMENT_ANNOTATION_MAX_LENGTH = 2000; |
255 | |
|
256 | |
public static final String HIDE_LOOKUP_RETURN_LINK = "hideReturnLink"; |
257 | |
public static final String SUPPRESS_ACTIONS = "suppressActions"; |
258 | |
public static final String REFERENCES_TO_REFRESH = "referencesToRefresh"; |
259 | |
|
260 | |
|
261 | |
public static final String INQUIRABLE_ATTRIBUTE_NAME = "kualiInquirable"; |
262 | |
public static final String INQUIRY_ACTION = "inquiry.do"; |
263 | |
public static final String PORTAL_ACTION = "portal.do"; |
264 | |
public static final String DIRECT_INQUIRY_ACTION = "directInquiry.do"; |
265 | |
public static final String CONTINUE_WITH_INQUIRY_METHOD_TO_CALL = "continueWithInquiry"; |
266 | |
|
267 | |
public static final String INQUIRY_PK_VALUE_PASSED_FROM_PREVIOUS_REQUEST_PREFIX = "previousPkValue_"; |
268 | |
public static final String INACTIVE_RECORD_DISPLAY_PARAM_PREFIX = "inactiveRecordDisplay_"; |
269 | |
|
270 | |
public static final String FIELD_NAME_TO_FOCUS_ON_AFTER_SUBMIT = "fieldNameToFocusOnAfterSubmit"; |
271 | |
|
272 | |
public static final String DEFAULT_APPLICATION_CODE = "KUALI"; |
273 | |
public static final String APPLICATION_CODE = "app.namespace"; |
274 | |
public static final String LOOKUP_ACTION = "lookup.do"; |
275 | |
public static final String MULTIPLE_VALUE_LOOKUP_ACTION = "multipleValueLookup.do"; |
276 | |
public static final String LOOKUP_RESULTS_SEQUENCE_NUMBER = "lookupResultsSequenceNumber"; |
277 | |
public static final String LOOKUP_RESULTS_BO_CLASS_NAME = "lookupResultsBOClassName"; |
278 | |
public static final String LOOKED_UP_COLLECTION_NAME = "lookedUpCollectionName"; |
279 | |
public static final String MULTIPLE_VALUE_LOOKUP_PREVIOUSLY_SELECTED_OBJ_IDS_PARAM = "previouslySelectedObjectIds"; |
280 | |
public static final String MULTIPLE_VALUE_LOOKUP_OBJ_IDS_SEPARATOR = "||"; |
281 | |
public static final String MULTIPLE_VALUE_LOOKUP_DISPLAYED_OBJ_ID_PARAM_PREFIX = "displayedObjId-"; |
282 | |
public static final String MULTIPLE_VALUE_LOOKUP_SELECTED_OBJ_ID_PARAM_PREFIX = "selectedObjId-"; |
283 | |
public static final String LOOKUP_ANCHOR = "lookupAnchor"; |
284 | |
public static final String LOOKUPABLE_IMPL_ATTRIBUTE_NAME = "lookupableImplServiceName"; |
285 | |
public static final String LOOKUP_RESULTS_SEQUENCE = "KRNS_LOOKUP_RSLT_S"; |
286 | |
public static final String KUALI_LOOKUPABLE_IMPL = "kualiLookupable"; |
287 | |
public static final String PARAMETER_DOC_ID = "docId"; |
288 | |
public static final String PARAMETER_COMMAND = "command"; |
289 | |
|
290 | |
public static final String LOOKUP_DEFAULT_RANGE_SEARCH_LOWER_BOUND_LABEL = "From"; |
291 | |
public static final String LOOKUP_DEFAULT_RANGE_SEARCH_UPPER_BOUND_LABEL = "To"; |
292 | |
public static final String LOOKUP_RANGE_LOWER_BOUND_PROPERTY_PREFIX = "rangeLowerBoundKeyPrefix_"; |
293 | |
public static final String LOOKUP_RANGE_UPPER_BOUND_PROPERTY_PREFIX = "rangeUpperBoundKeyPrefix_"; |
294 | |
public static final String LOOKUP_PARAMETER_LITERAL_PREFIX = "literal"; |
295 | |
public static final String LOOKUP_PARAMETER_LITERAL_DELIMITER = "="; |
296 | |
|
297 | |
public static final String METHOD_DISPLAY_DOC_SEARCH_VIEW = "displayDocSearchView"; |
298 | |
public static final String MAINTENANCE_ACTION = "maintenance.do"; |
299 | |
public static final String MAINTENANCE_ADD_PREFIX = "add."; |
300 | |
public static final String MAINTENANCE_COPY_ACTION = "Copy"; |
301 | |
public static final String MAINTENANCE_EDIT_ACTION = "Edit"; |
302 | |
public static final String MAINTENANCE_DELETE_ACTION = "Delete"; |
303 | |
public static final String MAINTENANCE_NEW_ACTION = "New"; |
304 | |
public static final String MAINTENANCE_COPY_METHOD_TO_CALL = "copy"; |
305 | |
public static final String MAINTENANCE_EDIT_METHOD_TO_CALL = "edit"; |
306 | |
public static final String MAINTENANCE_DELETE_METHOD_TO_CALL = "delete"; |
307 | |
public static final String MAINTENANCE_NEW_METHOD_TO_CALL = "start"; |
308 | |
public static final String MAINTENANCE_NEWWITHEXISTING_ACTION = "newWithExisting"; |
309 | |
public static final String MAINTENANCE_ACTN = "maintenanceAction"; |
310 | |
public static final String MAINTENANCE_NEW_MAINTAINABLE = "document.newMaintainableObject."; |
311 | |
public static final String MAINTENANCE_OLD_MAINTAINABLE = "document.oldMaintainableObject."; |
312 | |
public static final String MAPPING_CANCEL = "cancel"; |
313 | |
public static final String MAPPING_CLOSE = "close"; |
314 | |
public static final String MAPPING_DISAPPROVE = "disapprove"; |
315 | |
|
316 | |
|
317 | |
public static final String MAPPING_ERROR = "error"; |
318 | |
public static final String MAPPING_PORTAL = "portal"; |
319 | |
|
320 | |
public static final String MAPPING_ROUTE_REPORT = "route_report"; |
321 | |
|
322 | |
public static final String METHOD_TO_CALL_ATTRIBUTE = "methodToCallAttribute"; |
323 | |
public static final String METHOD_TO_CALL_PATH = "methodToCallPath"; |
324 | |
public static final String METHOD_TO_CALL_BOPARM_LEFT_DEL = "(!!"; |
325 | |
public static final String METHOD_TO_CALL_BOPARM_RIGHT_DEL = "!!)"; |
326 | |
public static final String METHOD_TO_CALL_PARM1_LEFT_DEL = "((("; |
327 | |
public static final String METHOD_TO_CALL_PARM1_RIGHT_DEL = ")))"; |
328 | |
public static final String METHOD_TO_CALL_PARM2_LEFT_DEL = "((`"; |
329 | |
public static final String METHOD_TO_CALL_PARM2_RIGHT_DEL = "`))"; |
330 | |
public static final String METHOD_TO_CALL_PARM3_LEFT_DEL = "((<"; |
331 | |
public static final String METHOD_TO_CALL_PARM3_RIGHT_DEL = ">))"; |
332 | |
public static final String METHOD_TO_CALL_PARM4_LEFT_DEL = "((["; |
333 | |
public static final String METHOD_TO_CALL_PARM4_RIGHT_DEL = "]))"; |
334 | |
public static final String METHOD_TO_CALL_PARM5_LEFT_DEL = "((*"; |
335 | |
public static final String METHOD_TO_CALL_PARM5_RIGHT_DEL = "*))"; |
336 | |
public static final String METHOD_TO_CALL_PARM6_LEFT_DEL = "((%"; |
337 | |
public static final String METHOD_TO_CALL_PARM6_RIGHT_DEL = "%))"; |
338 | |
public static final String METHOD_TO_CALL_PARM7_LEFT_DEL = "((^"; |
339 | |
public static final String METHOD_TO_CALL_PARM7_RIGHT_DEL = "^))"; |
340 | |
public static final String METHOD_TO_CALL_PARM8_LEFT_DEL = "((&"; |
341 | |
public static final String METHOD_TO_CALL_PARM8_RIGHT_DEL = "&))"; |
342 | |
public static final String METHOD_TO_CALL_PARM9_LEFT_DEL = "((~"; |
343 | |
public static final String METHOD_TO_CALL_PARM9_RIGHT_DEL = "~))"; |
344 | |
public static final String METHOD_TO_CALL_PARM10_LEFT_DEL = "((/"; |
345 | |
public static final String METHOD_TO_CALL_PARM10_RIGHT_DEL = "/))"; |
346 | |
public static final String METHOD_TO_CALL_PARM11_LEFT_DEL = "(:;"; |
347 | |
public static final String METHOD_TO_CALL_PARM11_RIGHT_DEL = ";:)"; |
348 | |
public static final String METHOD_TO_CALL_PARM12_LEFT_DEL = "(::;"; |
349 | |
public static final String METHOD_TO_CALL_PARM12_RIGHT_DEL = ";::)"; |
350 | |
|
351 | |
public static final String METHOD_TO_CALL_PARM13_LEFT_DEL = "(:::;"; |
352 | |
public static final String METHOD_TO_CALL_PARM13_RIGHT_DEL = ";:::)"; |
353 | |
|
354 | |
public static final String METHOD_TO_CALL_PARM14_LEFT_DEL = "(::::;"; |
355 | |
public static final String METHOD_TO_CALL_PARM14_RIGHT_DEL = ";::::)"; |
356 | |
|
357 | |
|
358 | |
|
359 | |
|
360 | |
public static final String SESSION_TIMEOUT_WARNING_MESSAGE_TIME_PARM_NM = "SESSION_TIMEOUT_WARNING_MESSAGE_TIME"; |
361 | |
public static final String SESSION_TIMEOUT_WARNING_MILLISECONDS = "SESSION_TIMEOUT_WARNING_MILLISECONDS"; |
362 | |
public static final String SESSION_TIMEOUT_WARNING_MINUTES = "SESSION_TIMEOUT_WARNING_MINUTES"; |
363 | |
|
364 | |
public static final String ANCHOR = "anchor"; |
365 | |
public static final String ANCHOR_TOP_OF_FORM = "topOfForm"; |
366 | |
public static final String QUESTION_ANCHOR = "questionAnchor"; |
367 | |
public static final String NOT_AVAILABLE_STRING = "N/A"; |
368 | |
|
369 | |
|
370 | |
public static final String QUESTION_ACTION = "questionPrompt.do"; |
371 | |
public static final String QUESTION_CLICKED_BUTTON = "buttonClicked"; |
372 | |
public static final String QUESTION_ERROR_KEY = "questionErrorKey"; |
373 | |
public static final String QUESTION_ERROR_PROPERTY_NAME = "questionErrorPropertyName"; |
374 | |
public static final String QUESTION_ERROR_PARAMETER = "questionErrorParameter"; |
375 | |
public static final String QUESTION_IMPL_ATTRIBUTE_NAME = "questionType"; |
376 | |
public static final String QUESTION_INST_ATTRIBUTE_NAME = "questionIndex"; |
377 | |
public static final String QUESTION_PAGE_TITLE = "Question Dialog Page"; |
378 | |
public static final String QUESTION_REFRESH = "QuestionRefresh"; |
379 | |
public static final String QUESTION_CONTEXT = "context"; |
380 | |
public static final String QUESTION_TEXT_ATTRIBUTE_NAME = "questionText"; |
381 | |
public static final String QUESTION_REASON_ATTRIBUTE_NAME = "reason"; |
382 | |
public static final String QUESTION_SHOW_REASON_FIELD = "showReasonField"; |
383 | |
|
384 | |
public static final String REFRESH_CALLER = "refreshCaller"; |
385 | |
public static final String REFRESH_MAPPING_PREFIX = "/Refresh"; |
386 | |
|
387 | |
public static final String REQUIRED_FIELD_SYMBOL = "*"; |
388 | |
public static final String RETURN_LOCATION_PARAMETER = "returnLocation"; |
389 | |
public static final String RETURN_METHOD_TO_CALL = "refresh"; |
390 | |
|
391 | |
|
392 | |
public static final String TEXT_AREA_REFRESH = "TextAreaRefresh"; |
393 | |
|
394 | |
|
395 | |
|
396 | |
public static final String ROUTE_METHOD = "route"; |
397 | |
public static final String SAVE_METHOD = "save"; |
398 | |
public static final String APPROVE_METHOD = "approve"; |
399 | |
public static final String BLANKET_APPROVE_METHOD = "blanketApprove"; |
400 | |
public static final String DOC_HANDLER_METHOD = "docHandler"; |
401 | |
public static final String CLOSE_METHOD = "close"; |
402 | |
public static final String CANCEL_METHOD = "cancel"; |
403 | |
public static final String LOAD_DOCUMENT_METHOD = "loadDocument"; |
404 | |
public static final String CREATE_DOCUMENT_METHOD = "createDocument"; |
405 | |
public static final String DISAPPROVE_METHOD = "disapprove"; |
406 | |
public static final String FYI_METHOD = "fyi"; |
407 | |
public static final String ACKNOWLEDGE_METHOD = "acknowledge"; |
408 | |
|
409 | |
public static final String DOWNLOAD_BO_ATTACHMENT_METHOD ="downloadBOAttachment"; |
410 | |
public static final String DOWNLOAD_CUSTOM_BO_ATTACHMENT_METHOD ="downloadCustomBOAttachment"; |
411 | |
public static final String NOTE_IDENTIFIER = "noteIdentifier"; |
412 | |
public static final String BO_ATTACHMENT_FILE_NAME = "fileName"; |
413 | |
public static final String BO_ATTACHMENT_FILE_CONTENT_TYPE = "fileContentType"; |
414 | |
public static final String BO_ATTACHMENT_FILE_CONTENT_FIELD = "fileContentBOField"; |
415 | |
|
416 | |
|
417 | |
|
418 | |
public static final String DELETE_METHOD = "delete"; |
419 | |
public static final String START_METHOD = "start"; |
420 | |
public static final String USER_SESSION_KEY = "UserSession"; |
421 | |
public static final String KUALI_SESSION_ID = "kualiSessionId"; |
422 | |
public static final String EXITING_DOCUMENT = "exitingDocument"; |
423 | |
public static final String DOCUMENT_DOCUMENT_NUMBER = "document.documentNumber"; |
424 | |
public static final String DOC_NUM = "docNum"; |
425 | |
|
426 | |
public static final String SEARCH_LIST_KEY_PREFIX = "searchResults"; |
427 | |
public static final String SEARCH_LIST_REQUEST_KEY = "searchResultKey"; |
428 | |
|
429 | |
public static final String METHOD_DISPLAY_ALL_INACTIVATION_BLOCKERS = "displayAllInactivationBlockers"; |
430 | |
public static final String DISPLAY_ALL_INACTIVATION_BLOCKERS_ACTION = "inactivationBlockers.do"; |
431 | |
|
432 | |
public static final String GLOBAL_ERRORS = "GLOBAL_ERRORS"; |
433 | |
public static final String GLOBAL_MESSAGES = "GlobalMessages"; |
434 | |
public static final String PESSIMISTIC_LOCK_MESSAGES = "DocumentPessimisticLockMessages"; |
435 | |
public static final String AD_HOC_ROUTE_PERSON_ERRORS = "newAdHocRoutePerson*,adHocRoutePerson*"; |
436 | |
public static final String AD_HOC_ROUTE_WORKGROUP_ERRORS = "newAdHocRouteWorkgroup*,adHocRouteWorkgroup*"; |
437 | |
public static final String AD_HOC_ROUTE_ERRORS = AD_HOC_ROUTE_PERSON_ERRORS + "," + AD_HOC_ROUTE_WORKGROUP_ERRORS; |
438 | |
public static final String DOCUMENT_DOCUMENT_ERRORS = "document.document*"; |
439 | |
public static final String DOCUMENT_EXPLANATION_ERRORS = "document.explanation*"; |
440 | |
public static final String DOCUMENT_REVERSAL_ERRORS = "document.reversal*"; |
441 | |
public static final String DOCUMENT_SELECTED_ERRORS = "document.selected*"; |
442 | |
public static final String DOCUMENT_HEADER_ERRORS = "document.header*"; |
443 | |
|
444 | |
public static final String DOCUMENT_ERRORS = DOCUMENT_DOCUMENT_ERRORS + "," + DOCUMENT_EXPLANATION_ERRORS + "," + DOCUMENT_REVERSAL_ERRORS + "," + DOCUMENT_SELECTED_ERRORS + "," + DOCUMENT_HEADER_ERRORS; |
445 | |
|
446 | |
public static final String DOCUMENT_NOTES_ERRORS = NEW_DOCUMENT_NOTE_PROPERTY_NAME + "*"; |
447 | |
|
448 | |
|
449 | |
|
450 | |
public static final String XML_FORMAT = "xml"; |
451 | |
public static final String EXCEL_FORMAT = "xls"; |
452 | |
public static final String CSV_FORMAT = "csv"; |
453 | |
|
454 | |
public static final String XML_MIME_TYPE = "application/xml"; |
455 | |
|
456 | 0 | public enum NoteTypeEnum { |
457 | 0 | BUSINESS_OBJECT_NOTE_TYPE("BO", "documentBusinessObject"), DOCUMENT_HEADER_NOTE_TYPE("DH", "documentHeader"); |
458 | |
private String noteTypeCode; |
459 | |
private String noteTypePath; |
460 | |
|
461 | 0 | private NoteTypeEnum(String noteTypeCode, String noteTypePath) { |
462 | 0 | this.noteTypeCode = noteTypeCode; |
463 | 0 | this.noteTypePath = noteTypePath; |
464 | 0 | } |
465 | |
|
466 | |
public String getCode() { |
467 | 0 | return this.noteTypeCode; |
468 | |
} |
469 | |
|
470 | |
public String getPath() { |
471 | 0 | return this.noteTypePath; |
472 | |
} |
473 | |
|
474 | |
public String getFullPath() { |
475 | 0 | return DOCUMENT_PROPERTY_NAME + "." + getPath(); |
476 | |
} |
477 | |
} |
478 | |
|
479 | |
public static final String AND_LOGICAL_OPERATOR = "&&"; |
480 | |
public static final String OR_LOGICAL_OPERATOR = "|"; |
481 | |
public static final String NOT_LOGICAL_OPERATOR = "!"; |
482 | |
public static final String BETWEEN_OPERATOR = ".."; |
483 | |
public static final String NULL_OPERATOR = "NULL"; |
484 | |
|
485 | |
|
486 | 0 | public static final String[] QUERY_CHARACTERS = {"*", "?", "%", ">", "<", BETWEEN_OPERATOR, OR_LOGICAL_OPERATOR, NOT_LOGICAL_OPERATOR, "="}; |
487 | 0 | public static final String[] RANGE_CHARACTERS = {">=","<=",">","<",BETWEEN_OPERATOR}; |
488 | |
public static final String AUDIT_ERRORS = "AuditErrors"; |
489 | |
|
490 | |
|
491 | |
public static final String NAVIGATE_TO = "navigateTo."; |
492 | |
public static final String HEADER_DISPATCH = "headerDispatch."; |
493 | |
|
494 | |
public static final String APC_ALLOWED_OPERATOR = "A"; |
495 | |
|
496 | |
|
497 | |
public static final String MULTIPLE_VALUE = "multipleValues"; |
498 | |
|
499 | |
|
500 | |
|
501 | |
|
502 | |
|
503 | |
|
504 | |
public static final String NEWLINE = "\n"; |
505 | |
|
506 | |
|
507 | |
public static final String DOCUMENT_WEB_SCOPE = "documentWebScope"; |
508 | |
public static final String SESSION_SCOPE = "session"; |
509 | |
|
510 | 0 | public static class SystemGroupParameterNames { |
511 | |
public static final String CHECK_ENCRYPTION_SERVICE_OVERRIDE_IND = "CHECK_ENCRYPTION_SERVICE_OVERRIDE_IND"; |
512 | |
|
513 | |
public static final String LOOKUP_RESULTS_LIMIT = "RESULTS_LIMIT"; |
514 | |
public static final String MULTIPLE_VALUE_LOOKUP_RESULTS_PER_PAGE = "MULTIPLE_VALUE_RESULTS_PER_PAGE"; |
515 | |
|
516 | |
|
517 | |
public static final String DEFAULT_CAN_PERFORM_ROUTE_REPORT_IND = "DEFAULT_CAN_PERFORM_ROUTE_REPORT_IND"; |
518 | |
public static final String ALLOW_ENROUTE_BLANKET_APPROVE_WITHOUT_APPROVAL_REQUEST_IND = "ALLOW_ENROUTE_BLANKET_APPROVE_WITHOUT_APPROVAL_REQUEST_IND"; |
519 | |
|
520 | |
|
521 | |
|
522 | |
|
523 | |
public static final String ENABLE_FIELD_LEVEL_HELP_IND = "ENABLE_FIELD_LEVEL_HELP_IND"; |
524 | |
|
525 | |
|
526 | |
|
527 | |
|
528 | |
|
529 | |
|
530 | |
|
531 | |
public static final String ENABLE_DIRECT_INQUIRIES_IND = "ENABLE_DIRECT_INQUIRIES_IND"; |
532 | |
public static final String DEFAULT_COUNTRY = "DEFAULT_COUNTRY"; |
533 | |
|
534 | |
public static final String STRING_TO_DATE_FORMATS = "STRING_TO_DATE_FORMATS"; |
535 | |
public static final String STRING_TO_TIMESTAMP_FORMATS = "STRING_TO_TIMESTAMP_FORMATS"; |
536 | |
public static final String DATE_TO_STRING_FORMAT_FOR_USER_INTERFACE = "DATE_TO_STRING_FORMAT_FOR_USER_INTERFACE"; |
537 | |
public static final String TIMESTAMP_TO_STRING_FORMAT_FOR_USER_INTERFACE = "TIMESTAMP_TO_STRING_FORMAT_FOR_USER_INTERFACE"; |
538 | |
public static final String DATE_TO_STRING_FORMAT_FOR_FILE_NAME = "DATE_TO_STRING_FORMAT_FOR_FILE_NAME"; |
539 | |
public static final String TIMESTAMP_TO_STRING_FORMAT_FOR_FILE_NAME = "TIMESTAMP_TO_STRING_FORMAT_FOR_FILE_NAME"; |
540 | |
public static final String SENSITIVE_DATA_PATTERNS = "SENSITIVE_DATA_PATTERNS"; |
541 | |
public static final String SENSITIVE_DATA_PATTERNS_WARNING_IND = "SENSITIVE_DATA_PATTERNS_WARNING_IND"; |
542 | |
} |
543 | |
|
544 | 0 | public static class Maintenance { |
545 | |
public static final String AFTER_CLASS_DELIM = "!!"; |
546 | |
public static final String AFTER_FIELDNAME_DELIM = "^^"; |
547 | |
public static final String AFTER_VALUE_DELIM = "::"; |
548 | |
} |
549 | |
|
550 | |
public static final int DEFAULT_NUM_OF_COLUMNS = 1; |
551 | |
|
552 | 0 | public static class TableRenderConstants { |
553 | |
public static final String SWITCH_TO_PAGE_METHOD = "switchToPage"; |
554 | |
public static final String SORT_METHOD = "sort"; |
555 | |
public static final String SELECT_ALL_METHOD = "selectAll"; |
556 | |
public static final String UNSELECT_ALL_METHOD = "unselectAll"; |
557 | |
|
558 | |
|
559 | |
public static final String PREVIOUSLY_SORTED_COLUMN_INDEX_PARAM = "previouslySortedColumnIndex"; |
560 | |
public static final String VIEWED_PAGE_NUMBER = "viewedPageNumber"; |
561 | |
} |
562 | |
|
563 | |
public static final String TAB_STATES = "tabStates"; |
564 | |
|
565 | 0 | public static final List<String> ALWAYS_VALID_PARAMETER_PREFIXES = new ArrayList<String>(); |
566 | |
static { |
567 | 0 | ALWAYS_VALID_PARAMETER_PREFIXES.add( TAB_STATES ); |
568 | 0 | ALWAYS_VALID_PARAMETER_PREFIXES.add( DISPATCH_REQUEST_PARAMETER+".hideAllTabs" ); |
569 | 0 | ALWAYS_VALID_PARAMETER_PREFIXES.add( DISPATCH_REQUEST_PARAMETER+".showAllTabs" ); |
570 | 0 | ALWAYS_VALID_PARAMETER_PREFIXES.add( DISPATCH_REQUEST_PARAMETER+".toggleTab" ); |
571 | 0 | ALWAYS_VALID_PARAMETER_PREFIXES.add( DISPATCH_REQUEST_PARAMETER+"."+TableRenderConstants.SWITCH_TO_PAGE_METHOD ); |
572 | |
|
573 | 0 | } |
574 | |
|
575 | |
public static final String GLOBAL_VARIABLES_MESSAGES_LIST_ACTION_MESSAGES = "GlobalVariablesMessagesList"; |
576 | |
|
577 | 0 | public class Config { |
578 | |
public static final String APPLY_ILLEGAL_BUSINESS_OBJECT_FOR_SAVE_CHECK = "rice.kns.illegalBusinessObjectsForSave.applyCheck"; |
579 | |
public static final String ILLEGAL_BUSINESS_OBJECTS_FOR_SAVE = "rice.kns.illegalBusinessObjectsForSave"; |
580 | |
} |
581 | |
|
582 | |
public static final String ENABLE_NONPRODUCTION_UNMASKING = "enable.nonproduction.data.unmasking"; |
583 | |
|
584 | |
public static final String SINGLE_QUOTE = "'"; |
585 | |
|
586 | |
public static final String SENSITIVE_DATA_QUESTION_SESSION_TICKET = "SENSITIVE_DATA_QUESTION_SESSION_TICKET"; |
587 | |
|
588 | |
} |