Source Code Cross Referenced for EdenConstants.java in  » ERP-CRM-Financial » Kuali-Financial-System » edu » iu » uis » eden » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » Kuali Financial System » edu.iu.uis.eden 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package edu.iu.uis.eden;
002:
003:        import java.sql.Date;
004:        import java.text.DateFormat;
005:        import java.text.SimpleDateFormat;
006:        import java.util.Arrays;
007:        import java.util.HashMap;
008:        import java.util.HashSet;
009:        import java.util.List;
010:        import java.util.Map;
011:        import java.util.Set;
012:
013:        import edu.iu.uis.eden.clientapp.IDocHandler;
014:        import edu.iu.uis.eden.doctype.DocumentTypePolicyEnum;
015:        import edu.iu.uis.eden.engine.node.ActivationTypeEnum;
016:        import edu.iu.uis.eden.export.ExportFormat;
017:        import edu.iu.uis.eden.util.JSTLConstants;
018:        import edu.iu.uis.eden.web.KeyValue;
019:
020:        public class EdenConstants extends JSTLConstants {
021:
022:            private static final long serialVersionUID = -3897059085433394648L;
023:
024:            public static final String KEW_MESSAGING_ENTITY = "KEW";
025:
026:            public static final String MESSAGING_SYNCHRONOUS = "synchronous";
027:            public static final String MESSAGING_MEMORY = "memory";
028:            public static final String MESSAGE_PERSISTENCE = "message.persistence";
029:
030:            public static final String CORE_WORKFLOW_DATASOURCE = "enWorkflowDataSource";
031:            // not strictly necessary to specify if connection descriptor is configured as default
032:            public static final String CORE_WORKFLOW_DATASOURCE_JCD_ALIAS = CORE_WORKFLOW_DATASOURCE;
033:
034:            public static final String PLUGIN_HOT_DEPLOY_MAX_WAIT_TIME = "Plugin.hotDeploy.maxWaitTime";
035:            public static final String PLUGIN_HOT_DEPLOY_SAFE_TIME = "Plugin.hotDeploy.safeTime";
036:
037:            public static final String BOOTSTRAP_SPRING_FILE = "kew.bootstrap.spring.file";
038:
039:            public static final String RELOAD_ACTION_LIST = "RELOAD_ACTION_LIST";
040:            public static final String DELEGATION_WIZARD = "delegationWizard";
041:            public static final String PERFORM_REALTIME_DOCUMENT_UPGRADE = "Document.PerformRealtimeUpgrade";
042:            //checkRouteLogAuthentication
043:            public static final String CHECK_ROUTE_LOG_AUTH_FUTURE = "Feature.CheckRouteLogAuthentication.CheckFuture";
044:            public static final String IS_LAST_APPROVER_ACTIVATE_FIRST = "Feature.IsLastApprover.ActivateFirst";
045:            public static final String EMAIL_REMINDER_FROM_ADDRESS_KEY = "Config.Mailer.FromAddress";
046:            public static final String EMAIL_REMINDER_LAST_WEEKLY_KEY = "Config.Mailer.LastWeeklyReminderDate";
047:            public static final String EMAIL_REMINDER_LAST_DAILY_KEY = "Config.Mailer.LastDailyReminderDate";
048:            public static final String APP_CONST_USE_ONESTART_URL = "Config.Application.UseOneStartPortalUrl";
049:            public static final String APP_CONST_EDL_USE_XSLTC = "EDL.UseXSLTC";
050:            public static final String APP_CONST_EDL_DEBUG_TRANSFORM = "EDL.DebugTransform";
051:            public static final String APP_CONST_EMAIL_FIRST_SEND_IP_KEY = "Config.Mailer.IPAddress";
052:
053:            public static final String BAM_CONST = "BAM";
054:
055:            public static final String MINUTES_TO_CACHE_USERS_KEY = "Config.Application.MinutesToCacheUsers";
056:            public static final String SHOW_BACK_DOOR_LOGIN_KEY = "Backdoor.ShowbackDoorLogin";
057:            public static final String HELP_DESK_ACTION_LIST_KEY = "HelpDeskActionList.helpDeskActionListName";
058:            public static final String WORKFLOW_ADMIN_WORKGROUP_NAME_KEY = "Workflow.AdminWorkgroup";
059:            public static final String WORKFLOW_ADMIN_URL_KEY = "Workflow.AdminUrls";
060:            public static final String ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_KEY = "RouteQueue.maxRetryAttempts";
061:            public static final String ROUTE_QUEUE_MAX_RETRY_ATTEMPTS_OVERRIDE_KEY = "RouteQueue.maxRetryAttemptsOverride";
062:            public static final String ROUTE_QUEUE_TIME_INCREMENT_KEY = "RouteQueue.timeIncrement";
063:            public static final String ROUTE_QUEUE_ROUTE_BY_IP_KEY = "RouteQueue.isRoutingByIPNumber";
064:            public static final String ROUTE_MANAGER_DRIVER_IS_RUNNING_KEY = "RouteManagerDriver.isRunning";
065:            public static final String ROUTE_MANAGER_POOL_NUM_WORKERS_KEY = "RouteManagerPool.numWorkers";
066:            public static final String ROUTE_MANAGER_QUEUE_INITIAL_DELAY_KEY = "RouteManagerQueue.initialDelay";
067:            public static final String ROUTE_MANAGER_QUEUE_WAIT_TIME_KEY = "RouteManagerQueue.waitTime";
068:            public static final String RULE_CACHE_REQUEUE_WAIT_TIME_KEY = "RouteQueue.requeueWaitTime";
069:            public static final String RULE_LOCKING_ON = "Config.Application.RuleLockingOn";
070:            public static final String APP_CONST_SHOW_ATTACHMENTS = "showAttachments";
071:            public static final String NOTIFICATION_EXCLUDED_USERS_WORKGROUP_NAME = "Config.Workgroup.NotifyExcludedUsers";
072:
073:            public static final String IMMEDIATE_EXCEPTION_ROUTING = "Routing.ImmediateExceptionRouting";
074:
075:            public static final String SECURITY_HTTP_INVOKER_SIGN_MESSAGES = "Security.HttpInvoker.SignMessages";
076:
077:            public static final String ACTION_LIST_PAGE_SIZE_THROTTLE = "ActionList.pageSizeThrottle";
078:
079:            public static final long DEFAULT_CACHE_REQUEUE_WAIT_TIME = 5000;
080:
081:            public static final int DEFAULT_THREAD_POOL_SIZE = 5;
082:
083:            public static final String RULE_CHANGE_AR_GENERATION_KEY = "RuleChange.IsGenerateActionRequests";
084:            public static final String YES_RULE_CHANGE_AR_GENERATION_VALUE = "true";
085:
086:            public static final String DELEGATE_CHANGE_AR_GENERATION_KEY = "DelegateRuleChange.IsGenerateActionRequests";
087:            public static final String YES_DELEGATE_CHANGE_AR_GENERATION_VALUE = "true";
088:
089:            public static final String DOCUMENT_SEARCH_ROUTE_LOG_POPUP_KEY = "DocumentSearch.IsRouteLogPopup";
090:            public static final String DOCUMENT_SEARCH_ROUTE_LOG_POPUP_VALUE = "true";
091:
092:            public static final String DOCUMENT_SEARCH_DOCUMENT_POPUP_KEY = "DocumentSearch.IsDocumentPopup";
093:            public static final String DOCUMENT_SEARCH_DOCUMENT_POPUP_VALUE = "true";
094:
095:            public static final String ACTION_LIST_ROUTE_LOG_POPUP_KEY = "ActionList.IsRouteLogPopup";
096:            public static final String ACTION_LIST_ROUTE_LOG_POPUP_VALUE = "true";
097:
098:            public static final String ACTION_LIST_DOCUMENT_POPUP_KEY = "ActionList.IsDocumentPopup";
099:            public static final String ACTION_LIST_DOCUMENT_POPUP_VALUE = "true";
100:
101:            public static final String WORKGROUP_ROUTE_LOG_POPUP_KEY = "Workgroup.IsRouteLogPopup";
102:            public static final String WORKGROUP_ROUTE_LOG_POPUP_VALUE = "true";
103:
104:            public static final String RULE_ROUTE_LOG_POPUP_KEY = "Rule.IsRouteLogPopup";
105:            public static final String RULE_ROUTE_LOG_POPUP_VALUE = "true";
106:
107:            public static final String ACTION_LIST_SEND_EMAIL_NOTIFICATION_KEY = "ActionList.sendEmailNotification";
108:            public static final String ACTION_LIST_SEND_EMAIL_NOTIFICATION_VALUE = "true";
109:
110:            public static final String RULE_TEMPLATE_CREATE_NEW_INSTRUCTION_KEY = "RuleTemplate.CreateNew.Instruction";
111:            public static final String RULE_CREATE_NEW_INSTRUCTION_KEY = "Rule.CreateNew.Instruction";
112:            public static final String WORKGROUP_SEARCH_INSTRUCTION_KEY = "Workgroup.Search.Instruction";
113:            public static final String RULE_ATTRIBUTE_CREATE_NEW_INSTRUCTION_KEY = "RuleAttribute.CreateNew.Instruction";
114:            public static final String RULE_TEMPLATE_SEARCH_INSTRUCTION_KEY = "RuleTemplate.Search.Instruction";
115:            public static final String RULE_SEARCH_INSTRUCTION_KEY = "Rule.Search.Instruction";
116:            public static final String GLOBAL_REVIEWER_REPLACE_INSTRUCTION_KEY = "GlobalReviewer.Replace.Instruction";
117:            public static final String DOCUMENT_TYPE_SEARCH_INSTRUCTION_KEY = "DocumentType.Search.Instruction";
118:            public static final String APPLICATION_CONTEXT_KEY = "ApplicationContext";
119:            public static final String QUICK_LINKS_RESTRICT_DOCUMENT_TYPES = "QuickLinks.restrictDocumentTypes";
120:            public static final String RULE_ATTRIBUTE_SEARCH_INSTRUCTION_KEY = "RuleAttribute.Search.Instruction";
121:            public static final String SUB_ACCOUNT_SEARCH_INSTRUCTION_KEY = "SubAccount.Search.Instruction";
122:            public static final String USER_SEARCH_INSTRUCTION_KEY = "User.Search.Instruction";
123:            public static final String WORKGROUP_CREATE_NEW_INSTRUCTION_KEY = "Workgroup.CreateNew.Instruction";
124:            public static final String USER_CREATE_NEW_INSTRUCTION_KEY = "User.CreateNew.Instruction";
125:            public static final String NOTE_CREATE_NEW_INSTRUCTION_KEY = "Note.CreateNew.Instruction";
126:            public static final String RULE_DELEGATE_LIMIT_KEY = "Config.Application.DelegateLimit";
127:            public static final String RULE_CUSTOM_DOC_TYPES_KEY = "Rule.Config.CustomDocTypes";
128:
129:            public static final String ACTION_LIST_ATTRIBUTE_CLASS_PROPERTY = "customActionListAttributeClassName";
130:            public static final String EMAIL_ATTRIBUTE_CLASS_PROPERTY = "customEmailAttributeClassName";
131:            public static final String NOTE_ATTRIBUTE_CLASS_PROPERTY = "customNoteAttributeClassName";
132:
133:            // Delegation Constants
134:            public static final String DELEGATION_NONE = null;
135:            public static final String DELEGATION_PRIMARY = "P";
136:            public static final String DELEGATION_SECONDARY = "S";
137:
138:            public static final String FLEX_RM_NAME = "FRM";
139:            public static final String DOC_HANDLER_REDIRECT_PAGE = "DocHandler.do";
140:            public static final String DOCUMENT_ROUTING_REPORT_PAGE = "RoutingReport.do";
141:            public static final String IDOCHANDLER_ROUTEHEADER_ID_PARAMETER = IDocHandler.ROUTEHEADER_ID_PARAMETER;
142:            public static final String IDOCANDLER_BACKDOOR_ID_PARAMETER = IDocHandler.BACKDOOR_ID_PARAMETER;
143:            public static final String FEEDBACK_URL = "feedback.do";
144:
145:            public static final String WORKFLOW_SUPER_USER_WORKGROUP_NAME = "WorkflowAdmin";
146:
147:            public static final String SIMPLE_DATE_FORMAT_FOR_DATE = "MM/dd/yyyy";
148:            public static final String SIMPLE_DATE_FORMAT_FOR_TIME = "hh:mm a";
149:            public static final String DEFAULT_DATE_FORMAT_PATTERN = SIMPLE_DATE_FORMAT_FOR_TIME
150:                    + " " + SIMPLE_DATE_FORMAT_FOR_DATE;
151:
152:            public static DateFormat getDefaultDateFormat() {
153:                return new SimpleDateFormat(SIMPLE_DATE_FORMAT_FOR_DATE);
154:            }
155:
156:            public static DateFormat getDefaultTimeFormat() {
157:                return new SimpleDateFormat(SIMPLE_DATE_FORMAT_FOR_TIME);
158:            }
159:
160:            public static DateFormat getDefaultDateAndTimeFormat() {
161:                return new SimpleDateFormat(DEFAULT_DATE_FORMAT_PATTERN);
162:            }
163:
164:            public static final String DAILY_UNIT = "Daily";
165:            public static final String WEEKLY_UNIT = "Weekly";
166:            public static final String MONTHLY_UNIT = "Monthly";
167:            public static final String YEARLY_UNIT = "Yearly";
168:
169:            //  comment for cruisecontrol change test ////
170:            public static final String USER_SESSION_KEY = "edu.iu.uis.eden.web.session.UserSession";
171:            public static final String SUDS_DATASOURCE = "SUDS";
172:            public static final String EDEN_APP_CODE = "en";
173:            public static final String WORKFLOW_ENGINE_EJB = EDEN_APP_CODE
174:                    + "/WorkflowEngine";
175:            public static final String EDEN_UTILITY_EJB = EDEN_APP_CODE
176:                    + "/EdenUtility";
177:            public static final String DOC_TYPE_EJB = EDEN_APP_CODE
178:                    + "/DocumentType";
179:            public static final String ACTIONLIST_EJB = EDEN_APP_CODE
180:                    + "/ActionListSession";
181:            public static final String DOC_SEARCH_EJB = EDEN_APP_CODE
182:                    + "/DocSearch";
183:            public static final String ROUTE_MANAGER_EJB = EDEN_APP_CODE
184:                    + "/RouteManager";
185:            public static final String ROUTE_HEADER_EJB = EDEN_APP_CODE
186:                    + "/RouteHeader";
187:            public static final String NPD_ACTIONLIST_EJB = EDEN_APP_CODE
188:                    + "/DelegationActionList";
189:            public static final String BASE_REVIEW_HIERARCHY_EJB = EDEN_APP_CODE
190:                    + "/BaseReviewHierarchy";
191:            public static final String DELEGATION_RM_CLASS = "edu.iu.uis.eden.ejb.rm.DelegationRouteModuleRemote";
192:            public static final String ROUTE_MODULE_CLASS = "edu.iu.uis.eden.ejb.RouteModuleHome";
193:            public static final String ENGINE_CLASS = "edu.iu.uis.eden.eden.EdenWorkflowEngineHome";
194:            public static final String PROD_DEPLOYMENT_CODE = "prd";
195:
196:            public static final String YES_LABEL = "Yes";
197:            public static final String NO_LABEL = "No";
198:            public static final String INHERITED_CD = "I";
199:            public static final String INHERITED_LABEL = "Inherited";
200:
201:            public static final String DISAPPROVE_POLICY = DocumentTypePolicyEnum.DISAPPROVE
202:                    .getName();
203:            public static final String DISAPPROVE_POLICY_CANCEL_CD = "C";
204:            public static final String DEFAULT_APPROVE_POLICY = DocumentTypePolicyEnum.DEFAULT_APPROVE
205:                    .getName();
206:            public static final String PREAPPROVE_POLICY = DocumentTypePolicyEnum.PRE_APPROVE
207:                    .getName();
208:            public static final String INITIATOR_MUST_ROUTE_POLICY = DocumentTypePolicyEnum.INITIATOR_MUST_ROUTE
209:                    .getName();
210:            public static final String INITIATOR_MUST_SAVE_POLICY = DocumentTypePolicyEnum.INITIATOR_MUST_SAVE
211:                    .getName();
212:            public static final String INITIATOR_MUST_CANCEL_POLICY = DocumentTypePolicyEnum.INITIATOR_MUST_CANCEL
213:                    .getName();
214:            public static final String INITIATOR_MUST_BLANKET_APPROVE_POLICY = DocumentTypePolicyEnum.INITIATOR_MUST_BLANKET_APPROVE
215:                    .getName();
216:
217:            public static final String DOCUMENT_TYPE_BLANKET_APPROVE_POLICY_NONE = "none";
218:            public static final String DOCUMENT_TYPE_BLANKET_APPROVE_POLICY_ANY = "any";
219:
220:            //determines if route log will show the look into the future link
221:            public static final String LOOK_INTO_FUTURE_POLICY = DocumentTypePolicyEnum.LOOK_FUTURE
222:                    .getName();
223:            public static final String SUPPORTS_QUICK_INITIATE_POLICY = DocumentTypePolicyEnum.SUPPORTS_QUICK_INITIATE
224:                    .getName();
225:            public static final String NOTIFY_ON_SAVE_POLICY = DocumentTypePolicyEnum.NOTIFY_ON_SAVE
226:                    .getName();
227:
228:            public static final String SUPER_USER_CANCEL = "SU_CANCEL";
229:            public static final String SUPER_USER_APPROVE = "SU_APPROVE";
230:            public static final String SUPER_USER_DISAPPROVE = "SU_DISAPPROVE";
231:            public static final String SUPER_USER_ROUTE_LEVEL_APPROVE = "SU_ROUTE_LEVEL_APPROVE";
232:            public static final String SUPER_USER_ACTION_REQUEST_APPROVE = "SU_ACTION_REQUEST_APPROVE";
233:            public static final String SUPER_USER_RETURN_TO_PREVIOUS_ROUTE_LEVEL = "SU_RETURN_TO_PREVIOUS_ROUTE_LEVEL";
234:
235:            /* email notification for action requests left in action list */
236:            public static final String EMAIL_RMNDR_KEY = "EMAIL_NOTIFICATION";
237:            public static final String EMAIL_RMNDR_NO_VAL = "no";
238:            public static final String EMAIL_RMNDR_DAY_VAL = "daily";
239:            public static final String EMAIL_RMNDR_WEEK_VAL = "weekly";
240:            public static final String EMAIL_RMNDR_IMMEDIATE = "immediate";
241:            public static final String EMAIL_LAST_RMNDR_KEY = "EMAIL_LST_RMNDR_DATE_KEY";
242:            public static final String EMAIL_STYLESHEET_NAME = "kew.email.style";
243:            /* end email notification constants */
244:
245:            public static final String PREFERENCES_YES_VAL = "yes";
246:            public static final String PREFERENCES_NO_VAL = "no";
247:
248:            public static final String ACTION_LIST_ALL_REQUESTS = "all";
249:            public static final String ACTION_LIST_DELEGATED_REQUESTS = "delegated";
250:            public static final String ACTION_LIST_NONDELEGATED_REQUESTS = "nondelegated";
251:            public static final String DELEGATORS_ON_FILTER_PAGE = "Secondary Delegators only on Filter Page";
252:            public static final String DELEGATORS_ON_ACTION_LIST_PAGE = "Secondary Delegators on Action List Page";
253:
254:            public static final Map ACTION_LIST_CONTENT;
255:            static {
256:                ACTION_LIST_CONTENT = new HashMap();
257:                ACTION_LIST_CONTENT.put(EdenConstants.ACTION_LIST_ALL_REQUESTS,
258:                        "All Requests");
259:                ACTION_LIST_CONTENT.put(
260:                        EdenConstants.ACTION_LIST_NONDELEGATED_REQUESTS,
261:                        "No Delegations");
262:                ACTION_LIST_CONTENT.put(
263:                        EdenConstants.ACTION_LIST_DELEGATED_REQUESTS,
264:                        "Delegations Only");
265:            }
266:
267:            public static final String ALL_CODE = "All";
268:            public static final String NO_FILTERING = "No Filtering";
269:            public static final String DELEGATION_DEFAULT = "Choose Secondary Delegation";
270:            /** Value for the active code used throughout EDEN */
271:            public static final String ACTIVE_CD = "Y";
272:            public static final String ACTIVE_LABEL = "ACTIVE";
273:            public static final String ACTIVE_LABEL_LOWER = "Active";
274:
275:            /** Value for the inactive code used throughout EDEN */
276:            public static final String INACTIVE_CD = "N";
277:            public static final String INACTIVE_LABEL = "INACTIVE";
278:            public static final String INACTIVE_LABEL_LOWER = "Inactive";
279:
280:            /** Value used for a true value throughout EDEN */
281:            public static final String TRUE_CD = "1";
282:            public static final String TRUE = "T";
283:
284:            /** Value used for a false value throughout EDEN */
285:            public static final String FALSE_CD = "0";
286:            public static final String FALSE = "F";
287:
288:            /** Value for UNAUTHENTICATED when comparing to the principal value */
289:            public static final String UNAUTHENTICATED = "UNAUTHENTICATED";
290:            public static final int DEFAULT_RETRY_TIME = 1800;
291:
292:            public static final int TITLE_MAX_LENGTH = 255;
293:
294:            // these values are reversed
295:            // UPAA == MANAGER_UNVL_UID and FISCAL_MANAGER == ORG_FSCL_APRVR_UID
296:            // this needs to be fixed in the next version
297:
298:            /** UPAA key for the FiscalUPAA map from EdenUtility * */
299:            public static final String UPAA = "MANAGER_UNVL_ID";
300:
301:            /** Document Lock codes **/
302:            public static final String DOC_LOCKED_RESPONSIBILITY_CHANGE = "R";
303:            public static final String DOC_UNLOCKED = null;
304:
305:            /** Fiscal Manager key for the FiscalUPAA map from EdenUtility * */
306:            public static final String FISCAL_MANAGER = "ORG_FSCL_APRVR_UID";
307:            public static final Date CURRENT_DATE = new Date(-7);
308:            public static final Map DOCUMENT_STATUSES;
309:
310:            static {
311:                /*
312:                 * see values in RouteHeader inner class; this HashMap is the definitive list used for the Document Route Statuses in ActionList preferences
313:                 */
314:                DOCUMENT_STATUSES = new HashMap();
315:                DOCUMENT_STATUSES.put(EdenConstants.ROUTE_HEADER_APPROVED_CD,
316:                        EdenConstants.ROUTE_HEADER_APPROVED_LABEL);
317:                DOCUMENT_STATUSES.put(EdenConstants.ROUTE_HEADER_CANCEL_CD,
318:                        EdenConstants.ROUTE_HEADER_CANCEL_LABEL);
319:                DOCUMENT_STATUSES.put(
320:                        EdenConstants.ROUTE_HEADER_CANCEL_DISAPPROVE_CD,
321:                        EdenConstants.ROUTE_HEADER_CANCEL_DISAPPROVE_LABEL);
322:                DOCUMENT_STATUSES.put(
323:                        EdenConstants.ROUTE_HEADER_DISAPPROVED_CD,
324:                        EdenConstants.ROUTE_HEADER_DISAPPROVED_LABEL);
325:                DOCUMENT_STATUSES.put(EdenConstants.ROUTE_HEADER_ENROUTE_CD,
326:                        EdenConstants.ROUTE_HEADER_ENROUTE_LABEL);
327:                DOCUMENT_STATUSES.put(EdenConstants.ROUTE_HEADER_EXCEPTION_CD,
328:                        EdenConstants.ROUTE_HEADER_EXCEPTION_LABEL);
329:                DOCUMENT_STATUSES.put(EdenConstants.ROUTE_HEADER_FINAL_CD,
330:                        EdenConstants.ROUTE_HEADER_FINAL_LABEL);
331:                DOCUMENT_STATUSES.put(EdenConstants.ROUTE_HEADER_INITIATED_CD,
332:                        EdenConstants.ROUTE_HEADER_INITIATED_LABEL);
333:                DOCUMENT_STATUSES.put(EdenConstants.ROUTE_HEADER_PROCESSED_CD,
334:                        EdenConstants.ROUTE_HEADER_PROCESSED_LABEL);
335:                DOCUMENT_STATUSES.put(EdenConstants.ROUTE_HEADER_SAVED_CD,
336:                        EdenConstants.ROUTE_HEADER_SAVED_LABEL);
337:            }
338:
339:            // below must be negative to be 30 days in the past... positive number will push date into future
340:            public static final Integer DOCUMENT_SEARCH_DOC_TITLE_CREATE_DATE_DAYS_AGO = new Integer(
341:                    -30);
342:            public static final Integer DOCUMENT_SEARCH_NO_CRITERIA_CREATE_DATE_DAYS_AGO = new Integer(
343:                    0);
344:
345:            public static final List DOCUMENT_SEARCH_SEARCHABLE_DOCUMENT_STATUSES = Arrays
346:                    .asList(new KeyValue[] { new KeyValue("I", "Initiated"),
347:                            new KeyValue("R", "Enroute"),
348:                            new KeyValue("S", "Saved"),
349:                            new KeyValue("F", "Final"),
350:                            new KeyValue("A", "Approved"),
351:                            new KeyValue("X", "Canceled"),
352:                            new KeyValue("E", "Exception"),
353:                            new KeyValue("P", "Processed"),
354:                            new KeyValue("D", "Disapproved") });
355:
356:            public static final Map ACTION_LIST_COLOR_PALETTE;
357:            static {
358:                ACTION_LIST_COLOR_PALETTE = new HashMap();
359:                ACTION_LIST_COLOR_PALETTE.put("white", "#FFFFFF");
360:                ACTION_LIST_COLOR_PALETTE.put("pink", "#FFDDDE");
361:                ACTION_LIST_COLOR_PALETTE.put("orange", "#FFCC99");
362:                ACTION_LIST_COLOR_PALETTE.put("red", "#D99394");
363:                ACTION_LIST_COLOR_PALETTE.put("yellow", "#FFFF99");
364:                ACTION_LIST_COLOR_PALETTE.put("green", "#D4FF94");
365:                ACTION_LIST_COLOR_PALETTE.put("blue", "#BDD8F4");
366:                ACTION_LIST_COLOR_PALETTE.put("aqua", "#7FFFDF");
367:                ACTION_LIST_COLOR_PALETTE.put("slate", "#BDDABD");
368:                ACTION_LIST_COLOR_PALETTE.put("purple", "#DFCAFA");
369:                ACTION_LIST_COLOR_PALETTE.put("tan", "#E5E5B7");
370:            }
371:
372:            public static final String HEADER_TAG = "ROUTE_HEADER";
373:            public static final String EDEN_NAMESPACE = "EDEN";
374:            public static final String DOCTYPE_TAG = "DOCTYPE";
375:            public static final String DOC_TYPE_GROUP_DOCUMENT_SHORT_NAME = "EDENSERVICE-DOCS.DocumentTypeGroup";
376:            public static final String DOC_TYPE_DOCUMENT_SHORT_NAME = "EDENSERVICE-DOCS.DocumentType";
377:            public static final String WORKFLOW_DOCUMENT_ROOT = "EDENSERVICE-DOCS";
378:
379:            // order of these is impportant since this forms a priority according to the codes index into the string
380:            public static final String REQUEST_CODES = EdenConstants.ACTION_REQUEST_FYI_REQ
381:                    + EdenConstants.ACTION_REQUEST_ACKNOWLEDGE_REQ
382:                    + EdenConstants.ACTION_REQUEST_APPROVE_REQ
383:                    + EdenConstants.ACTION_REQUEST_COMPLETE_REQ;
384:            public static final String ACTION_CODES = EdenConstants.ACTION_TAKEN_ACKNOWLEDGED_CD
385:                    + EdenConstants.ACTION_TAKEN_APPROVED_CD
386:                    + EdenConstants.ACTION_TAKEN_COMPLETED_CD
387:                    + EdenConstants.ACTION_TAKEN_ROUTED;
388:            public static final String ROUTE_MANAGER_DRIVER_WRKGRP = "RouteManagerDriverCommandGroup";
389:            public static final int ROUTE_HEADER_INITIAL_ROUTE_LEVEL = 0;
390:            /** The initial state of a document. Only state in which a delete is allowed. */
391:            public static final String ROUTE_HEADER_INITIATED_CD = "I";
392:            public static final String ROUTE_HEADER_INITIATED_LABEL = "INITIATED";
393:
394:            /**
395:             * Default pre-approval policy code. By default pre-approval action requests are not allowed.
396:             */
397:            public static final boolean ROUTE_HEADER_DEFAULT_PRE_APPROVAL_POLICY = false;
398:            /**
399:             * Default code for the default auto approval policy code. If a document has not approve action requests and has gone through the route template, then by default the document is auto approved.
400:             */
401:            public static final boolean ROUTE_HEADER_DEFAULT_AUTO_APPROVAL_POLICY = true;
402:            public static final String ROUTE_HEADER_DEFAULT_DISAPPROVE_POLICY_LABEL = "DISAPPROVE-CANCEL";
403:            /** Default disapprove action policy code */
404:            public static final String ROUTE_HEADER_DEFAULT_DISAPPROVE_POLICY_CD = EdenConstants.ROUTE_HEADER_CANCEL_DISAPPROVE_CD;
405:            /** Document sent back to the last approver */
406:            public static final String ROUTE_HEADER_LAST_APPROVER_DISAPPROVE_CD = "A";
407:            /**
408:             * Return the document to the initiator with complete request when the document is disapproved. Document must be explicitly canceled or it will remain en_route under this policy.
409:             */
410:            public static final String ROUTE_HEADER_RETURN_INIATOR_DISAPPROVE_CD = "I";
411:            public static final String ROUTE_HEADER_CANCEL_DISAPPROVE_LABEL = "DISAPPROVE-CANCEL";
412:            /** When document disapproved, take same effect as a cancel but with a different action code */
413:            public static final String ROUTE_HEADER_CANCEL_DISAPPROVE_CD = "C";
414:            public static final String ROUTE_HEADER_DISAPPROVED_DEFAULT_COLOR = "yellow";
415:            public static final String ROUTE_HEADER_DISAPPROVED_LABEL = "DISAPPROVED";
416:            /** Document has been disapproved */
417:            public static final String ROUTE_HEADER_DISAPPROVED_CD = "D";
418:            public static final String ROUTE_HEADER_PROCESSED_LABEL = "PROCESSED";
419:            /** Document has been processed by the post processor */
420:            public static final String ROUTE_HEADER_PROCESSED_CD = "P";
421:            public static final String ROUTE_HEADER_EXCEPTION_DEFAULT_COLOR = "red";
422:            public static final String ROUTE_HEADER_EXCEPTION_LABEL = "EXCEPTION";
423:            /** Document has had an exception in routing and needs to be processed */
424:            public static final String ROUTE_HEADER_EXCEPTION_CD = "E";
425:            public static final String ROUTE_HEADER_CANCEL_LABEL = "CANCELED";
426:            /** Document has been canceled and no further action should be taken on it. */
427:            public static final String ROUTE_HEADER_CANCEL_CD = "X";
428:            public static final String ROUTE_HEADER_APPROVED_LABEL = "APPROVED";
429:            /** Document has been approved and is awaiting post processing */
430:            public static final String ROUTE_HEADER_APPROVED_CD = "A";
431:            public static final String ROUTE_HEADER_FINAL_LABEL = "FINAL";
432:            /** Document has finalized and no changes are allowed to take place to it. */
433:            public static final String ROUTE_HEADER_FINAL_CD = "F";
434:            public static final String ROUTE_HEADER_SAVED_LABEL = "SAVED";
435:            /** The document has been saved, but has not started to route. */
436:            public static final String ROUTE_HEADER_SAVED_CD = "S";
437:            public static final String ROUTE_HEADER_ENROUTE_LABEL = "ENROUTE";
438:            /** The document is currently being routed. */
439:            public static final String ROUTE_HEADER_ENROUTE_CD = "R";
440:
441:            /** Actions Taken Constants **/
442:            public static final String ACTION_TAKEN_SU_ACTION_REQUEST_ACKNOWLEDGED_CD = "k";
443:            public static final String ACTION_TAKEN_SU_ACTION_REQUEST_ACKNOWLEDGED = "SUPER USER ACTION REQUEST ACKNOWLEDGED";
444:            public static final String ACTION_TAKEN_SU_ACTION_REQUEST_FYI_CD = "f";
445:            public static final String ACTION_TAKEN_SU_ACTION_REQUEST_FYI = "SUPER USER ACTION REQUEST FYI";
446:            public static final String ACTION_TAKEN_SU_ACTION_REQUEST_COMPLETED_CD = "m";
447:            public static final String ACTION_TAKEN_SU_ACTION_REQUEST_COMPLETED = "SUPER USER ACTION REQUEST COMPLETED";
448:            public static final String ACTION_TAKEN_SU_ACTION_REQUEST_APPROVED_CD = "v";
449:            public static final String ACTION_TAKEN_SU_ACTION_REQUEST_APPROVED = "SUPER USER ACTION REQUEST APPROVED";
450:            public static final String ACTION_TAKEN_SU_ROUTE_LEVEL_APPROVED_CD = "r";
451:            public static final String ACTION_TAKEN_SU_ROUTE_LEVEL_APPROVED = "SUPER USER ROUTE LEVEL APPROVED";
452:            public static final String ACTION_TAKEN_SU_RETURNED_TO_PREVIOUS_CD = "z";
453:            public static final String ACTION_TAKEN_SU_RETURNED_TO_PREVIOUS = "SUPER USER RETURNED TO PREVIOUS ROUTE LEVEL";
454:            public static final String ACTION_TAKEN_SU_DISAPPROVED_CD = "d";
455:            public static final String ACTION_TAKEN_SU_DISAPPROVED = "SUPER USER DISAPPROVED";
456:            public static final String ACTION_TAKEN_SU_CANCELED_CD = "c";
457:            public static final String ACTION_TAKEN_SU_CANCELED = "SUPER USER CANCELED";
458:            public static final String ACTION_TAKEN_SU_APPROVED_CD = "a";
459:            public static final String ACTION_TAKEN_SU_APPROVED = "SUPER USER APPROVED";
460:            public static final String ACTION_TAKEN_BLANKET_APPROVE_CD = "B";
461:            public static final String ACTION_TAKEN_BLANKET_APPROVE = "BLANKET APPROVED";
462:            public static final String ACTION_TAKEN_FYI_CD = "F";
463:            public static final String ACTION_TAKEN_FYI = "FYI";
464:            public static final String ACTION_TAKEN_ADHOC_CD = "H";
465:            /** User has generated an action request to another user */
466:            public static final String ACTION_TAKEN_ADHOC = "ADHOC ROUTED";
467:            public static final String ACTION_TAKEN_ADHOC_REVOKED_CD = "V";
468:            /** AdHoc Request has been revoked */
469:            public static final String ACTION_TAKEN_ADHOC_REVOKED = "ADHOC REVOKED";
470:            public static final String ACTION_TAKEN_SAVED_CD = "S";
471:            /** Document has been saved by the user for later work */
472:            public static final String ACTION_TAKEN_SAVED = "SAVED";
473:            public static final String ACTION_TAKEN_CANCELED_CD = "X";
474:            /** Document has been canceled. */
475:            public static final String ACTION_TAKEN_CANCELED = "CANCELED";
476:            public static final String ACTION_TAKEN_DENIED_CD = "D";
477:            /** Document has been denied. */
478:            public static final String ACTION_TAKEN_DENIED = "DISAPPROVED";
479:            public static final String ACTION_TAKEN_ACKNOWLEDGED_CD = "K";
480:            /** Document has been opened by the designated recipient. */
481:            public static final String ACTION_TAKEN_ACKNOWLEDGED = "ACKNOWLEDGED";
482:            public static final String ACTION_TAKEN_COMPLETED_CD = "C";
483:            /** Document has been completed as requested. */
484:            public static final String ACTION_TAKEN_COMPLETED = "COMPLETED";
485:            public static final String ACTION_TAKEN_ROUTED_CD = "O";
486:            /** Document has been completed as requested. */
487:            public static final String ACTION_TAKEN_ROUTED = "ROUTED";
488:            public static final String ACTION_TAKEN_APPROVED_CD = "A";
489:            /** The document has been approved. */
490:            public static final String ACTION_TAKEN_APPROVED = "APPROVED";
491:            /** The document is being returned to a previous routelevel **/
492:            public static final String ACTION_TAKEN_RETURNED_TO_PREVIOUS_CD = "Z";
493:            public static final String ACTION_TAKEN_RETURNED_TO_PREVIOUS = "RETURNED TO PREVIOUS ROUTE LEVEL";
494:            /** The document has non-routed activity against it that is recorded in the route log **/
495:            public static final String ACTION_TAKEN_LOG_DOCUMENT_ACTION_CD = "R";
496:            public static final String ACTION_TAKEN_LOG_DOCUMENT_ACTION = "LOG MESSAGE";
497:            /** The document is routed to a workgroup and a user in the workgroup wants to take authority from the workgroup **/
498:            public static final String ACTION_TAKEN_TAKE_WORKGROUP_AUTHORITY_CD = "w";
499:            public static final String ACTION_TAKEN_TAKE_WORKGROUP_AUTHORITY = "WORKGROUP AUTHORITY TAKEN";
500:            /** The person who took workgroup authority is releasing it **/
501:            public static final String ACTION_TAKEN_RELEASE_WORKGROUP_AUTHORITY_CD = "y";
502:            public static final String ACTION_TAKEN_RELEASE_WORKGROUP_AUTHORITY = "WORKGROUP AUTHORITY RELEASED";
503:            /** The document is moved **/
504:            public static final String ACTION_TAKEN_MOVE_CD = "M";
505:            public static final String ACTION_TAKEN_MOVE = "MOVED";
506:
507:            /** Route Level type constants FlexRM or Route Module **/
508:            public static final String ROUTE_LEVEL_FLEX_RM = "FR";
509:            public static final String ROUTE_LEVEL_ROUTE_MODULE = "RM";
510:            public static final String ROUTE_LEVEL_METHOD_NAME_ROUTE_MODULE = "Route Module";
511:            public static final String ROUTE_LEVEL_METHOD_NAME_FLEX_RM = "Rule Template";
512:            /** No route module available for this route level * */
513:            public static final String ROUTE_LEVEL_NO_ROUTE_MODULE = "NONE";
514:            /**
515:             * The route level value for the AdHoc route level. AdHoc like Exception route level does not have a route module and is processed directly be the engine.
516:             */
517:            public static final int ADHOC_ROUTE_LEVEL = 0;
518:            public static final String ADHOC_ROUTE_LEVEL_NAME = "Adhoc Routing";
519:            public static final String PARALLEL_ADHOC_ROUTE_MODULE_NAME = "edu.iu.uis.eden.routemodule.ParallelAdHocRouteModule";
520:
521:            /**
522:             * The route level value for the Exception route level. The Exception route level does not have a route module and the core engine processes these requests since they have special rules, such as an exception request can not itself throw an exception request.
523:             */
524:            public static final int EXCEPTION_ROUTE_LEVEL = -1;
525:            public static final String EXCEPTION_ROUTE_MODULE_NAME = "edu.iu.uis.eden.routemodule.ExceptionRouteModule";
526:            public static final String EXCEPTION_ROUTE_LEVEL_NAME = "Exception Routing";
527:            public static final int INVALID_ROUTE_LEVEL = -2;
528:            /** Routing should process the associated ActionRequests in sequence */
529:            public static final String ROUTE_LEVEL_SEQUENCE = ActivationTypeEnum.SEQUENTIAL
530:                    .getCode();
531:            public static final String ROUTE_LEVEL_SEQUENCE_LABEL = ActivationTypeEnum.SEQUENTIAL
532:                    .getLabel();
533:            /** Routing should process the associated ActionRequests in parallel */
534:            public static final String ROUTE_LEVEL_PARALLEL = ActivationTypeEnum.PARALLEL
535:                    .getCode();
536:            public static final String ROUTE_LEVEL_PARALLEL_LABEL = ActivationTypeEnum.PARALLEL
537:                    .getLabel();
538:
539:            public static final String ROUTE_LEVEL_PARALLEL_NAME = ActivationTypeEnum.PARALLEL
540:                    .getName();
541:            public static final String ROUTE_LEVEL_SEQUENTIAL_NAME = ActivationTypeEnum.SEQUENTIAL
542:                    .getName();
543:
544:            public static final String APPROVE_POLICY_FIRST_APPROVE = "F";
545:            public static final String APPROVE_POLICY_ALL_APPROVE = "A";
546:
547:            public static final String APPROVE_POLICY_ALL_APPROVE_LABEL = "ALL";
548:            public static final String APPROVE_POLICY_FIRST_APPROVE_LABEL = "FIRST";
549:
550:            public static final boolean ACTION_REQUEST_IGNORE_PREV_ACTION = true;
551:            public static final boolean ACTION_REQUEST_PREV_ACTION_AWARE = false;
552:            /** Action Request is for a workgroup. */
553:            public static final String ACTION_REQUEST_WORKGROUP_RECIPIENT_CD = "W";
554:            /** Action Request is for a user only */
555:            public static final String ACTION_REQUEST_USER_RECIPIENT_CD = "U";
556:            /** Action Request is for a role */
557:            public static final String ACTION_REQUEST_ROLE_RECIPIENT_CD = "R";
558:            /** Priority used if no priority is specified */
559:            public static final int ACTION_REQUEST_DEFAULT_PRIORITY = 1;
560:
561:            /** Values for Rule template options   */
562:            public static final String RULE_INSTRUCTIONS_CD = "I";
563:            public static final String ACTION_REQUEST_DEFAULT_CD = "D";
564:
565:            /**
566:             * Priority level that indicates an ad hoc request. If the priority is above this value, then the request is considered an ad hoc request and is processed accordingly. This is used most often when an ad hoc request must follow the end of a route level. For example, if a user wants the ad hoc to happen after all requests at route level 3 have been processed, but before any requests at route level 4. This is also the upper, exclusive bound for normal request priorities.
567:             */
568:            public static final int ACTION_REQUEST_ADHOC_PRIORITY = 1000;
569:            public static final String ACTION_REQUEST_DONE_STATE_LABEL = "DONE";
570:            /** code to indicate the request has been satisfied */
571:            public static final String ACTION_REQUEST_DONE_STATE = "D";
572:            public static final String ACTION_REQUEST_ACTIVATED_LABEL = "ACTIVATED";
573:            /** Code to indicate the request is currently active */
574:            public static final String ACTION_REQUEST_ACTIVATED = "A";
575:            public static final String ACTION_REQUEST_INITIALIZED_LABEL = "INITIALIZED";
576:            /** Code to indicate the request has not been activated */
577:            public static final String ACTION_REQUEST_INITIALIZED = "I";
578:            public static final String ACTION_REQUEST_CANCEL_REQ_LABEL = "CANCEL";
579:            /**
580:             * Requested action is to Cancel document
581:             */
582:            public static final String ACTION_REQUEST_CANCEL_REQ = "X";
583:            public static final String ACTION_REQUEST_ACKNOWLEDGE_REQ_LABEL = "ACKNOWLEDGE";
584:            /**
585:             * Requested action is ACKKNOWLEDGE. This action does not hold up routing, but action request will not be marked DONE until an ACKNOWLEDGE actiontaken is recorded.
586:             */
587:            public static final String ACTION_REQUEST_ACKNOWLEDGE_REQ = "K";
588:            public static final String ACTION_REQUEST_FYI_REQ_LABEL = "FYI";
589:            /**
590:             * The action is an FYI notification only. This action request is marked DONE as soon as it is activated.
591:             */
592:            public static final String ACTION_REQUEST_FYI_REQ = "F";
593:            public static final String ACTION_REQUEST_APPROVE_REQ_LABEL = "APPROVE";
594:            /** Requested action is to approve the document. */
595:            public static final String ACTION_REQUEST_APPROVE_REQ = "A";
596:            public static final String ACTION_REQUEST_COMPLETE_REQ_LABEL = "COMPLETE";
597:            /** Requested action is to complete the document, however that is defined by the application. */
598:            public static final String ACTION_REQUEST_COMPLETE_REQ = "C";
599:            public static final String ACTION_REQUEST_DISAPPROVE_LABEL = "DISAPPROVE";
600:
601:            public static final String ACTION_REQUEST_TO_BE_GENERATED = "-1";
602:            /** Largest value allowed for a workgroupID. Any value larger is assumed to be a sequenceId of a user */
603:            public static final int WORKGROUP_MAX_WORKGROUP_ID = 100000000;
604:            /** Last approval taken applies to entire request */
605:            //public static final String WORKGROUP_LAST_APPROVAL = "L";
606:            /** First action taken applies to entire request */
607:            //public static final String WORKGROUP_FIRST_ACTION = "F";
608:            /** Personal workgroup code */
609:            //public static final String WORKGROUP_PERSONAL = "P";
610:            public static final Map ACTION_REQUEST_CODES = new HashMap();
611:            static {
612:                ACTION_REQUEST_CODES.put(ACTION_REQUEST_COMPLETE_REQ,
613:                        ACTION_REQUEST_COMPLETE_REQ_LABEL);
614:                ACTION_REQUEST_CODES.put(ACTION_REQUEST_APPROVE_REQ,
615:                        ACTION_REQUEST_APPROVE_REQ_LABEL);
616:                ACTION_REQUEST_CODES.put(ACTION_REQUEST_ACKNOWLEDGE_REQ,
617:                        ACTION_REQUEST_ACKNOWLEDGE_REQ_LABEL);
618:                ACTION_REQUEST_CODES.put(ACTION_REQUEST_FYI_REQ,
619:                        ACTION_REQUEST_FYI_REQ_LABEL);
620:            }
621:
622:            /** Route Queue Priorities */
623:            public static final Integer ROUTE_QUEUE_DEFAULT_PRIORITY = new Integer(
624:                    5);
625:            public static final Integer ROUTE_QUEUE_BLANKET_APPROVE_PRIORITY = new Integer(
626:                    4);
627:            public static final Integer ROUTE_QUEUE_RERESOLVE_PRIORITY = new Integer(
628:                    10);
629:            public static final Integer ROUTE_QUEUE_REQUEUE_PRIORITY = new Integer(
630:                    10);
631:            public static final Integer ROUTE_QUEUE_EMAIL_PRIORITY = new Integer(
632:                    20);
633:            public static final Integer ROUTE_QUEUE_RULE_CACHE_PRIORITY = new Integer(
634:                    0);
635:            public static final Integer ROUTE_QUEUE_EXCEPTION_PRIORITY = new Integer(
636:                    21);
637:            public static final Integer ROUTE_QUEUE_UPGRADE_PRIORITY = new Integer(
638:                    30);
639:
640:            public static final String ROUTE_QUEUE_EXCEPTION = "E";
641:            public static final String ROUTE_QUEUE_ROUTING = "R";
642:            public static final String ROUTE_QUEUE_QUEUED = "Q";
643:            public static final String ROUTE_QUEUE_EXCEPTION_LABEL = "EXCEPTION";
644:            public static final String ROUTE_QUEUE_ROUTING_LABEL = "ROUTING";
645:            public static final String ROUTE_QUEUE_QUEUED_LABEL = "QUEUED";
646:
647:            public static final String RULE_RESPONSIBILITY_WORKFLOW_ID = "F";
648:            public static final String RULE_RESPONSIBILITY_WORKGROUP_ID = "G";
649:            public static final String RULE_RESPONSIBILITY_ROLE_ID = "R";
650:
651:            public static final String DEFAULT_RULE_DOCUMENT_NAME = "EDENSERVICE-DOCS.RuleDocument";
652:
653:            public static class Sorting {
654:                public static final String SORT_COLUMN_SEQUENCES = "columnSortSequences";
655:                public static final String SORT_SEQUENCE_ASC = "ASCENDING";
656:                public static final String SORT_SEQUENCE_DSC = "DESCENDING";
657:                public static final String SORT_DOC_ID = "docId";
658:                public static final String SORT_DOC_ID_NUMBER = "docIdNumber";
659:                public static final String SORT_RULE_ID = "ruleId";
660:                public static final String SORT_RULE_ID_NUMBER = "ruleIdNumber";
661:                public static final String SORT_DOC_TITLE = "docTitle";
662:                public static final String SORT_DOC_TYPE_ID = "docTypeId";
663:                public static final String SORT_DOC_TYPE_ID_NUMBER = "docTypeIdNumber";
664:                public static final String SORT_DOC_TYPE_NAME = "docTypeName";
665:                public static final String SORT_DOC_TYPE_FULL_NAME = "docTypeFullName";
666:                public static final String SORT_DOC_TYPE_LABEL = "docTypeLabel";
667:                public static final String SORT_ACTION_REQUESTED = "actionRequested";
668:                public static final String SORT_ACTION_REQUESTED_LABEL = "actionRequestedLabel";
669:                public static final String SORT_CHART = "chart";
670:                public static final String SORT_ORG = "org";
671:                public static final String SORT_REVIEWERS_ALL_NAMES = "reviewersAllNames";
672:                public static final String SORT_REVIEWER_EMPLY_ID = "reviewerEmplyId";
673:                public static final String SORT_REVIEWER_NETWORK_ID = "reviewerNetworkId";
674:                public static final String SORT_REVIEWER_FULL_NAME = "reviewerFullName";
675:                public static final String SORT_ACTIVE_IND = "activeIndicator";
676:                public static final String SORT_ACTIVE_IND_LABEL = "activeIndicatorLabel";
677:                public static final String SORT_DOC_TYPE_GROUP_ID = "docTypeGroupId";
678:                public static final String SORT_DOC_TYPE_GROUP_ID_NUMBER = "docTypeGroupIdNumber";
679:                public static final String SORT_DOC_TYPE_GROUP_NAME = "docTypeGroupName";
680:                public static final String SORT_DOC_TYPE_GROUP_FULL_NAME = "docTypeGroupFullName";
681:                public static final String SORT_DOC_TYPE_GROUP_PARENT_NAME = "docTypeGroupParentName";
682:                public static final String SORT_DOC_TYPE_GROUP_PARENT_FULL_NAME = "docTypeGroupParentFullName";
683:                public static final String SORT_DOC_TYPE_GROUP_LABEL = "docTypeGroupLabel";
684:                public static final String SORT_FISCAL_UPAA = "fiscalUpaa";
685:                public static final String SORT_FISCAL_UPAA_LABEL = "fiscalUpaaLabel";
686:                public static final String SORT_POSITION_TYPE = "positionType";
687:                public static final String SORT_POSITION_TYPE_LABEL = "positionTypeLabel";
688:                public static final String SORT_SALARY_PLAN = "salaryPlanSort";
689:                public static final String SORT_DELEGATES_ALL = "delegatesAll";
690:                public static final String SORT_DELEGATE_EMPLY_ID = "delegateEmplyId";
691:                public static final String SORT_DELEGATE_NETWORK_ID = "delegateNetworkId";
692:                public static final String SORT_DELEGATE_FULL_NAME = "delegateFullName";
693:                public static final String SORT_ROUTE_MODULE_NAME = "routeModuleName";
694:                public static final String SORT_WORKGROUP_ID = "workGroupId";
695:                public static final String SORT_WORKGROUP_ID_NUMBER = "workGroupIdNumber";
696:                public static final String SORT_WORKGROUP_NAME = "workGroupName";
697:                public static final String SORT_WORKGROUP_FULL_NAME = "workGroupFullName";
698:                public static final String SORT_USER_FULL_NAME = "userFullName";
699:                public static final String SORT_USER_NETWORK_ID = "userNetworkId";
700:                public static final String SORT_MONITOR_ID_NUMBER = "monitorId";
701:                public static final String SORT_MONITOR_DOC_TYPE = "monitorDocType";
702:                public static final String SORT_MONITOR_TYPE = "monitorType";
703:                public static final String SORT_MONITOR_TIMER = "monitorTimer";
704:                public static final String SORT_MONITOR_ACTION_TYPE = "monitorActionType";
705:            }
706:
707:            public static final String WORKGROUP = "workgroup";
708:            public static final String PERSON = "person";
709:            public static final String ROLE = "role";
710:
711:            public static final String DOC_HANDLER_RETURN_URL = "docHandlerReturnUrl";
712:            //document operation constants
713:            public static final String ADD = "add";
714:            public static final String NOOP = "noop";
715:            public static final String UPDATE = "update";
716:            public static final String DELETE = "delete";
717:            public static final String TIMESTAMP_DATE_FORMAT_PATTERN = "yyyy-mm-dd hh:mm:ss.fffffffff";
718:            public static final String TIMESTAMP_DATE_FORMAT_PATTERN2 = "MM/dd/yyyy hh:mm a";
719:
720:            public static final Map ACTION_REQUEST_RECIPIENT_TYPE;
721:            static {
722:                ACTION_REQUEST_RECIPIENT_TYPE = new HashMap();
723:                ACTION_REQUEST_RECIPIENT_TYPE.put(
724:                        EdenConstants.ACTION_REQUEST_WORKGROUP_RECIPIENT_CD,
725:                        EdenConstants.WORKGROUP);
726:                ACTION_REQUEST_RECIPIENT_TYPE.put(
727:                        EdenConstants.ACTION_REQUEST_USER_RECIPIENT_CD,
728:                        EdenConstants.PERSON);
729:                ACTION_REQUEST_RECIPIENT_TYPE.put(
730:                        EdenConstants.ACTION_REQUEST_ROLE_RECIPIENT_CD,
731:                        EdenConstants.ROLE);
732:            }
733:
734:            public static final Map ACTION_REQUEST_CD;
735:            static {
736:                ACTION_REQUEST_CD = new HashMap();
737:                ACTION_REQUEST_CD.put(
738:                        EdenConstants.ACTION_REQUEST_ACKNOWLEDGE_REQ,
739:                        EdenConstants.ACTION_REQUEST_ACKNOWLEDGE_REQ_LABEL);
740:                ACTION_REQUEST_CD.put(EdenConstants.ACTION_REQUEST_APPROVE_REQ,
741:                        EdenConstants.ACTION_REQUEST_APPROVE_REQ_LABEL);
742:                ACTION_REQUEST_CD.put(
743:                        EdenConstants.ACTION_REQUEST_COMPLETE_REQ,
744:                        EdenConstants.ACTION_REQUEST_COMPLETE_REQ_LABEL);
745:                ACTION_REQUEST_CD.put(EdenConstants.ACTION_REQUEST_FYI_REQ,
746:                        EdenConstants.ACTION_REQUEST_FYI_REQ_LABEL);
747:            }
748:
749:            public static final Map ACTION_REQUEST_STATUS;
750:            static {
751:                ACTION_REQUEST_STATUS = new HashMap();
752:                ACTION_REQUEST_STATUS.put(
753:                        EdenConstants.ACTION_REQUEST_ACTIVATED,
754:                        EdenConstants.ACTIVE_LABEL);
755:                ACTION_REQUEST_STATUS.put(
756:                        EdenConstants.ACTION_REQUEST_INITIALIZED,
757:                        EdenConstants.ACTION_REQUEST_INITIALIZED_LABEL);
758:                ACTION_REQUEST_STATUS.put(
759:                        EdenConstants.ACTION_REQUEST_DONE_STATE,
760:                        EdenConstants.ACTION_REQUEST_DONE_STATE_LABEL);
761:            }
762:
763:            public static final Map ACTION_TAKEN_CD;
764:            static {
765:                ACTION_TAKEN_CD = new HashMap();
766:                ACTION_TAKEN_CD.put(EdenConstants.ACTION_TAKEN_ACKNOWLEDGED_CD,
767:                        EdenConstants.ACTION_TAKEN_ACKNOWLEDGED);
768:                ACTION_TAKEN_CD.put(EdenConstants.ACTION_TAKEN_ADHOC_CD,
769:                        EdenConstants.ACTION_TAKEN_ADHOC);
770:                ACTION_TAKEN_CD.put(
771:                        EdenConstants.ACTION_TAKEN_ADHOC_REVOKED_CD,
772:                        EdenConstants.ACTION_TAKEN_ADHOC_REVOKED);
773:                ACTION_TAKEN_CD.put(EdenConstants.ACTION_TAKEN_APPROVED_CD,
774:                        EdenConstants.ACTION_TAKEN_APPROVED);
775:                ACTION_TAKEN_CD.put(
776:                        EdenConstants.ACTION_TAKEN_BLANKET_APPROVE_CD,
777:                        EdenConstants.ACTION_TAKEN_BLANKET_APPROVE);
778:                ACTION_TAKEN_CD.put(EdenConstants.ACTION_TAKEN_CANCELED_CD,
779:                        EdenConstants.ACTION_TAKEN_CANCELED);
780:                ACTION_TAKEN_CD.put(EdenConstants.ACTION_TAKEN_COMPLETED_CD,
781:                        EdenConstants.ACTION_TAKEN_COMPLETED);
782:                ACTION_TAKEN_CD.put(EdenConstants.ACTION_TAKEN_DENIED_CD,
783:                        EdenConstants.ACTION_TAKEN_DENIED);
784:                ACTION_TAKEN_CD.put(EdenConstants.ACTION_TAKEN_FYI_CD,
785:                        EdenConstants.ACTION_TAKEN_FYI);
786:                ACTION_TAKEN_CD.put(EdenConstants.ACTION_TAKEN_SAVED_CD,
787:                        EdenConstants.ACTION_TAKEN_SAVED);
788:                ACTION_TAKEN_CD.put(
789:                        EdenConstants.ACTION_TAKEN_RETURNED_TO_PREVIOUS_CD,
790:                        EdenConstants.ACTION_TAKEN_RETURNED_TO_PREVIOUS);
791:                ACTION_TAKEN_CD.put(
792:                        EdenConstants.ACTION_TAKEN_LOG_DOCUMENT_ACTION_CD,
793:                        EdenConstants.ACTION_TAKEN_LOG_DOCUMENT_ACTION);
794:                ACTION_TAKEN_CD.put(EdenConstants.ACTION_TAKEN_SU_APPROVED_CD,
795:                        EdenConstants.ACTION_TAKEN_SU_APPROVED);
796:                ACTION_TAKEN_CD.put(EdenConstants.ACTION_TAKEN_SU_CANCELED_CD,
797:                        EdenConstants.ACTION_TAKEN_SU_CANCELED);
798:                ACTION_TAKEN_CD.put(
799:                        EdenConstants.ACTION_TAKEN_SU_DISAPPROVED_CD,
800:                        EdenConstants.ACTION_TAKEN_SU_DISAPPROVED);
801:                ACTION_TAKEN_CD.put(
802:                        EdenConstants.ACTION_TAKEN_SU_ROUTE_LEVEL_APPROVED_CD,
803:                        EdenConstants.ACTION_TAKEN_SU_ROUTE_LEVEL_APPROVED);
804:                ACTION_TAKEN_CD
805:                        .put(
806:                                EdenConstants.ACTION_TAKEN_SU_ACTION_REQUEST_APPROVED_CD,
807:                                EdenConstants.ACTION_TAKEN_SU_ACTION_REQUEST_APPROVED);
808:                ACTION_TAKEN_CD.put(
809:                        EdenConstants.ACTION_TAKEN_SU_RETURNED_TO_PREVIOUS_CD,
810:                        EdenConstants.ACTION_TAKEN_SU_RETURNED_TO_PREVIOUS);
811:                ACTION_TAKEN_CD.put(
812:                        EdenConstants.ACTION_TAKEN_TAKE_WORKGROUP_AUTHORITY_CD,
813:                        EdenConstants.ACTION_TAKEN_TAKE_WORKGROUP_AUTHORITY);
814:                ACTION_TAKEN_CD.put(EdenConstants.ACTION_TAKEN_MOVE_CD,
815:                        EdenConstants.ACTION_TAKEN_MOVE);
816:            }
817:
818:            public static final String DOCUMENT_CONTENT_ELEMENT = "documentContent";
819:            public static final String ATTRIBUTE_CONTENT_ELEMENT = "attributeContent";
820:            public static final String SEARCHABLE_CONTENT_ELEMENT = "searchableContent";
821:            public static final String APPLICATION_CONTENT_ELEMENT = "applicationContent";
822:            public static final String FLEXDOC_ELEMENT = "flexdoc";
823:            public static final String DEFAULT_DOCUMENT_CONTENT = "<"
824:                    + DOCUMENT_CONTENT_ELEMENT + "/>";
825:            public static final String DEFAULT_DOCUMENT_CONTENT2 = "<"
826:                    + DOCUMENT_CONTENT_ELEMENT + "></"
827:                    + DOCUMENT_CONTENT_ELEMENT + ">";
828:
829:            public static final String DOCUMENT_CONTENT_VERSION_1 = "1";
830:            public static final String DOCUMENT_CONTENT_VERSION_2 = "2";
831:
832:            public static final String XML_FILE_NOT_FOUND = "general.error.filenotfound";
833:            public static final String XML_PARSE_ERROR = "general.error.parsexml";
834:
835:            public static final String RULE_ATTRIBUTE_TYPE = "RuleAttribute";
836:            public static final String SEARCHABLE_ATTRIBUTE_TYPE = "SearchableAttribute";
837:            public static final String RULE_XML_ATTRIBUTE_TYPE = "RuleXmlAttribute";
838:            public static final String SEARCHABLE_XML_ATTRIBUTE_TYPE = "SearchableXmlAttribute";
839:            public static final String EXTENSION_ATTRIBUTE_TYPE = "ExtensionAttribute";
840:            public static final String EMAIL_ATTRIBUTE_TYPE = "EmailAttribute";
841:            public static final String NOTE_ATTRIBUTE_TYPE = "NoteAttribute";
842:            public static final String ACTION_LIST_ATTRIBUTE_TYPE = "ActionListAttribute";
843:            public static final String RULE_VALIDATION_ATTRIBUTE_TYPE = "RuleValidationAttribute";
844:            public static final String SEARCH_GENERATOR_ATTRIBUTE_TYPE = "DocumentSearchGeneratorAttribute";
845:            public static final String SEARCH_RESULT_PROCESSOR_ATTRIBUTE_TYPE = "DocumentSearchResultProcessorAttribute";
846:            public static final String SEARCH_RESULT_XML_PROCESSOR_ATTRIBUTE_TYPE = "DocumentSearchXMLResultProcessorAttribute";
847:
848:            public static final String DAILY = "daily";
849:            public static final String WEEKLY = "weekly";
850:            public static final Long EMAIL_QUEUE_ENTRY_ROUTE_HEADER_ID = new Long(
851:                    -1);
852:            public static final String ACTIONLIST_EMAIL_TEST_ADDRESS = "ActionList.EmailNotification.TestAddress";
853:            public static final int MAX_ANNOTATION_LENGTH = 2000;
854:            public static final String XML_FILE_PARSE_ERROR = "general.error.parsexml";
855:
856:            public static final Long MACHINE_GENERATED_RESPONSIBILITY_ID = new Long(
857:                    0);
858:            public static final Long ADHOC_REQUEST_RESPONSIBILITY_ID = new Long(
859:                    -1);
860:            public static final Long EXCEPTION_REQUEST_RESPONSIBILITY_ID = new Long(
861:                    -2);
862:            public static final Long SAVED_REQUEST_RESPONSIBILITY_ID = new Long(
863:                    -3);
864:
865:            public static final int DEFAULT_WEB_SERVICE_RETRY = 1;
866:
867:            public static final String PRIMARY_PROCESS_NAME = "PRIMARY";
868:            public static final String PRIMARY_BRANCH_NAME = "PRIMARY";
869:
870:            // Document type versions
871:            public static final String ROUTING_VERSION_ROUTE_LEVEL = "1";
872:            public static final String ROUTING_VERSION_NODAL = "2";
873:            public static final String CURRENT_ROUTING_VERSION = ROUTING_VERSION_NODAL;
874:
875:            // Document and Action Request versions
876:            public static final int DOCUMENT_VERSION_ROUTE_LEVEL = 0;
877:            public static final int DOCUMENT_VERSION_NODAL = 1;
878:            public static final int CURRENT_DOCUMENT_VERSION = DOCUMENT_VERSION_NODAL;
879:
880:            public static final String EDL_ATTRIBUTE_GLOBAL_ERROR_KEY = "global";
881:            public static final String POST_PROCESSOR_FAILURE_MESSAGE = "PostProcessor failed to process document: ";
882:
883:            public static final List STANDARD_FORMATS = Arrays
884:                    .asList(new ExportFormat[] { ExportFormat.XML });
885:
886:            public static final String DEFAULT_CONFIG_LOCATION_PARAM = "default.config.location";
887:            public static final String DEFAULT_APPLICATION_CONFIG_LOCATION = "classpath:META-INF/workflow.xml";
888:            public static final String DEFAULT_SERVER_CONFIG_LOCATION = "classpath:META-INF/server-workflow.xml";
889:            public static final String DEFAULT_GLOBAL_CONFIG_LOCATION = "classpath:META-INF/kew-config-defaults.xml";
890:            public static final String ADDITIONAL_CONFIG_LOCATIONS_PARAM = "additional.config.locations";
891:
892:            // client protocols
893:            public static final String WEBSERVICE_CLIENT_PROTOCOL = "webservice";
894:            public static final String LOCAL_CLIENT_PROTOCOL = "local";
895:            public static final String EMBEDDED_CLIENT_PROTOCOL = "embedded";
896:            public static final String RMI_CLIENT_PROTOCOL = "rmi";
897:            public static final String SPRING_INVOKER_CLIENT_PROTOCOL = "springInvoker";
898:
899:            public static final Set CLIENT_PROTOCOLS = new HashSet();
900:            static {
901:                CLIENT_PROTOCOLS.add(LOCAL_CLIENT_PROTOCOL);
902:                CLIENT_PROTOCOLS.add(EMBEDDED_CLIENT_PROTOCOL);
903:                CLIENT_PROTOCOLS.add(WEBSERVICE_CLIENT_PROTOCOL);
904:                CLIENT_PROTOCOLS.add(RMI_CLIENT_PROTOCOL);
905:                // TODO spring invoker not currently supported
906:                //CLIENT_PROTOCOLS.add(SPRING_INVOKER_CLIENT_PROTOCOL);
907:            }
908:
909:            // system branch state keys
910:            public static final String POST_PROCESSOR_PROCESSED_KEY = "System.PostProcessorProcessed";
911:            public static final String POST_PROCESSOR_FINAL_KEY = "System.PostProcessorFinal";
912:
913:            // custom http header keys
914:            public static final String DIGITAL_SIGNATURE_HEADER = "KEW_DIGITAL_SIGNATURE";
915:            public static final String KEYSTORE_ALIAS_HEADER = "KEW_KEYSTORE_ALIAS";
916:
917:            public static final int DEFAULT_TRANSACTION_TIMEOUT_SECONDS = 3600;
918:            public static final int MAX_RETURNED_ROWS = 1000;
919:
920:            public static final String ROUTE_QUEUE_FILTER_SUFFIX = "Filter";
921:
922:            public static final String HTML_NON_BREAKING_SPACE = "&nbsp;";
923:
924:            public static final String LEGACY_DEFAULT_WORKGROUP_TYPE = "W";
925:
926:            public static final String SIMPLE_DOCUMENT_ACTIONS_SECURITY = "simpleDocumentActionsService.security";
927:            public static final String DAILY_EMAIL_CRON_EXPRESSION = "dailyEmail.cronExpression";
928:            public static final String WEEKLY_EMAIL_CRON_EXPRESSION = "weeklyEmail.cronExpression";
929:            public static final String DAILY_EMAIL_ACTIVE = "dailyEmail.active";
930:            public static final String WEEKLY_EMAIL_ACTIVE = "weeklyEmail.active";
931:
932:        }
933:
934:        /*
935:         * Copyright 2003 The Trustees of Indiana University. All rights reserved. This file is part of the EDEN software package. For license information, see the LICENSE file in the top level directory of the EDEN source distribution.
936:         */
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.