001: /*
002: * Copyright 2005-2006 The Kuali Foundation.
003: *
004: *
005: * Licensed under the Educational Community License, Version 1.0 (the "License");
006: * you may not use this file except in compliance with the License.
007: * You may obtain a copy of the License at
008: *
009: * http://www.opensource.org/licenses/ecl1.php
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package edu.iu.uis.eden.services;
018:
019: import java.util.HashMap;
020:
021: /**
022: * A random assortment of constants.
023: *
024: * TODO shouldn't these be integrated into EdenConstants? Seems that many of these are no
025: * longer being used?
026: *
027: * @author rkirkend
028: */
029: public class ServiceConstants {
030:
031: public static final HashMap ACTION_REQUESTED_MAP;
032: public static final HashMap PARTY_TYPE_MAP;
033:
034: static {
035: HashMap map = new HashMap();
036: map.put("A", "Approve");
037: map.put("C", "Complete");
038: map.put("K", "Acknowledge");
039: map.put("F", "FYI");
040: ACTION_REQUESTED_MAP = map;
041: }
042:
043: static {
044: HashMap map = new HashMap();
045: map.put("U", "User");
046: map.put("W", "Workgroup");
047: PARTY_TYPE_MAP = map;
048: }
049:
050: public static final String APP_RESOURCE_PREKEY = "edenDocuments.";
051: public static final String APPROVE = "Approve Document";
052: public static final String DISAPPROVE = "Disapprove Document";
053: public static final String CANCEL = "Cancel Document";
054: public static final String COMPLETE = "Complete Document";
055: public static final String ADHOC = "Adhoc Route Document";
056: public static final String FYI = "OK";
057: public static final String ACKNOWLEDGE = "Acknowledge";
058: public static final String LAST_PAGE = "lastPage";
059: public static final String DOCUMENT_SESSION_NAME = "documentInSession";
060: public static final String DT_MONITOR_DOCUMENT_SESSION_NAME = ".docTypeMonitorDocumentInSession";
061: public static final String WORKGROUP_DOCUMENT_SESSION_NAME = ".workGroupDocumentInSession";
062: public static final String DOCUMENT_DOCUMENT_SESSION_NAME = ".documentDocumentInSession";
063: public static final String DOCUMENT_GROUP_DOCUMENT_SESSION_NAME = ".documentGroupDocumentInSession";
064: public static final String BASE_DOCUMENT_SESSION_NAME = ".baseDocumentInSession";
065: public static final String HRMS_DOCUMENT_SESSION_NAME = ".hrmsDocumentInSession";
066: public static final String FISCAL_UPPA_DOCUMENT_SESSION_NAME = ".fiscalUppaInSession";
067: public static final String SAVE_LOCATION_KEY = "saveLocation";
068: public static final String DOCUMENT_STATE_SAVE_KEY = "documentSaved";
069: public static final String DOCUMENT_KEY_YES_VALUE = "yes";
070: public static final String FOOTER_MSG_KEY = "footerMessage";
071: public static final String INPUT_ERROR_KEY = "errorMsg";
072: public static final String ADD_MEMBER = "AddMember";
073: public static final String DELETE_MEMBER = "DeleteMember";
074: public static final String ROUTE = "route";
075: public static final String ACTION_LIST_SESSION_NAME = "actionList";
076: public static final String SEARCH_RETURN = "return";
077:
078: /**
079: * navigation constants
080: *
081: */
082: public static final String WIZARD_NEXT = "next";
083: public static final String WIZARD_BACK = "back";
084: public static final String WIZARD_SAVE = "save";
085: public static final String WIZARD_EXIT = "exit";
086: public static final String WIZARD_DELETE = "delete";
087: public static final String WIZARD_ROUTE = "RouteDocument";
088: public static final String CUSTOM_ACTION = "customAction";
089: public static final String EDEN_WORKGROUP = "EDEN_TEAM";
090:
091: // public static final String DOC_HANDLER_SESSION_APPENDER = "docHandler";
092: public static final String DATE_FORMAT = "MM/dd/yyyy";
093:
094: //blanket approve workgroups
095: public static final String BASE_REVIEW_BLANKET_APPRV_WRKGRP = "IA.UITS.Base Review Blanket Approve Workgroup";
096: public static final String HRMS_REVIEW_BLANKET_APPRV_WRKGRP = "IA.UITS.HRMS Review Blanket Approve Workgroup";
097: public static final String DOC_TYPE_BLANKET_APPRV_WRKGRP = "IA.UITS.Document Type Blanket Approve Workgroup";
098: public static final String DOC_TYPE_GRP_BLANKET_APPRV_WRKGRP = "IA.UITS.Document Type Group Blanket Approve Workgroup";
099: public static final String FISCA_UPPA_BLANKET_APPRV_WRKGRP = "IA.UITS.Fiscal Uppa Blanket Approve Workgroup";
100: public static final String WORKGROUP_BLANKET_APPRV_WRKGRP = "Workgroup Blanket Approve Workgroup";
101: public static final String USER_REPORT_WRKGRP = "IA.UITS.User Report Workgroup";
102: public static final String DT_MONITOR_BLANKET_APPRV_WRKGRP = "IA.UITS.DocType Monitor Blanket Approve Workgroup";
103: }
104:
105: /*
106: * Copyright 2003 The Trustees of Indiana University. All rights reserved.
107: *
108: * This file is part of the EDEN software package.
109: * For license information, see the LICENSE file in the top level directory
110: * of the EDEN source distribution.
111: */
|