1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kew.util; |
17 | |
|
18 | |
import org.kuali.rice.core.util.RiceConstants; |
19 | |
import org.kuali.rice.kns.util.KNSConstants; |
20 | |
|
21 | |
import java.sql.Date; |
22 | |
import java.util.*; |
23 | |
|
24 | |
public final class KEWConstants { |
25 | |
|
26 | |
public static final String KEW_MODULE_NAMESPACE = "KEW"; |
27 | |
|
28 | |
public static final String WEBAPP_DIRECTORY = "/kew"; |
29 | |
|
30 | |
public static final String USE_OUT_BOX = "USE_OUT_BOX%"; |
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
public static final String RULE_SELECTOR_NODE_STATE_KEY = "__RULE_SELECTOR__"; |
36 | |
|
37 | |
|
38 | |
|
39 | |
public static final String RULE_NAME_NODE_STATE_KEY = "__RULE_NAME__"; |
40 | |
|
41 | |
public static final String DEFAULT_DOCUMENT_TYPE_LABEL = "Undefined"; |
42 | |
|
43 | |
public static final String DOCUMENT_TYPE_INHERITED_VALUE_INDICATOR = "(Inherited from Parent)"; |
44 | |
public static final String DOCUMENT_TYPE_SYSTEM_DEFAULT_INDICATOR = "(System Default)"; |
45 | |
|
46 | |
public static final String KEW_MESSAGING_ENTITY = "KEW"; |
47 | |
|
48 | |
public static final String MESSAGING_MEMORY = "memory"; |
49 | |
|
50 | |
public static final String CORE_WORKFLOW_DATASOURCE = "enWorkflowDataSource"; |
51 | |
|
52 | |
public static final String CORE_WORKFLOW_DATASOURCE_JCD_ALIAS = CORE_WORKFLOW_DATASOURCE; |
53 | |
|
54 | |
public static final String PLUGIN_HOT_DEPLOY_MAX_WAIT_TIME = "Plugin.hotDeploy.maxWaitTime"; |
55 | |
public static final String PLUGIN_HOT_DEPLOY_SAFE_TIME = "Plugin.hotDeploy.safeTime"; |
56 | |
|
57 | |
public static final String KEW_URL_HOST = "kew.url.host"; |
58 | |
public static final String HTTP_SERVICE_PORT = "http.service.port"; |
59 | |
public static final String KEW_SERVER_CONTEXT = "kew.server.context"; |
60 | |
|
61 | |
public static final String RELOAD_ACTION_LIST = "RELOAD_ACTION_LIST"; |
62 | |
public static final String DELEGATION_WIZARD = "delegationWizard"; |
63 | |
public static final String PERFORM_REALTIME_DOCUMENT_UPGRADE = "Document.PerformRealtimeUpgrade"; |
64 | |
|
65 | |
|
66 | |
public static final long DEFAULT_CACHE_REQUEUE_WAIT_TIME = 5000; |
67 | |
|
68 | |
public static final int DEFAULT_THREAD_POOL_SIZE = 5; |
69 | |
|
70 | |
public static final String STANDARD_DOC_SEARCH_GENERATOR_CLASS_CONFIG_PARM = "documentSearch.generator.class.name"; |
71 | |
public static final String STANDARD_DOC_SEARCH_RESULT_PROCESSOR_CLASS_CONFIG_PARM = "documentSearch.resultProcessor.class.name"; |
72 | |
|
73 | |
public static final String DELEGATE_CHANGE_AR_GENERATION_KEY = "DelegateRuleChange.IsGenerateActionRequests"; |
74 | |
|
75 | |
public static final String WORKGROUP_ROUTE_LOG_POPUP_KEY = "Workgroup.IsRouteLogPopup"; |
76 | |
public static final String WORKGROUP_ROUTE_LOG_POPUP_VALUE = "true"; |
77 | |
|
78 | |
public static final String WORKGROUP_SEARCH_INSTRUCTION_KEY = "Workgroup.Search.Instruction"; |
79 | |
public static final String SUB_ACCOUNT_SEARCH_INSTRUCTION_KEY = "SubAccount.Search.Instruction"; |
80 | |
public static final String USER_SEARCH_INSTRUCTION_KEY = "User.Search.Instruction"; |
81 | |
public static final String WORKGROUP_CREATE_NEW_INSTRUCTION_KEY = "Workgroup.CreateNew.Instruction"; |
82 | |
public static final String USER_CREATE_NEW_INSTRUCTION_KEY = "User.CreateNew.Instruction"; |
83 | |
|
84 | |
public static final String ACTION_LIST_ATTRIBUTE_CLASS_PROPERTY = "customActionListAttributeClassName"; |
85 | |
public static final String EMAIL_ATTRIBUTE_CLASS_PROPERTY = "customEmailAttributeClassName"; |
86 | |
public static final String NOTE_ATTRIBUTE_CLASS_PROPERTY = "customNoteAttributeClassName"; |
87 | |
|
88 | |
|
89 | 0 | public static final String DELEGATION_NONE = null; |
90 | |
public static final String DELEGATION_PRIMARY = "P"; |
91 | |
public static final String DELEGATION_SECONDARY = "S"; |
92 | |
|
93 | |
|
94 | |
|
95 | |
public static final String DELEGATION_BOTH = "E"; |
96 | |
|
97 | |
public static final String DELEGATION_PRIMARY_LABEL = "Primary"; |
98 | |
public static final String DELEGATION_SECONDARY_LABEL = "Secondary"; |
99 | |
public static final String DELEGATION_BOTH_LABEL = "Both"; |
100 | |
|
101 | |
|
102 | 0 | public static final Map<String, String> DELEGATION_TYPES = new LinkedHashMap<String, String>(); |
103 | |
static { |
104 | 0 | DELEGATION_TYPES.put(DELEGATION_PRIMARY, DELEGATION_PRIMARY_LABEL); |
105 | 0 | DELEGATION_TYPES.put(DELEGATION_SECONDARY, DELEGATION_SECONDARY_LABEL); |
106 | 0 | DELEGATION_TYPES.put(DELEGATION_BOTH, DELEGATION_BOTH_LABEL); |
107 | |
} |
108 | |
|
109 | |
public static final String FLEX_RM_NAME = "FRM"; |
110 | |
public static final String DOC_HANDLER_REDIRECT_PAGE = "DocHandler.do"; |
111 | |
public static final String DOCUMENT_ROUTING_REPORT_PAGE = "RoutingReport.do"; |
112 | |
public static final String FEEDBACK_URL = "feedback.do"; |
113 | |
|
114 | |
|
115 | |
public static final String DOCUMENT_TYPE_NAME_ATTRIBUTE_NAME = "documentTypeParam"; |
116 | |
public static final String INITIATOR_ID_ATTRIBUTE_NAME = "initiatorPrincipalId"; |
117 | |
public static final String DOCUMENT_CONTENT_ATTRIBUTE_NAME = "documentContent"; |
118 | |
public static final String RETURN_URL_ATTRIBUTE_NAME = "backUrl"; |
119 | |
public static final String DISPLAY_CLOSE_BUTTON_ATTRIBUTE_NAME = "showCloseButton"; |
120 | |
public static final String DISPLAY_CLOSE_BUTTON_TRUE_VALUE = "showCloseButton"; |
121 | |
|
122 | |
public static final String DAILY_UNIT = "Daily"; |
123 | |
public static final String WEEKLY_UNIT = "Weekly"; |
124 | |
public static final String MONTHLY_UNIT = "Monthly"; |
125 | |
public static final String YEARLY_UNIT = "Yearly"; |
126 | |
public static final String SUDS_DATASOURCE = "SUDS"; |
127 | |
public static final String APP_CODE = "en"; |
128 | |
public static final String PROD_DEPLOYMENT_CODE = "production.environment.code"; |
129 | |
|
130 | |
public static final String YES_LABEL = "Yes"; |
131 | |
public static final String NO_LABEL = "No"; |
132 | |
public static final String INHERITED_CD = "I"; |
133 | |
public static final String INHERITED_LABEL = "Inherited"; |
134 | |
|
135 | |
public static final String DISAPPROVE_POLICY = "DISAPPROVE"; |
136 | |
public static final String DISAPPROVE_POLICY_CANCEL_CD = "C"; |
137 | |
public static final String ALLOW_UNREQUESTED_ACTION_POLICY = "ALLOW_UNREQUESTED_ACTION"; |
138 | |
public static final String DEFAULT_APPROVE_POLICY = "DEFAULT_APPROVE"; |
139 | |
public static final String INITIATOR_MUST_ROUTE_POLICY = "INITIATOR_MUST_ROUTE"; |
140 | |
public static final String INITIATOR_MUST_SAVE_POLICY = "INITIATOR_MUST_SAVE"; |
141 | |
public static final String INITIATOR_MUST_CANCEL_POLICY = "INITIATOR_MUST_CANCEL"; |
142 | |
public static final String INITIATOR_MUST_BLANKET_APPROVE_POLICY = "INITIATOR_MUST_BLANKET_APPROVE"; |
143 | |
public static final String USE_KEW_SUPERUSER_DOCHANDLER = "USE_KEW_SUPERUSER_DOCHANDLER"; |
144 | |
public static final String SEND_NOTIFICATION_ON_SU_APPROVE_POLICY = "SEND_NOTIFICATION_ON_SU_APPROVE"; |
145 | |
public static final String ALLOW_SU_POSTPROCESSOR_OVERRIDE_POLICY = "ALLOW_SU_POSTPROCESSOR_OVERRIDE"; |
146 | |
|
147 | |
public static final String DOCUMENT_TYPE_BLANKET_APPROVE_POLICY_NONE = "none"; |
148 | |
public static final String DOCUMENT_TYPE_BLANKET_APPROVE_POLICY_ANY = "any"; |
149 | |
|
150 | 0 | public static final String[] DOCUMENT_TYPE_BLANKET_APPROVE_POLICY_VALUES = { |
151 | |
DOCUMENT_TYPE_BLANKET_APPROVE_POLICY_NONE, |
152 | |
DOCUMENT_TYPE_BLANKET_APPROVE_POLICY_ANY |
153 | |
}; |
154 | |
|
155 | |
|
156 | |
public static final String LOOK_INTO_FUTURE_POLICY = "LOOK_FUTURE"; |
157 | |
public static final String SUPPORTS_QUICK_INITIATE_POLICY = "SUPPORTS_QUICK_INITIATE"; |
158 | |
public static final String NOTIFY_ON_SAVE_POLICY = "NOTIFY_ON_SAVE"; |
159 | |
|
160 | |
|
161 | |
|
162 | |
public static final String DOCUMENT_STATUS_POLICY = "DOCUMENT_STATUS_POLICY"; |
163 | |
public static final String DOCUMENT_STATUS_POLICY_KEW_STATUS = "KEW"; |
164 | |
public static final String DOCUMENT_STATUS_POLICY_APP_DOC_STATUS = "APP"; |
165 | |
public static final String DOCUMENT_STATUS_POLICY_BOTH = "BOTH"; |
166 | 0 | public static final String[] DOCUMENT_STATUS_POLICY_VALUES = { |
167 | |
DOCUMENT_STATUS_POLICY_KEW_STATUS, |
168 | |
DOCUMENT_STATUS_POLICY_APP_DOC_STATUS, |
169 | |
DOCUMENT_STATUS_POLICY_BOTH |
170 | |
}; |
171 | |
|
172 | |
|
173 | |
public static final String SUPER_USER_CANCEL="SU_CANCEL"; |
174 | |
public static final String SUPER_USER_APPROVE="SU_APPROVE"; |
175 | |
public static final String SUPER_USER_DISAPPROVE="SU_DISAPPROVE"; |
176 | |
public static final String SUPER_USER_ROUTE_LEVEL_APPROVE="SU_ROUTE_LEVEL_APPROVE"; |
177 | |
public static final String SUPER_USER_ACTION_REQUEST_APPROVE="SU_ACTION_REQUEST_APPROVE"; |
178 | |
public static final String SUPER_USER_RETURN_TO_PREVIOUS_ROUTE_LEVEL="SU_RETURN_TO_PREVIOUS_ROUTE_LEVEL"; |
179 | |
|
180 | |
|
181 | |
public static final String EMAIL_RMNDR_KEY = "EMAIL_NOTIFICATION"; |
182 | |
public static final String EMAIL_RMNDR_NO_VAL = "no"; |
183 | |
public static final String EMAIL_RMNDR_DAY_VAL = "daily"; |
184 | |
public static final String EMAIL_RMNDR_WEEK_VAL = "weekly"; |
185 | |
public static final String EMAIL_RMNDR_IMMEDIATE = "immediate"; |
186 | |
public static final String EMAIL_LAST_RMNDR_KEY = "EMAIL_LST_RMNDR_DATE_KEY"; |
187 | |
public static final String EMAIL_STYLESHEET_NAME = "kew.email.style"; |
188 | |
|
189 | |
|
190 | |
public static final String PREFERENCES_YES_VAL = "yes"; |
191 | |
public static final String PREFERENCES_NO_VAL = "no"; |
192 | |
|
193 | |
public static final String ACTION_LIST_ALL_REQUESTS = "all"; |
194 | |
public static final String ACTION_LIST_DELEGATED_REQUESTS = "delegated"; |
195 | |
public static final String ACTION_LIST_NONDELEGATED_REQUESTS = "nondelegated"; |
196 | |
public static final String DELEGATORS_ON_FILTER_PAGE = "Secondary Delegators only on Filter Page"; |
197 | |
public static final String DELEGATORS_ON_ACTION_LIST_PAGE = "Secondary Delegators on Action List Page"; |
198 | |
public static final String PRIMARY_DELEGATES_ON_FILTER_PAGE = "Primary Delegates only on Filter Page"; |
199 | |
public static final String PRIMARY_DELEGATES_ON_ACTION_LIST_PAGE = "Primary Delegates on Action List Page"; |
200 | |
|
201 | |
public static final Map<String, String> ACTION_LIST_CONTENT; |
202 | |
static { |
203 | 0 | ACTION_LIST_CONTENT = new HashMap<String, String>(); |
204 | 0 | ACTION_LIST_CONTENT.put(KEWConstants.ACTION_LIST_ALL_REQUESTS, "All Requests"); |
205 | 0 | ACTION_LIST_CONTENT.put(KEWConstants.ACTION_LIST_NONDELEGATED_REQUESTS, "No Delegations"); |
206 | 0 | ACTION_LIST_CONTENT.put(KEWConstants.ACTION_LIST_DELEGATED_REQUESTS, "Delegations Only"); |
207 | |
} |
208 | |
|
209 | |
public static final String ALL_CODE = "All"; |
210 | |
public static final String ALL_SECONDARY_DELEGATIONS = "All Secondary Delegations"; |
211 | |
public static final String ALL_PRIMARY_DELEGATES = "All Primary Delegates"; |
212 | |
public static final String NO_FILTERING = "No Filtering"; |
213 | |
public static final String DELEGATION_DEFAULT = "Choose Secondary Delegation"; |
214 | |
public static final String PRIMARY_DELEGATION_DEFAULT = "Choose Primary Delegate"; |
215 | |
|
216 | |
public static final String ACTIVE_CD = "Y"; |
217 | |
public static final String ACTIVE_LABEL = "ACTIVE"; |
218 | |
public static final String ACTIVE_LABEL_LOWER = "Active"; |
219 | |
|
220 | |
public static final String INACTIVE_CD = "N"; |
221 | |
public static final String INACTIVE_LABEL = "INACTIVE"; |
222 | |
public static final String INACTIVE_LABEL_LOWER = "Inactive"; |
223 | |
|
224 | |
public static final String TRUE_CD = "1"; |
225 | |
public static final String TRUE = "T"; |
226 | |
|
227 | |
public static final String FALSE_CD = "0"; |
228 | |
public static final String FALSE = "F"; |
229 | |
|
230 | |
|
231 | |
public static final String UNAUTHENTICATED = "UNAUTHENTICATED"; |
232 | |
public static final int DEFAULT_RETRY_TIME = 1800; |
233 | |
|
234 | |
public static final int TITLE_MAX_LENGTH = 255; |
235 | |
|
236 | 0 | public static final Date CURRENT_DATE = new Date(-7); |
237 | |
|
238 | |
public static final String DOCUMENT_STATUS_PARENT_TYPE_PENDING = "Pending"; |
239 | |
public static final String DOCUMENT_STATUS_PARENT_TYPE_SUCCESSFUL = "Successful"; |
240 | |
public static final String DOCUMENT_STATUS_PARENT_TYPE_UNSUCCESSFUL = "Unsuccessful"; |
241 | |
|
242 | |
public static final Map<String, List<String>> DOCUMENT_STATUS_PARENT_TYPES; |
243 | |
|
244 | |
static { |
245 | |
|
246 | 0 | DOCUMENT_STATUS_PARENT_TYPES = new HashMap<String, List<String>>(); |
247 | |
|
248 | |
|
249 | 0 | List<String> pendingList = new ArrayList<String>(); |
250 | 0 | pendingList.add(KEWConstants.ROUTE_HEADER_ENROUTE_CD); |
251 | 0 | pendingList.add(KEWConstants.ROUTE_HEADER_SAVED_CD); |
252 | 0 | pendingList.add(KEWConstants.ROUTE_HEADER_INITIATED_CD); |
253 | 0 | pendingList.add(KEWConstants.ROUTE_HEADER_EXCEPTION_CD); |
254 | |
|
255 | |
|
256 | 0 | List<String> successfulList = new ArrayList<String>(); |
257 | 0 | successfulList.add(KEWConstants.ROUTE_HEADER_FINAL_CD); |
258 | 0 | successfulList.add(KEWConstants.ROUTE_HEADER_PROCESSED_CD); |
259 | 0 | successfulList.add(KEWConstants.ROUTE_HEADER_APPROVED_CD); |
260 | |
|
261 | |
|
262 | 0 | List<String> unsuccessfulList = new ArrayList<String>(); |
263 | 0 | unsuccessfulList.add(KEWConstants.ROUTE_HEADER_DISAPPROVED_CD); |
264 | 0 | unsuccessfulList.add(KEWConstants.ROUTE_HEADER_CANCEL_CD); |
265 | 0 | unsuccessfulList.add(KEWConstants.ROUTE_HEADER_CANCEL_DISAPPROVE_CD); |
266 | |
|
267 | 0 | DOCUMENT_STATUS_PARENT_TYPES.put(KEWConstants.DOCUMENT_STATUS_PARENT_TYPE_PENDING, pendingList); |
268 | 0 | DOCUMENT_STATUS_PARENT_TYPES.put(KEWConstants.DOCUMENT_STATUS_PARENT_TYPE_SUCCESSFUL, successfulList); |
269 | 0 | DOCUMENT_STATUS_PARENT_TYPES.put(KEWConstants.DOCUMENT_STATUS_PARENT_TYPE_UNSUCCESSFUL, unsuccessfulList); |
270 | |
|
271 | |
} |
272 | |
|
273 | |
public static final Map<String, String> DOCUMENT_STATUSES; |
274 | |
|
275 | |
static { |
276 | |
|
277 | |
|
278 | |
|
279 | 0 | DOCUMENT_STATUSES = new HashMap<String, String>(); |
280 | 0 | DOCUMENT_STATUSES.put(KEWConstants.ROUTE_HEADER_APPROVED_CD, KEWConstants.ROUTE_HEADER_APPROVED_LABEL); |
281 | 0 | DOCUMENT_STATUSES.put(KEWConstants.ROUTE_HEADER_CANCEL_CD, KEWConstants.ROUTE_HEADER_CANCEL_LABEL); |
282 | 0 | DOCUMENT_STATUSES.put(KEWConstants.ROUTE_HEADER_CANCEL_DISAPPROVE_CD, KEWConstants.ROUTE_HEADER_CANCEL_DISAPPROVE_LABEL); |
283 | 0 | DOCUMENT_STATUSES.put(KEWConstants.ROUTE_HEADER_DISAPPROVED_CD, KEWConstants.ROUTE_HEADER_DISAPPROVED_LABEL); |
284 | 0 | DOCUMENT_STATUSES.put(KEWConstants.ROUTE_HEADER_ENROUTE_CD, KEWConstants.ROUTE_HEADER_ENROUTE_LABEL); |
285 | 0 | DOCUMENT_STATUSES.put(KEWConstants.ROUTE_HEADER_EXCEPTION_CD, KEWConstants.ROUTE_HEADER_EXCEPTION_LABEL); |
286 | 0 | DOCUMENT_STATUSES.put(KEWConstants.ROUTE_HEADER_FINAL_CD, KEWConstants.ROUTE_HEADER_FINAL_LABEL); |
287 | 0 | DOCUMENT_STATUSES.put(KEWConstants.ROUTE_HEADER_INITIATED_CD, KEWConstants.ROUTE_HEADER_INITIATED_LABEL); |
288 | 0 | DOCUMENT_STATUSES.put(KEWConstants.ROUTE_HEADER_PROCESSED_CD, KEWConstants.ROUTE_HEADER_PROCESSED_LABEL); |
289 | 0 | DOCUMENT_STATUSES.put(KEWConstants.ROUTE_HEADER_SAVED_CD, KEWConstants.ROUTE_HEADER_SAVED_LABEL); |
290 | |
} |
291 | |
|
292 | |
|
293 | 0 | public static final Integer DOCUMENT_SEARCH_DOC_TITLE_CREATE_DATE_DAYS_AGO = new Integer(-30); |
294 | 0 | public static final Integer DOCUMENT_SEARCH_NO_CRITERIA_CREATE_DATE_DAYS_AGO = new Integer(0); |
295 | |
|
296 | |
public static final Map<String, String> ACTION_LIST_COLOR_PALETTE; |
297 | |
static { |
298 | 0 | ACTION_LIST_COLOR_PALETTE = new HashMap<String, String>(); |
299 | 0 | ACTION_LIST_COLOR_PALETTE.put("white", "#FFFFFF"); |
300 | 0 | ACTION_LIST_COLOR_PALETTE.put("pink", "#FFDDDE"); |
301 | 0 | ACTION_LIST_COLOR_PALETTE.put("orange", "#FFCC99"); |
302 | 0 | ACTION_LIST_COLOR_PALETTE.put("red", "#D99394"); |
303 | 0 | ACTION_LIST_COLOR_PALETTE.put("yellow", "#FFFF99"); |
304 | 0 | ACTION_LIST_COLOR_PALETTE.put("green", "#D4FF94"); |
305 | 0 | ACTION_LIST_COLOR_PALETTE.put("blue", "#BDD8F4"); |
306 | 0 | ACTION_LIST_COLOR_PALETTE.put("aqua", "#7FFFDF"); |
307 | 0 | ACTION_LIST_COLOR_PALETTE.put("slate", "#BDDABD"); |
308 | 0 | ACTION_LIST_COLOR_PALETTE.put("purple", "#DFCAFA"); |
309 | 0 | ACTION_LIST_COLOR_PALETTE.put("tan", "#E5E5B7"); |
310 | |
} |
311 | |
|
312 | |
|
313 | |
|
314 | |
public static final Map<String, String> ACTION_LIST_COLOR_NAMES; |
315 | |
static { |
316 | 0 | ACTION_LIST_COLOR_NAMES = new HashMap<String,String>(); |
317 | 0 | for (Iterator<Map.Entry<String,String>> iterator = ACTION_LIST_COLOR_PALETTE.entrySet().iterator(); iterator.hasNext();) { |
318 | 0 | Map.Entry<String,String> colorEntry = iterator.next(); |
319 | 0 | ACTION_LIST_COLOR_NAMES.put(colorEntry.getValue(), colorEntry.getKey()); |
320 | 0 | } |
321 | |
} |
322 | |
|
323 | |
public static final String HEADER_TAG = "ROUTE_HEADER"; |
324 | |
public static final String DOCTYPE_TAG = "DOCTYPE"; |
325 | |
|
326 | |
|
327 | |
public static final String REQUEST_CODES = KEWConstants.ACTION_REQUEST_FYI_REQ + KEWConstants.ACTION_REQUEST_ACKNOWLEDGE_REQ + KEWConstants.ACTION_REQUEST_APPROVE_REQ + KEWConstants.ACTION_REQUEST_COMPLETE_REQ; |
328 | |
public static final String ACTION_CODES = KEWConstants.ACTION_TAKEN_ACKNOWLEDGED_CD + KEWConstants.ACTION_TAKEN_APPROVED_CD + KEWConstants.ACTION_TAKEN_COMPLETED_CD + KEWConstants.ACTION_TAKEN_ROUTED; |
329 | |
public static final String ROUTE_MANAGER_DRIVER_WRKGRP = "RouteManagerDriverCommandGroup"; |
330 | |
public static final int ROUTE_HEADER_INITIAL_ROUTE_LEVEL = 0; |
331 | |
|
332 | |
public static final String ROUTE_HEADER_INITIATED_CD = "I"; |
333 | |
public static final String ROUTE_HEADER_INITIATED_LABEL = "INITIATED"; |
334 | |
|
335 | |
|
336 | |
|
337 | |
|
338 | |
public static final boolean ROUTE_HEADER_DEFAULT_PRE_APPROVAL_POLICY = false; |
339 | |
|
340 | |
|
341 | |
|
342 | |
public static final boolean ROUTE_HEADER_DEFAULT_AUTO_APPROVAL_POLICY = true; |
343 | |
public static final String ROUTE_HEADER_DEFAULT_DISAPPROVE_POLICY_LABEL = "DISAPPROVE-CANCEL"; |
344 | |
|
345 | |
public static final String ROUTE_HEADER_DEFAULT_DISAPPROVE_POLICY_CD = KEWConstants.ROUTE_HEADER_CANCEL_DISAPPROVE_CD; |
346 | |
|
347 | |
public static final String ROUTE_HEADER_LAST_APPROVER_DISAPPROVE_CD = "A"; |
348 | |
|
349 | |
|
350 | |
|
351 | |
public static final String ROUTE_HEADER_RETURN_INIATOR_DISAPPROVE_CD = "I"; |
352 | |
public static final String ROUTE_HEADER_CANCEL_DISAPPROVE_LABEL = "DISAPPROVE-CANCEL"; |
353 | |
|
354 | |
public static final String ROUTE_HEADER_CANCEL_DISAPPROVE_CD = "C"; |
355 | |
public static final String ROUTE_HEADER_DISAPPROVED_DEFAULT_COLOR = "yellow"; |
356 | |
public static final String ROUTE_HEADER_DISAPPROVED_LABEL = "DISAPPROVED"; |
357 | |
|
358 | |
public static final String ROUTE_HEADER_DISAPPROVED_CD = "D"; |
359 | |
public static final String ROUTE_HEADER_PROCESSED_LABEL = "PROCESSED"; |
360 | |
|
361 | |
public static final String ROUTE_HEADER_PROCESSED_CD = "P"; |
362 | |
public static final String ROUTE_HEADER_EXCEPTION_DEFAULT_COLOR = "red"; |
363 | |
public static final String ROUTE_HEADER_EXCEPTION_LABEL = "EXCEPTION"; |
364 | |
|
365 | |
public static final String ROUTE_HEADER_EXCEPTION_CD = "E"; |
366 | |
public static final String ROUTE_HEADER_CANCEL_LABEL = "CANCELED"; |
367 | |
|
368 | |
public static final String ROUTE_HEADER_CANCEL_CD = "X"; |
369 | |
public static final String ROUTE_HEADER_APPROVED_LABEL = "APPROVED"; |
370 | |
|
371 | |
public static final String ROUTE_HEADER_APPROVED_CD = "A"; |
372 | |
public static final String ROUTE_HEADER_FINAL_LABEL = "FINAL"; |
373 | |
|
374 | |
public static final String ROUTE_HEADER_FINAL_CD = "F"; |
375 | |
public static final String ROUTE_HEADER_SAVED_LABEL = "SAVED"; |
376 | |
|
377 | |
public static final String ROUTE_HEADER_SAVED_CD = "S"; |
378 | |
public static final String ROUTE_HEADER_ENROUTE_LABEL = "ENROUTE"; |
379 | |
|
380 | |
public static final String ROUTE_HEADER_ENROUTE_CD = "R"; |
381 | |
|
382 | 0 | public static String UNKNOWN_STATUS = ""; |
383 | |
|
384 | |
|
385 | |
public static final String ACTION_TAKEN_SU_ACTION_REQUEST_ACKNOWLEDGED_CD = "k"; |
386 | |
public static final String ACTION_TAKEN_SU_ACTION_REQUEST_ACKNOWLEDGED = "SUPER USER ACTION REQUEST ACKNOWLEDGED"; |
387 | |
public static final String ACTION_TAKEN_SU_ACTION_REQUEST_FYI_CD = "f"; |
388 | |
public static final String ACTION_TAKEN_SU_ACTION_REQUEST_FYI = "SUPER USER ACTION REQUEST FYI"; |
389 | |
public static final String ACTION_TAKEN_SU_ACTION_REQUEST_COMPLETED_CD = "m"; |
390 | |
public static final String ACTION_TAKEN_SU_ACTION_REQUEST_COMPLETED = "SUPER USER ACTION REQUEST COMPLETED"; |
391 | |
public static final String ACTION_TAKEN_SU_ACTION_REQUEST_APPROVED_CD = "v"; |
392 | |
public static final String ACTION_TAKEN_SU_ACTION_REQUEST_APPROVED = "SUPER USER ACTION REQUEST APPROVED"; |
393 | |
public static final String ACTION_TAKEN_SU_ROUTE_LEVEL_APPROVED_CD = "r"; |
394 | |
public static final String ACTION_TAKEN_SU_ROUTE_LEVEL_APPROVED = "SUPER USER ROUTE LEVEL APPROVED"; |
395 | |
public static final String ACTION_TAKEN_SU_RETURNED_TO_PREVIOUS_CD = "z"; |
396 | |
public static final String ACTION_TAKEN_SU_RETURNED_TO_PREVIOUS = "SUPER USER RETURNED TO PREVIOUS ROUTE LEVEL"; |
397 | |
public static final String ACTION_TAKEN_SU_DISAPPROVED_CD = "d"; |
398 | |
public static final String ACTION_TAKEN_SU_DISAPPROVED = "SUPER USER DISAPPROVED"; |
399 | |
public static final String ACTION_TAKEN_SU_CANCELED_CD = "c"; |
400 | |
public static final String ACTION_TAKEN_SU_CANCELED = "SUPER USER CANCELED"; |
401 | |
public static final String ACTION_TAKEN_SU_APPROVED_CD = "a"; |
402 | |
public static final String ACTION_TAKEN_SU_APPROVED = "SUPER USER APPROVED"; |
403 | |
public static final String ACTION_TAKEN_BLANKET_APPROVE_CD = "B"; |
404 | |
public static final String ACTION_TAKEN_BLANKET_APPROVE = "BLANKET APPROVED"; |
405 | |
public static final String ACTION_TAKEN_FYI_CD = "F"; |
406 | |
public static final String ACTION_TAKEN_FYI = "FYI"; |
407 | |
public static final String ACTION_TAKEN_ADHOC_CD = "H"; |
408 | |
|
409 | |
public static final String ACTION_TAKEN_ADHOC = "ADHOC ROUTED"; |
410 | |
public static final String ACTION_TAKEN_ADHOC_REVOKED_CD = "V"; |
411 | |
|
412 | |
public static final String ACTION_TAKEN_ADHOC_REVOKED = "ADHOC REVOKED"; |
413 | |
public static final String ACTION_TAKEN_SAVED_CD = "S"; |
414 | |
|
415 | |
public static final String ACTION_TAKEN_SAVED = "SAVED"; |
416 | |
public static final String ACTION_TAKEN_CANCELED_CD = "X"; |
417 | |
|
418 | |
public static final String ACTION_TAKEN_CANCELED = "CANCELED"; |
419 | |
public static final String ACTION_TAKEN_DENIED_CD = "D"; |
420 | |
|
421 | |
public static final String ACTION_TAKEN_DENIED = "DISAPPROVED"; |
422 | |
public static final String ACTION_TAKEN_ACKNOWLEDGED_CD = "K"; |
423 | |
|
424 | |
public static final String ACTION_TAKEN_ACKNOWLEDGED = "ACKNOWLEDGED"; |
425 | |
public static final String ACTION_TAKEN_COMPLETED_CD = "C"; |
426 | |
|
427 | |
public static final String ACTION_TAKEN_COMPLETED = "COMPLETED"; |
428 | |
public static final String ACTION_TAKEN_ROUTED_CD = "O"; |
429 | |
|
430 | |
public static final String ACTION_TAKEN_ROUTED = "ROUTED"; |
431 | |
public static final String ACTION_TAKEN_APPROVED_CD = "A"; |
432 | |
|
433 | |
public static final String ACTION_TAKEN_APPROVED = "APPROVED"; |
434 | |
|
435 | |
public static final String ACTION_TAKEN_RETURNED_TO_PREVIOUS_CD = "Z"; |
436 | |
public static final String ACTION_TAKEN_RETURNED_TO_PREVIOUS = "RETURNED TO PREVIOUS ROUTE LEVEL"; |
437 | |
|
438 | |
public static final String ACTION_TAKEN_LOG_DOCUMENT_ACTION_CD = "R"; |
439 | |
public static final String ACTION_TAKEN_LOG_DOCUMENT_ACTION = "LOG MESSAGE"; |
440 | |
|
441 | |
public static final String ACTION_TAKEN_TAKE_WORKGROUP_AUTHORITY_CD = "w"; |
442 | |
public static final String ACTION_TAKEN_TAKE_WORKGROUP_AUTHORITY = "WORKGROUP AUTHORITY TAKEN"; |
443 | |
|
444 | |
public static final String ACTION_TAKEN_RELEASE_WORKGROUP_AUTHORITY_CD = "y"; |
445 | |
public static final String ACTION_TAKEN_RELEASE_WORKGROUP_AUTHORITY = "WORKGROUP AUTHORITY RELEASED"; |
446 | |
|
447 | |
public static final String ACTION_TAKEN_MOVE_CD = "M"; |
448 | |
public static final String ACTION_TAKEN_MOVE = "MOVED"; |
449 | |
|
450 | |
|
451 | |
public static final String ROUTE_LEVEL_FLEX_RM = "FR"; |
452 | |
public static final String ROUTE_LEVEL_ROUTE_MODULE = "RM"; |
453 | |
public static final String ROUTE_LEVEL_METHOD_NAME_ROUTE_MODULE = "Route Module"; |
454 | |
public static final String ROUTE_LEVEL_METHOD_NAME_FLEX_RM = "Rule Template"; |
455 | |
|
456 | |
public static final String ROUTE_LEVEL_NO_ROUTE_MODULE = "NONE"; |
457 | |
|
458 | |
|
459 | |
|
460 | |
public static final int ADHOC_ROUTE_LEVEL = 0; |
461 | |
public static final String ADHOC_ROUTE_LEVEL_NAME = "Adhoc Routing"; |
462 | |
public static final String PARALLEL_ADHOC_ROUTE_MODULE_NAME = "org.kuali.rice.kew.routemodule.ParallelAdHocRouteModule"; |
463 | |
|
464 | |
|
465 | |
|
466 | |
|
467 | |
public static final int EXCEPTION_ROUTE_LEVEL = -1; |
468 | |
public static final String EXCEPTION_ROUTE_MODULE_NAME = "org.kuali.rice.kew.routemodule.ExceptionRouteModule"; |
469 | |
public static final String EXCEPTION_ROUTE_LEVEL_NAME = "Exception Routing"; |
470 | |
public static final int INVALID_ROUTE_LEVEL = -2; |
471 | |
|
472 | |
|
473 | |
public static final String ROUTE_LEVEL_SEQUENCE = "S"; |
474 | |
public static final String ROUTE_LEVEL_SEQUENTIAL_NAME = "Sequential"; |
475 | |
public static final String ROUTE_LEVEL_SEQUENCE_LABEL = "SEQUENCE"; |
476 | |
|
477 | |
|
478 | |
public static final String ROUTE_LEVEL_PARALLEL = "P"; |
479 | |
public static final String ROUTE_LEVEL_PARALLEL_NAME = "Parallel"; |
480 | |
public static final String ROUTE_LEVEL_PARALLEL_LABEL = "PARALLEL"; |
481 | |
|
482 | |
public static final String APPROVE_POLICY_FIRST_APPROVE = "F"; |
483 | |
public static final String APPROVE_POLICY_ALL_APPROVE = "A"; |
484 | |
|
485 | |
public static final String APPROVE_POLICY_ALL_APPROVE_LABEL = "ALL"; |
486 | |
public static final String APPROVE_POLICY_FIRST_APPROVE_LABEL = "FIRST"; |
487 | |
|
488 | 0 | public static final Map<String, String> APPROVE_POLICIES = new HashMap<String, String>(); |
489 | |
static { |
490 | 0 | APPROVE_POLICIES.put(APPROVE_POLICY_FIRST_APPROVE, APPROVE_POLICY_FIRST_APPROVE_LABEL); |
491 | 0 | APPROVE_POLICIES.put(APPROVE_POLICY_ALL_APPROVE, APPROVE_POLICY_ALL_APPROVE_LABEL); |
492 | |
} |
493 | |
|
494 | |
public static final boolean ACTION_REQUEST_FORCE_ACTION = true; |
495 | |
public static final boolean ACTION_REQUEST_PREV_ACTION_AWARE = false; |
496 | |
|
497 | |
public static final String ACTION_REQUEST_GROUP_RECIPIENT_CD = "W"; |
498 | |
|
499 | |
public static final String ACTION_REQUEST_USER_RECIPIENT_CD = "U"; |
500 | |
|
501 | |
public static final String ACTION_REQUEST_ROLE_RECIPIENT_CD = "R"; |
502 | |
|
503 | |
public static final int ACTION_REQUEST_DEFAULT_PRIORITY = 1; |
504 | |
|
505 | |
|
506 | |
public static final String ACTION_REQUEST_DEFAULT_CD = "D"; |
507 | |
|
508 | |
|
509 | |
|
510 | |
|
511 | |
|
512 | |
public static final int ACTION_REQUEST_ADHOC_PRIORITY = 1000; |
513 | |
public static final String ACTION_REQUEST_DONE_STATE_LABEL = "DONE"; |
514 | |
|
515 | |
public static final String ACTION_REQUEST_DONE_STATE = "D"; |
516 | |
public static final String ACTION_REQUEST_ACTIVATED_LABEL = "ACTIVATED"; |
517 | |
|
518 | |
public static final String ACTION_REQUEST_ACTIVATED = "A"; |
519 | |
public static final String ACTION_REQUEST_INITIALIZED_LABEL = "INITIALIZED"; |
520 | |
|
521 | |
public static final String ACTION_REQUEST_INITIALIZED = "I"; |
522 | |
public static final String ACTION_REQUEST_CANCEL_REQ_LABEL = "CANCEL"; |
523 | |
|
524 | |
|
525 | |
|
526 | |
public static final String ACTION_REQUEST_CANCEL_REQ = "X"; |
527 | |
public static final String ACTION_REQUEST_ACKNOWLEDGE_REQ_LABEL = "ACKNOWLEDGE"; |
528 | |
|
529 | |
|
530 | |
|
531 | |
public static final String ACTION_REQUEST_ACKNOWLEDGE_REQ = "K"; |
532 | |
public static final String ACTION_REQUEST_FYI_REQ_LABEL = "FYI"; |
533 | |
|
534 | |
|
535 | |
|
536 | |
public static final String ACTION_REQUEST_FYI_REQ = "F"; |
537 | |
public static final String ACTION_REQUEST_APPROVE_REQ_LABEL = "APPROVE"; |
538 | |
|
539 | |
public static final String ACTION_REQUEST_APPROVE_REQ = "A"; |
540 | |
public static final String ACTION_REQUEST_COMPLETE_REQ_LABEL = "COMPLETE"; |
541 | |
|
542 | |
public static final String ACTION_REQUEST_COMPLETE_REQ = "C"; |
543 | |
public static final String ACTION_REQUEST_DISAPPROVE_LABEL = "DISAPPROVE"; |
544 | |
|
545 | |
public static final String ACTION_REQUEST_TO_BE_GENERATED = "-1"; |
546 | |
|
547 | |
public static final int WORKGROUP_MAX_WORKGROUP_ID = 100000000; |
548 | |
|
549 | |
|
550 | |
|
551 | |
|
552 | |
|
553 | |
|
554 | |
|
555 | 0 | public static final Map<String, String> ACTION_REQUEST_CODES = new HashMap<String, String>(); |
556 | |
static { |
557 | 0 | ACTION_REQUEST_CODES.put(ACTION_REQUEST_COMPLETE_REQ, ACTION_REQUEST_COMPLETE_REQ_LABEL); |
558 | 0 | ACTION_REQUEST_CODES.put(ACTION_REQUEST_APPROVE_REQ, ACTION_REQUEST_APPROVE_REQ_LABEL); |
559 | 0 | ACTION_REQUEST_CODES.put(ACTION_REQUEST_ACKNOWLEDGE_REQ, ACTION_REQUEST_ACKNOWLEDGE_REQ_LABEL); |
560 | 0 | ACTION_REQUEST_CODES.put(ACTION_REQUEST_FYI_REQ, ACTION_REQUEST_FYI_REQ_LABEL); |
561 | |
} |
562 | |
|
563 | |
|
564 | 0 | public static final Integer ROUTE_QUEUE_DEFAULT_PRIORITY = new Integer(5); |
565 | 0 | public static final Integer ROUTE_QUEUE_BLANKET_APPROVE_PRIORITY = new Integer(4); |
566 | 0 | public static final Integer ROUTE_QUEUE_RERESOLVE_PRIORITY = new Integer(10); |
567 | 0 | public static final Integer ROUTE_QUEUE_REQUEUE_PRIORITY = new Integer(10); |
568 | 0 | public static final Integer ROUTE_QUEUE_EMAIL_PRIORITY = new Integer(20); |
569 | 0 | public static final Integer ROUTE_QUEUE_RULE_CACHE_PRIORITY = new Integer(0); |
570 | 0 | public static final Integer ROUTE_QUEUE_EXCEPTION_PRIORITY = new Integer(21); |
571 | 0 | public static final Integer ROUTE_QUEUE_UPGRADE_PRIORITY = new Integer(30); |
572 | |
|
573 | |
public static final String ROUTE_QUEUE_EXCEPTION = "E"; |
574 | |
public static final String ROUTE_QUEUE_ROUTING = "R"; |
575 | |
public static final String ROUTE_QUEUE_QUEUED = "Q"; |
576 | |
public static final String ROUTE_QUEUE_EXCEPTION_LABEL = "EXCEPTION"; |
577 | |
public static final String ROUTE_QUEUE_ROUTING_LABEL = "ROUTING"; |
578 | |
public static final String ROUTE_QUEUE_QUEUED_LABEL = "QUEUED"; |
579 | |
|
580 | |
public static final String RULE_RESPONSIBILITY_WORKFLOW_ID = "F"; |
581 | |
public static final String RULE_RESPONSIBILITY_GROUP_ID = "G"; |
582 | |
public static final String RULE_RESPONSIBILITY_ROLE_ID = "R"; |
583 | |
|
584 | |
public static final String RULE_RESPONSIBILITY_WORKFLOW_ID_LABEL = "PERSON"; |
585 | |
public static final String RULE_RESPONSIBILITY_GROUP_ID_LABEL = "GROUP"; |
586 | |
public static final String RULE_RESPONSIBILITY_ROLE_ID_LABEL = "ROLE"; |
587 | |
|
588 | 0 | public static final Map<String, String> RULE_RESPONSIBILITY_TYPES = new HashMap<String, String>(); |
589 | |
static { |
590 | 0 | RULE_RESPONSIBILITY_TYPES.put(RULE_RESPONSIBILITY_WORKFLOW_ID, RULE_RESPONSIBILITY_WORKFLOW_ID_LABEL); |
591 | 0 | RULE_RESPONSIBILITY_TYPES.put(RULE_RESPONSIBILITY_GROUP_ID, RULE_RESPONSIBILITY_GROUP_ID_LABEL); |
592 | 0 | RULE_RESPONSIBILITY_TYPES.put(RULE_RESPONSIBILITY_ROLE_ID, RULE_RESPONSIBILITY_ROLE_ID_LABEL); |
593 | |
} |
594 | |
|
595 | |
public static final String DEFAULT_RULE_DOCUMENT_NAME = "RuleDocument"; |
596 | |
|
597 | 0 | public static class Sorting { |
598 | |
public static final String SORT_COLUMN_SEQUENCES = "columnSortSequences"; |
599 | |
public static final String SORT_SEQUENCE_ASC = "ASCENDING"; |
600 | |
public static final String SORT_SEQUENCE_DSC = "DESCENDING"; |
601 | |
public static final String SORT_DOC_ID = "docId"; |
602 | |
public static final String SORT_DOC_ID_NUMBER = "docIdNumber"; |
603 | |
public static final String SORT_RULE_ID = "ruleId"; |
604 | |
public static final String SORT_RULE_ID_NUMBER = "ruleIdNumber"; |
605 | |
public static final String SORT_DOC_TITLE = "docTitle"; |
606 | |
public static final String SORT_DOC_TYPE_ID = "docTypeId"; |
607 | |
public static final String SORT_DOC_TYPE_ID_NUMBER = "docTypeIdNumber"; |
608 | |
public static final String SORT_DOC_TYPE_NAME = "docTypeName"; |
609 | |
public static final String SORT_DOC_TYPE_FULL_NAME = "docTypeFullName"; |
610 | |
public static final String SORT_DOC_TYPE_LABEL = "docTypeLabel"; |
611 | |
public static final String SORT_ACTION_REQUESTED = "actionRequested"; |
612 | |
public static final String SORT_ACTION_REQUESTED_LABEL = "actionRequestedLabel"; |
613 | |
public static final String SORT_CHART = "chart"; |
614 | |
public static final String SORT_ORG = "org"; |
615 | |
public static final String SORT_REVIEWERS_ALL_NAMES = "reviewersAllNames"; |
616 | |
public static final String SORT_REVIEWER_EMPLY_ID = "reviewerEmplyId"; |
617 | |
public static final String SORT_REVIEWER_NETWORK_ID = "reviewerNetworkId"; |
618 | |
public static final String SORT_REVIEWER_FULL_NAME = "reviewerFullName"; |
619 | |
public static final String SORT_ACTIVE_IND = "activeIndicator"; |
620 | |
public static final String SORT_ACTIVE_IND_LABEL = "activeIndicatorLabel"; |
621 | |
public static final String SORT_DOC_TYPE_GROUP_ID = "docTypeGroupId"; |
622 | |
public static final String SORT_DOC_TYPE_GROUP_ID_NUMBER = "docTypeGroupIdNumber"; |
623 | |
public static final String SORT_DOC_TYPE_GROUP_NAME = "docTypeGroupName"; |
624 | |
public static final String SORT_DOC_TYPE_GROUP_FULL_NAME = "docTypeGroupFullName"; |
625 | |
public static final String SORT_DOC_TYPE_GROUP_PARENT_NAME = "docTypeGroupParentName"; |
626 | |
public static final String SORT_DOC_TYPE_GROUP_PARENT_FULL_NAME = "docTypeGroupParentFullName"; |
627 | |
public static final String SORT_DOC_TYPE_GROUP_LABEL = "docTypeGroupLabel"; |
628 | |
public static final String SORT_FISCAL_UPAA = "fiscalUpaa"; |
629 | |
public static final String SORT_FISCAL_UPAA_LABEL = "fiscalUpaaLabel"; |
630 | |
public static final String SORT_POSITION_TYPE = "positionType"; |
631 | |
public static final String SORT_POSITION_TYPE_LABEL = "positionTypeLabel"; |
632 | |
public static final String SORT_SALARY_PLAN = "salaryPlanSort"; |
633 | |
public static final String SORT_DELEGATES_ALL = "delegatesAll"; |
634 | |
public static final String SORT_DELEGATE_EMPLY_ID = "delegateEmplyId"; |
635 | |
public static final String SORT_DELEGATE_NETWORK_ID = "delegateNetworkId"; |
636 | |
public static final String SORT_DELEGATE_FULL_NAME = "delegateFullName"; |
637 | |
public static final String SORT_ROUTE_MODULE_NAME = "routeModuleName"; |
638 | |
public static final String SORT_WORKGROUP_ID = "workGroupId"; |
639 | |
public static final String SORT_WORKGROUP_ID_NUMBER = "workGroupIdNumber"; |
640 | |
public static final String SORT_WORKGROUP_NAME = "workGroupName"; |
641 | |
public static final String SORT_WORKGROUP_FULL_NAME = "workGroupFullName"; |
642 | |
public static final String SORT_USER_FULL_NAME = "userFullName"; |
643 | |
public static final String SORT_USER_NETWORK_ID = "userNetworkId"; |
644 | |
public static final String SORT_MONITOR_ID_NUMBER = "monitorId"; |
645 | |
public static final String SORT_MONITOR_DOC_TYPE = "monitorDocType"; |
646 | |
public static final String SORT_MONITOR_TYPE = "monitorType"; |
647 | |
public static final String SORT_MONITOR_TIMER = "monitorTimer"; |
648 | |
public static final String SORT_MONITOR_ACTION_TYPE = "monitorActionType"; |
649 | |
} |
650 | |
|
651 | |
public static final String WORKGROUP = "workgroup"; |
652 | |
public static final String PERSON = "person"; |
653 | |
public static final String ROLE = "role"; |
654 | |
|
655 | |
public static final String DOC_HANDLER_RETURN_URL = "docHandlerReturnUrl"; |
656 | |
|
657 | |
public static final String ADD = "add"; |
658 | |
public static final String NOOP = "noop"; |
659 | |
public static final String UPDATE = "update"; |
660 | |
public static final String DELETE = "delete"; |
661 | |
public static final String TIMESTAMP_DATE_FORMAT_PATTERN = "yyyy-mm-dd hh:mm:ss.fffffffff"; |
662 | |
public static final String TIMESTAMP_DATE_FORMAT_PATTERN2 = "MM/dd/yyyy hh:mm a"; |
663 | |
|
664 | |
public static final Map<String, String> ACTION_REQUEST_RECIPIENT_TYPE; |
665 | |
static { |
666 | 0 | ACTION_REQUEST_RECIPIENT_TYPE = new HashMap<String, String>(); |
667 | 0 | ACTION_REQUEST_RECIPIENT_TYPE.put(KEWConstants.ACTION_REQUEST_GROUP_RECIPIENT_CD, KEWConstants.WORKGROUP); |
668 | 0 | ACTION_REQUEST_RECIPIENT_TYPE.put(KEWConstants.ACTION_REQUEST_USER_RECIPIENT_CD, KEWConstants.PERSON); |
669 | 0 | ACTION_REQUEST_RECIPIENT_TYPE.put(KEWConstants.ACTION_REQUEST_ROLE_RECIPIENT_CD, KEWConstants.ROLE); |
670 | |
} |
671 | |
|
672 | |
public static final Map<String, String> ACTION_REQUEST_CD; |
673 | |
static{ |
674 | 0 | ACTION_REQUEST_CD = new HashMap<String, String>(); |
675 | 0 | ACTION_REQUEST_CD.put(KEWConstants.ACTION_REQUEST_ACKNOWLEDGE_REQ, KEWConstants.ACTION_REQUEST_ACKNOWLEDGE_REQ_LABEL); |
676 | 0 | ACTION_REQUEST_CD.put(KEWConstants.ACTION_REQUEST_APPROVE_REQ, KEWConstants.ACTION_REQUEST_APPROVE_REQ_LABEL); |
677 | 0 | ACTION_REQUEST_CD.put(KEWConstants.ACTION_REQUEST_COMPLETE_REQ, KEWConstants.ACTION_REQUEST_COMPLETE_REQ_LABEL); |
678 | 0 | ACTION_REQUEST_CD.put(KEWConstants.ACTION_REQUEST_FYI_REQ, KEWConstants.ACTION_REQUEST_FYI_REQ_LABEL); |
679 | |
} |
680 | |
|
681 | |
public static final Map<String, String> ACTION_REQUEST_STATUS; |
682 | |
static { |
683 | 0 | ACTION_REQUEST_STATUS = new HashMap<String, String>(); |
684 | 0 | ACTION_REQUEST_STATUS.put(KEWConstants.ACTION_REQUEST_ACTIVATED, KEWConstants.ACTIVE_LABEL); |
685 | 0 | ACTION_REQUEST_STATUS.put(KEWConstants.ACTION_REQUEST_INITIALIZED, KEWConstants.ACTION_REQUEST_INITIALIZED_LABEL); |
686 | 0 | ACTION_REQUEST_STATUS.put(KEWConstants.ACTION_REQUEST_DONE_STATE, KEWConstants.ACTION_REQUEST_DONE_STATE_LABEL); |
687 | |
} |
688 | |
|
689 | |
public static final Map<String, String> ACTION_TAKEN_CD; |
690 | |
static{ |
691 | 0 | ACTION_TAKEN_CD = new HashMap<String, String>(); |
692 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_ACKNOWLEDGED_CD, KEWConstants.ACTION_TAKEN_ACKNOWLEDGED); |
693 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_ADHOC_CD, KEWConstants.ACTION_TAKEN_ADHOC); |
694 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_ADHOC_REVOKED_CD, KEWConstants.ACTION_TAKEN_ADHOC_REVOKED); |
695 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_APPROVED_CD, KEWConstants.ACTION_TAKEN_APPROVED); |
696 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_BLANKET_APPROVE_CD, KEWConstants.ACTION_TAKEN_BLANKET_APPROVE); |
697 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_CANCELED_CD, KEWConstants.ACTION_TAKEN_CANCELED); |
698 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_COMPLETED_CD, KEWConstants.ACTION_TAKEN_COMPLETED); |
699 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_DENIED_CD, KEWConstants.ACTION_TAKEN_DENIED); |
700 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_FYI_CD, KEWConstants.ACTION_TAKEN_FYI); |
701 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_SAVED_CD, KEWConstants.ACTION_TAKEN_SAVED); |
702 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_RETURNED_TO_PREVIOUS_CD, KEWConstants.ACTION_TAKEN_RETURNED_TO_PREVIOUS); |
703 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_LOG_DOCUMENT_ACTION_CD, KEWConstants.ACTION_TAKEN_LOG_DOCUMENT_ACTION); |
704 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_SU_APPROVED_CD, KEWConstants.ACTION_TAKEN_SU_APPROVED); |
705 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_SU_CANCELED_CD, KEWConstants.ACTION_TAKEN_SU_CANCELED); |
706 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_SU_DISAPPROVED_CD, KEWConstants.ACTION_TAKEN_SU_DISAPPROVED); |
707 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_SU_ROUTE_LEVEL_APPROVED_CD, KEWConstants.ACTION_TAKEN_SU_ROUTE_LEVEL_APPROVED); |
708 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_SU_ACTION_REQUEST_APPROVED_CD, KEWConstants.ACTION_TAKEN_SU_ACTION_REQUEST_APPROVED); |
709 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_SU_RETURNED_TO_PREVIOUS_CD, KEWConstants.ACTION_TAKEN_SU_RETURNED_TO_PREVIOUS); |
710 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_TAKE_WORKGROUP_AUTHORITY_CD, KEWConstants.ACTION_TAKEN_TAKE_WORKGROUP_AUTHORITY); |
711 | 0 | ACTION_TAKEN_CD.put(KEWConstants.ACTION_TAKEN_MOVE_CD, KEWConstants.ACTION_TAKEN_MOVE); |
712 | |
} |
713 | |
|
714 | |
public static final String DOCUMENT_CONTENT_ELEMENT = "documentContent"; |
715 | |
public static final String ATTRIBUTE_CONTENT_ELEMENT = "attributeContent"; |
716 | |
public static final String SEARCHABLE_CONTENT_ELEMENT = "searchableContent"; |
717 | |
public static final String APPLICATION_CONTENT_ELEMENT = "applicationContent"; |
718 | |
public static final String DEFAULT_DOCUMENT_CONTENT = "<"+DOCUMENT_CONTENT_ELEMENT+"/>"; |
719 | |
public static final String DEFAULT_DOCUMENT_CONTENT2 = "<"+DOCUMENT_CONTENT_ELEMENT+"></"+DOCUMENT_CONTENT_ELEMENT+">"; |
720 | |
|
721 | |
public static final String DOCUMENT_CONTENT_VERSION_1 = "1"; |
722 | |
public static final String DOCUMENT_CONTENT_VERSION_2 = "2"; |
723 | |
|
724 | |
public static final String XML_FILE_NOT_FOUND = "general.error.filenotfound"; |
725 | |
public static final String XML_PARSE_ERROR = "general.error.parsexml"; |
726 | |
|
727 | |
|
728 | |
|
729 | |
public static final String RULE_ATTRIBUTE_TYPE = "RuleAttribute"; |
730 | |
public static final String SEARCHABLE_ATTRIBUTE_TYPE = "SearchableAttribute"; |
731 | |
public static final String RULE_XML_ATTRIBUTE_TYPE = "RuleXmlAttribute"; |
732 | |
public static final String SEARCHABLE_XML_ATTRIBUTE_TYPE = "SearchableXmlAttribute"; |
733 | |
public static final String EXTENSION_ATTRIBUTE_TYPE = "ExtensionAttribute"; |
734 | |
public static final String EMAIL_ATTRIBUTE_TYPE = "EmailAttribute"; |
735 | |
public static final String NOTE_ATTRIBUTE_TYPE = "NoteAttribute"; |
736 | |
public static final String ACTION_LIST_ATTRIBUTE_TYPE = "ActionListAttribute"; |
737 | |
public static final String RULE_VALIDATION_ATTRIBUTE_TYPE = "RuleValidationAttribute"; |
738 | |
public static final String SEARCH_CRITERIA_PROCESSOR_ATTRIBUTE_TYPE = "DocumentSearchCriteriaProcessorAttribute"; |
739 | |
public static final String SEARCH_GENERATOR_ATTRIBUTE_TYPE = "DocumentSearchGeneratorAttribute"; |
740 | |
public static final String SEARCH_RESULT_PROCESSOR_ATTRIBUTE_TYPE = "DocumentSearchResultProcessorAttribute"; |
741 | |
public static final String SEARCH_RESULT_XML_PROCESSOR_ATTRIBUTE_TYPE = "DocumentSearchXMLResultProcessorAttribute"; |
742 | |
public static final String DOCUMENT_SEARCH_SECURITY_FILTER_ATTRIBUTE_TYPE = "DocumentSearchSecurityFilterAttribute"; |
743 | |
public static final String QUALIFIER_RESOLVER_ATTRIBUTE_TYPE = "QualifierResolver"; |
744 | |
|
745 | |
public static final String RULE_ATTRIBUTE_TYPE_LABEL = "Rule Attribute"; |
746 | |
public static final String SEARCHABLE_ATTRIBUTE_TYPE_LABEL = "Searchable Attribute"; |
747 | |
public static final String RULE_XML_ATTRIBUTE_TYPE_LABEL = "Rule Xml Attribute"; |
748 | |
public static final String SEARCHABLE_XML_ATTRIBUTE_TYPE_LABEL = "Searchable Xml Attribute"; |
749 | |
public static final String EXTENSION_ATTRIBUTE_TYPE_LABEL = "Extension Attribute"; |
750 | |
public static final String EMAIL_ATTRIBUTE_TYPE_LABEL = "Email Attribute"; |
751 | |
public static final String NOTE_ATTRIBUTE_TYPE_LABEL = "Note Attribute"; |
752 | |
public static final String ACTION_LIST_ATTRIBUTE_TYPE_LABEL = "Action List Attribute"; |
753 | |
public static final String RULE_VALIDATION_ATTRIBUTE_TYPE_LABEL = "Rule Validation Attribute"; |
754 | |
public static final String SEARCH_CRITERIA_PROCESSOR_ATTRIBUTE_TYPE_LABEL = "Document Search Criteria Processor Attribute"; |
755 | |
public static final String SEARCH_GENERATOR_ATTRIBUTE_TYPE_LABEL = "Document Search Generator Attribute"; |
756 | |
public static final String SEARCH_RESULT_PROCESSOR_ATTRIBUTE_TYPE_LABEL = "Document Search Result Processor Attribute"; |
757 | |
public static final String SEARCH_RESULT_XML_PROCESSOR_ATTRIBUTE_TYPE_LABEL = "Document Search Result Processor XML Attribute"; |
758 | |
public static final String DOCUMENT_SEARCH_SECURITY_FILTER_ATTRIBUTE_TYPE_LABEL = "Document Search Security Filter Attribute"; |
759 | |
public static final String QUALIFIER_RESOLVER_ATTRIBUTE_TYPE_LABEL = "Qualifier Resolver"; |
760 | |
|
761 | 0 | public static final String[] RULE_ATTRIBUTE_TYPES = { |
762 | |
RULE_ATTRIBUTE_TYPE, |
763 | |
SEARCHABLE_ATTRIBUTE_TYPE, |
764 | |
RULE_XML_ATTRIBUTE_TYPE, |
765 | |
SEARCHABLE_XML_ATTRIBUTE_TYPE, |
766 | |
EXTENSION_ATTRIBUTE_TYPE, |
767 | |
EMAIL_ATTRIBUTE_TYPE, |
768 | |
NOTE_ATTRIBUTE_TYPE, |
769 | |
ACTION_LIST_ATTRIBUTE_TYPE, |
770 | |
RULE_VALIDATION_ATTRIBUTE_TYPE, |
771 | |
SEARCH_CRITERIA_PROCESSOR_ATTRIBUTE_TYPE, |
772 | |
SEARCH_GENERATOR_ATTRIBUTE_TYPE, |
773 | |
SEARCH_RESULT_PROCESSOR_ATTRIBUTE_TYPE, |
774 | |
SEARCH_RESULT_XML_PROCESSOR_ATTRIBUTE_TYPE, |
775 | |
DOCUMENT_SEARCH_SECURITY_FILTER_ATTRIBUTE_TYPE, |
776 | |
QUALIFIER_RESOLVER_ATTRIBUTE_TYPE |
777 | |
}; |
778 | |
|
779 | |
public static final Map<String, String> RULE_ATTRIBUTE_TYPE_MAP; |
780 | |
static { |
781 | 0 | RULE_ATTRIBUTE_TYPE_MAP = new HashMap<String, String>(); |
782 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(RULE_ATTRIBUTE_TYPE, RULE_ATTRIBUTE_TYPE_LABEL); |
783 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(SEARCHABLE_ATTRIBUTE_TYPE, SEARCHABLE_ATTRIBUTE_TYPE_LABEL); |
784 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(RULE_XML_ATTRIBUTE_TYPE, RULE_XML_ATTRIBUTE_TYPE_LABEL); |
785 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(SEARCHABLE_XML_ATTRIBUTE_TYPE, SEARCHABLE_XML_ATTRIBUTE_TYPE_LABEL); |
786 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(EXTENSION_ATTRIBUTE_TYPE, EXTENSION_ATTRIBUTE_TYPE_LABEL); |
787 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(EMAIL_ATTRIBUTE_TYPE, EMAIL_ATTRIBUTE_TYPE_LABEL); |
788 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(NOTE_ATTRIBUTE_TYPE, NOTE_ATTRIBUTE_TYPE_LABEL); |
789 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(ACTION_LIST_ATTRIBUTE_TYPE, ACTION_LIST_ATTRIBUTE_TYPE_LABEL); |
790 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(RULE_VALIDATION_ATTRIBUTE_TYPE, RULE_VALIDATION_ATTRIBUTE_TYPE_LABEL); |
791 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(SEARCH_CRITERIA_PROCESSOR_ATTRIBUTE_TYPE, SEARCH_CRITERIA_PROCESSOR_ATTRIBUTE_TYPE_LABEL); |
792 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(SEARCH_GENERATOR_ATTRIBUTE_TYPE, SEARCH_GENERATOR_ATTRIBUTE_TYPE_LABEL); |
793 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(SEARCH_RESULT_PROCESSOR_ATTRIBUTE_TYPE, SEARCH_RESULT_PROCESSOR_ATTRIBUTE_TYPE_LABEL); |
794 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(SEARCH_RESULT_XML_PROCESSOR_ATTRIBUTE_TYPE, SEARCH_RESULT_XML_PROCESSOR_ATTRIBUTE_TYPE_LABEL); |
795 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(DOCUMENT_SEARCH_SECURITY_FILTER_ATTRIBUTE_TYPE, DOCUMENT_SEARCH_SECURITY_FILTER_ATTRIBUTE_TYPE_LABEL); |
796 | 0 | RULE_ATTRIBUTE_TYPE_MAP.put(QUALIFIER_RESOLVER_ATTRIBUTE_TYPE, QUALIFIER_RESOLVER_ATTRIBUTE_TYPE_LABEL); |
797 | |
} |
798 | |
|
799 | |
public static final String DAILY = "daily"; |
800 | |
public static final String WEEKLY = "weekly"; |
801 | 0 | public static final Long EMAIL_QUEUE_ENTRY_ROUTE_HEADER_ID = new Long(-1); |
802 | |
public static final int MAX_ANNOTATION_LENGTH = 2000; |
803 | |
public static final String XML_FILE_PARSE_ERROR = "general.error.parsexml"; |
804 | |
|
805 | |
|
806 | 0 | public static final Long MACHINE_GENERATED_RESPONSIBILITY_ID = new Long(0); |
807 | 0 | public static final Long ADHOC_REQUEST_RESPONSIBILITY_ID = new Long(-1); |
808 | 0 | public static final Long EXCEPTION_REQUEST_RESPONSIBILITY_ID = new Long(-2); |
809 | 0 | public static final Long SAVED_REQUEST_RESPONSIBILITY_ID = new Long(-3); |
810 | |
|
811 | |
public static final int DEFAULT_WEB_SERVICE_RETRY = 1; |
812 | |
|
813 | |
public static final String PRIMARY_PROCESS_NAME = "PRIMARY"; |
814 | |
public static final String PRIMARY_BRANCH_NAME = "PRIMARY"; |
815 | |
public static final String DEFAULT_EXCEPTION_PROCESS_NAME = "exception"; |
816 | |
|
817 | |
|
818 | |
public static final String ROUTING_VERSION_ROUTE_LEVEL = "1"; |
819 | |
public static final String ROUTING_VERSION_NODAL = "2"; |
820 | |
public static final String CURRENT_ROUTING_VERSION = ROUTING_VERSION_NODAL; |
821 | |
|
822 | |
|
823 | |
public static final int DOCUMENT_VERSION_ROUTE_LEVEL = 0; |
824 | |
public static final int DOCUMENT_VERSION_NODAL = 1; |
825 | |
public static final int CURRENT_DOCUMENT_VERSION = DOCUMENT_VERSION_NODAL; |
826 | |
|
827 | |
public static final String EDL_ATTRIBUTE_GLOBAL_ERROR_KEY = "global"; |
828 | |
public static final String POST_PROCESSOR_FAILURE_MESSAGE = "PostProcessor failed to process document: "; |
829 | |
|
830 | |
public static final String DEFAULT_CONFIG_LOCATION_PARAM = "default.config.location"; |
831 | |
public static final String DEFAULT_APPLICATION_CONFIG_LOCATION = "classpath:META-INF/workflow.xml"; |
832 | |
public static final String DEFAULT_GLOBAL_CONFIG_LOCATION = "classpath:META-INF/kew-config-defaults.xml"; |
833 | |
public static final String ADDITIONAL_CONFIG_LOCATIONS_PARAM = "additional.config.locations"; |
834 | |
|
835 | |
|
836 | 0 | public static enum ClientProtocol { |
837 | 0 | WEBSERVICE, LOCAL, EMBEDDED, RMI, SPRING_INVOKER |
838 | |
} |
839 | |
|
840 | |
|
841 | |
public static final String POST_PROCESSOR_PROCESSED_KEY = "System.PostProcessorProcessed"; |
842 | |
public static final String POST_PROCESSOR_FINAL_KEY = "System.PostProcessorFinal"; |
843 | |
public static final String POST_PROCESSOR_NON_DEFINED_VALUE = "none"; |
844 | |
|
845 | |
|
846 | |
public static final String DIGITAL_SIGNATURE_HEADER = "KEW_DIGITAL_SIGNATURE"; |
847 | |
public static final String KEYSTORE_ALIAS_HEADER = "KEW_KEYSTORE_ALIAS"; |
848 | |
|
849 | |
public static final int DEFAULT_TRANSACTION_TIMEOUT_SECONDS = 3600; |
850 | |
|
851 | |
public static final String HTML_NON_BREAKING_SPACE = " "; |
852 | |
|
853 | |
public static final String SIMPLE_DOCUMENT_ACTIONS_SECURITY = "simpleDocumentActionsService.security"; |
854 | |
public static final String DAILY_EMAIL_CRON_EXPRESSION = "dailyEmail.cronExpression"; |
855 | |
public static final String WEEKLY_EMAIL_CRON_EXPRESSION = "weeklyEmail.cronExpression"; |
856 | |
public static final String DAILY_EMAIL_ACTIVE = "dailyEmail.active"; |
857 | |
public static final String WEEKLY_EMAIL_ACTIVE = "weeklyEmail.active"; |
858 | |
|
859 | |
public static final String ACTION_LIST_NO_REFRESH = "ActionList.norefresh"; |
860 | |
|
861 | |
|
862 | |
|
863 | |
public static final String RECEIVE_FUTURE_REQUESTS_BRANCH_STATE_KEY = "_receive_future_requests"; |
864 | |
public static final String DEACTIVATED_FUTURE_REQUESTS_BRANCH_STATE_KEY = "_deactivated_future_requests"; |
865 | |
public static final String DONT_RECEIVE_FUTURE_REQUESTS_BRANCH_STATE_VALUE = "NO"; |
866 | |
public static final String RECEIVE_FUTURE_REQUESTS_BRANCH_STATE_VALUE = "YES"; |
867 | |
public static final String CLEAR_FUTURE_REQUESTS_BRANCH_STATE_VALUE = "CLEAR"; |
868 | |
public static final String USE_REMOTE_EMAIL_SERVICES = "Email.useRemoteServices"; |
869 | |
|
870 | |
|
871 | |
public static final String LOOKUP_COLUMN_TYPE_TEXT = "text"; |
872 | |
public static final String LOOKUP_COLUMN_TYPE_INTEGER = "integer"; |
873 | |
public static final String LOOKUP_COLUMN_TYPE_LONG = "long"; |
874 | |
public static final String LOOKUP_COLUMN_TYPE_FLOAT = "float"; |
875 | |
public static final String LOOKUP_COLUMN_TYPE_DATETIME = "datetime"; |
876 | |
|
877 | |
|
878 | |
public static final String DOC_SEARCH_ROUTE_STATUS_QUALIFIER_EXACT = "equal"; |
879 | |
public static final String DOC_SEARCH_ROUTE_STATUS_QUALIFIER_BEFORE = "before"; |
880 | |
public static final String DOC_SEARCH_ROUTE_STATUS_QUALIFIER_AFTER = "after"; |
881 | |
public static final Map<String,String> DOC_SEARCH_ROUTE_STATUS_QUALIFIERS; |
882 | |
static { |
883 | 0 | DOC_SEARCH_ROUTE_STATUS_QUALIFIERS = new HashMap<String,String>(); |
884 | 0 | DOC_SEARCH_ROUTE_STATUS_QUALIFIERS.put(DOC_SEARCH_ROUTE_STATUS_QUALIFIER_EXACT, "Exactly"); |
885 | 0 | DOC_SEARCH_ROUTE_STATUS_QUALIFIERS.put(DOC_SEARCH_ROUTE_STATUS_QUALIFIER_BEFORE, "Before"); |
886 | 0 | DOC_SEARCH_ROUTE_STATUS_QUALIFIERS.put(DOC_SEARCH_ROUTE_STATUS_QUALIFIER_AFTER, "After"); |
887 | 0 | } |
888 | |
|
889 | |
|
890 | |
|
891 | |
public static final String WORKFLOW_UTILITY_SERVICE = "enWorkflowUtilityService"; |
892 | |
|
893 | |
public static final String WORKFLOW_DOCUMENT_ACTIONS_SERVICE = "enWorkflowDocumentActionsService"; |
894 | |
|
895 | |
public static final String SIMPLE_DATE_FORMAT_FOR_DATE = RiceConstants.SIMPLE_DATE_FORMAT_FOR_DATE; |
896 | |
public static final String SIMPLE_DATE_FORMAT_FOR_TIME = RiceConstants.SIMPLE_DATE_FORMAT_FOR_TIME; |
897 | |
public static final String DEFAULT_DATE_FORMAT_PATTERN = RiceConstants.DEFAULT_DATE_FORMAT_PATTERN; |
898 | |
|
899 | |
public static final String ACTIONLIST_COMMAND = "displayActionListView"; |
900 | |
|
901 | |
public static final String ACTIONLIST_INLINE_COMMAND = "displayActionListInlineView"; |
902 | |
|
903 | |
public static final String EMAIL_COMMAND = "displayEmailView"; |
904 | |
|
905 | |
public static final String DOCSEARCH_COMMAND = "displayDocSearchView"; |
906 | |
|
907 | |
public static final String SUPERUSER_COMMAND = "displaySuperUserView"; |
908 | |
|
909 | |
public static final String HELPDESK_ACTIONLIST_COMMAND = "displayHelpDeskActionListView"; |
910 | |
|
911 | |
public static final String INITIATE_COMMAND = "initiate"; |
912 | |
|
913 | |
public static final String COMMAND_PARAMETER = "command"; |
914 | |
|
915 | |
public static final String DOCUMENT_ID_PARAMETER = "docId"; |
916 | |
|
917 | |
public static final String BACKDOOR_ID_PARAMETER = "backdoorId"; |
918 | |
|
919 | |
public static final String DOCTYPE_PARAMETER = "docTypeName"; |
920 | |
|
921 | |
public static final String INITIATE_URL = "initiateURL"; |
922 | |
|
923 | |
public static final String ADVANCE_SEARCH_URL = "advanceSearchURL"; |
924 | |
|
925 | |
public static final String DOCHANDLER_METHOD = "dochandlerMethod"; |
926 | |
|
927 | |
public static final String KEW_NAMESPACE = "KR-WKFLW"; |
928 | |
|
929 | |
public static final String DEFAULT_RESPONSIBILITY_TEMPLATE_NAME = "Review"; |
930 | |
|
931 | |
public static final String EXCEPTION_ROUTING_RESPONSIBILITY_TEMPLATE_NAME = "Resolve Exception"; |
932 | |
|
933 | |
|
934 | |
|
935 | |
public static final String DOCUMENT_TYPE_NAME_DETAIL = "documentTypeName"; |
936 | |
public static final String ACTION_REQUEST_CD_DETAIL = "actionRequestCd"; |
937 | |
public static final String ROUTE_NODE_NAME_DETAIL = "routeNodeName"; |
938 | |
public static final String DOCUMENT_STATUS_DETAIL = "routeStatusCode"; |
939 | |
|
940 | |
|
941 | |
|
942 | |
public static final String BLANKET_APPROVE_PERMISSION = "Blanket Approve Document"; |
943 | |
public static final String AD_HOC_REVIEW_PERMISSION = "Ad Hoc Review Document"; |
944 | |
public static final String ADMINISTER_ROUTING_PERMISSION = "Administer Routing for Document"; |
945 | |
public static final String CANCEL_PERMISSION = "Cancel Document"; |
946 | |
public static final String INITIATE_PERMISSION = "Initiate Document"; |
947 | |
public static final String ROUTE_PERMISSION = "Route Document"; |
948 | |
public static final String SAVE_PERMISSION = "Save Document"; |
949 | |
public static final String ADD_MESSAGE_TO_ROUTE_LOG = "Add Message to Route Log"; |
950 | |
|
951 | |
|
952 | |
|
953 | |
public static final String KIM_GROUP_NAMESPACE_NAME_DELIMITER_CHARACTER = ":"; |
954 | |
|
955 | |
|
956 | |
public static final String KIM_PRIORITY_ON_DOC_TYP_PERMS_IND = "KIM_PRIORITY_ON_DOC_TYP_PERMS_IND"; |
957 | |
public static final String ACTION_LIST_DOCUMENT_POPUP_IND = "ACTION_LIST_DOCUMENT_POPUP_IND"; |
958 | |
public static final String ACTION_LIST_ROUTE_LOG_POPUP_IND = "ACTION_LIST_ROUTE_LOG_POPUP_IND"; |
959 | |
public static final String ACTION_LIST_SEND_EMAIL_NOTIFICATION_IND = "SEND_EMAIL_NOTIFICATION_IND"; |
960 | |
public static final String SHOW_BACK_DOOR_LOGIN_IND = "SHOW_BACK_DOOR_LOGIN_IND"; |
961 | |
public static final String RULE_DELEGATE_LIMIT = "DELEGATE_LIMIT"; |
962 | |
public static final String EMAIL_REMINDER_FROM_ADDRESS = "FROM_ADDRESS"; |
963 | |
public static final String MAX_NODES_BEFORE_RUNAWAY_PROCESS = "MAXIMUM_NODES_BEFORE_RUNAWAY"; |
964 | |
public static final String NOTIFICATION_EXCLUDED_USERS_WORKGROUP_NAME_IND = "NOTIFY_EXCLUDED_USERS_IND"; |
965 | |
public static final String DOC_SEARCH_FETCH_MORE_ITERATION_LIMIT = "FETCH_MORE_ITERATION_LIMIT"; |
966 | |
public static final String DOCUMENT_SEARCH_DOCUMENT_POPUP_IND = "DOCUMENT_SEARCH_POPUP_IND"; |
967 | |
public static final String DOCUMENT_SEARCH_ROUTE_LOG_POPUP_IND = "DOCUMENT_SEARCH_ROUTE_LOG_POPUP_IND"; |
968 | |
public static final String DOC_SEARCH_RESULT_CAP = "RESULT_CAP"; |
969 | |
public static final String EDL_DEBUG_TRANSFORM_IND = "DEBUG_TRANSFORM_IND"; |
970 | |
public static final String EDL_USE_XSLTC_IND = "USE_XSLTC_IND"; |
971 | |
public static final String IS_LAST_APPROVER_ACTIVATE_FIRST_IND = "IS_LAST_APPROVER_ACTIVATE_FIRST_IND"; |
972 | |
public static final String HELP_DESK_ACTION_LIST = "HELP_DESK_NAME_GROUP"; |
973 | |
public static final String QUICK_LINKS_RESTRICT_DOCUMENT_TYPES = "RESTRICT_DOCUMENT_TYPES"; |
974 | |
public static final String RULE_CUSTOM_DOC_TYPES = "CUSTOM_DOCUMENT_TYPES"; |
975 | |
public static final String RULE_GENERATE_ACTION_REQESTS_IND = "GENERATE_ACTION_REQUESTS_IND"; |
976 | |
public static final String SHOW_ATTACHMENTS_IND = "SHOW_ATTACHMENTS_IND"; |
977 | |
public static final String RULE_CACHE_REQUEUE_DELAY = "RULE_CACHE_REQUEUE_DELAY"; |
978 | |
public static final String ACTIONLIST_EMAIL_TEST_ADDRESS = "EMAIL_NOTIFICATION_TEST_ADDRESS"; |
979 | |
public static final String SECURE_ATTACHMENTS_PARAM = "SECURED_ATTACHMENT_SERVLET"; |
980 | |
|
981 | |
|
982 | |
public static final String ACTION_LIST_SEND_EMAIL_NOTIFICATION_VALUE = "Y"; |
983 | |
public static final String YES_RULE_CHANGE_AR_GENERATION_VALUE = "Y"; |
984 | |
public static final String YES_DELEGATE_CHANGE_AR_GENERATION_VALUE = "Y"; |
985 | |
public static final String DOCUMENT_SEARCH_ROUTE_LOG_POPUP_VALUE = "Y"; |
986 | |
public static final String DOCUMENT_SEARCH_DOCUMENT_POPUP_VALUE = "Y"; |
987 | |
|
988 | |
public static final class PermissionNames { |
989 | |
public static final String VIEW_OTHER_ACTION_LIST = "View Other Action List"; |
990 | |
public static final String UNRESTRICTED_DOCUMENT_SEARCH = "Unrestricted Document Search"; |
991 | |
|
992 | 0 | private PermissionNames() { |
993 | 0 | throw new UnsupportedOperationException("do not call"); |
994 | |
} |
995 | |
} |
996 | |
|
997 | |
|
998 | |
public static final String SYSTEM_USER = "kr"; |
999 | |
public static final String ENABLE_KEN_NOTIFICATION = "rice.kew.enableKENNotification"; |
1000 | |
|
1001 | |
public static final String ROLEROUTE_QUALIFIER_RESOLVER_ELEMENT = "qualifierResolver"; |
1002 | |
public static final String ROLEROUTE_QUALIFIER_RESOLVER_CLASS_ELEMENT = "qualifierResolverClass"; |
1003 | |
public static final String ROLEROUTE_RESPONSIBILITY_TEMPLATE_NAME_ELEMENT = "responsibilityTemplateName"; |
1004 | |
public static final String ROLEROUTE_NAMESPACE_ELEMENT = "namespace"; |
1005 | |
|
1006 | |
public static final String ACTION_LIST_FILTER_ATTR_NAME = "ActionListFilter"; |
1007 | |
public static final String UPDATE_ACTION_LIST_ATTR_NAME = "updateActionList"; |
1008 | |
public static final String SORT_ORDER_ATTR_NAME = "sortOrder"; |
1009 | |
public static final String SORT_CRITERIA_ATTR_NAME = "sortCriteria"; |
1010 | |
public static final String CURRENT_PAGE_ATTR_NAME = "currentPage"; |
1011 | |
|
1012 | |
public static final String HELP_DESK_ACTION_LIST_PRINCIPAL_ATTR_NAME = "helpDeskActionListPrincipal"; |
1013 | |
public static final String HELP_DESK_ACTION_LIST_PERSON_ATTR_NAME = "helpDeskActionListPerson"; |
1014 | |
public static final String PREFERENCES = "Preferences"; |
1015 | |
public static final String WORKFLOW_DOCUMENT_MAP_ATTR_NAME = "workflowDocumentMap"; |
1016 | |
|
1017 | |
public static final String USER_OPTIONS_DEFAULT_USE_OUTBOX_PARAM = "userOptions.default.useOutBox"; |
1018 | |
|
1019 | |
|
1020 | |
public static final class SearchableAttributeConstants { |
1021 | |
public static final String SEARCH_WILDCARD_CHARACTER = "*"; |
1022 | |
public static final String SEARCH_WILDCARD_CHARACTER_REGEX_ESCAPED = "\\" + SEARCH_WILDCARD_CHARACTER; |
1023 | |
public static final String DATA_TYPE_STRING = KNSConstants.DATA_TYPE_STRING; |
1024 | |
public static final String DATA_TYPE_DATE = KNSConstants.DATA_TYPE_DATE; |
1025 | |
public static final String DATA_TYPE_LONG = KNSConstants.DATA_TYPE_LONG; |
1026 | |
public static final String DATA_TYPE_FLOAT = KNSConstants.DATA_TYPE_FLOAT; |
1027 | |
public static final String DEFAULT_SEARCHABLE_ATTRIBUTE_TYPE_NAME = DATA_TYPE_STRING; |
1028 | |
public static final String DEFAULT_RANGE_SEARCH_LOWER_BOUND_LABEL = "From"; |
1029 | |
public static final String DEFAULT_RANGE_SEARCH_UPPER_BOUND_LABEL = "To"; |
1030 | |
public static final String RANGE_LOWER_BOUND_PROPERTY_PREFIX = "rangeLowerBoundKeyPrefix_"; |
1031 | |
public static final String RANGE_UPPER_BOUND_PROPERTY_PREFIX = "rangeUpperBoundKeyPrefix_"; |
1032 | |
|
1033 | 0 | private SearchableAttributeConstants() {} |
1034 | |
|
1035 | |
|
1036 | |
} |
1037 | |
|
1038 | 0 | private KEWConstants() { |
1039 | 0 | throw new UnsupportedOperationException("do not call"); |
1040 | |
} |
1041 | |
} |