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