0001: /*
0002: * Copyright 2007 The Kuali Foundation.
0003: *
0004: * Licensed under the Educational Community License, Version 1.0 (the "License");
0005: * you may not use this file except in compliance with the License.
0006: * You may obtain a copy of the License at
0007: *
0008: * http://www.opensource.org/licenses/ecl1.php
0009: *
0010: * Unless required by applicable law or agreed to in writing, software
0011: * distributed under the License is distributed on an "AS IS" BASIS,
0012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013: * See the License for the specific language governing permissions and
0014: * limitations under the License.
0015: */
0016: package org.kuali.kfs;
0017:
0018: import java.util.HashMap;
0019:
0020: import org.apache.commons.lang.StringUtils;
0021: import org.kuali.core.JstlConstants;
0022: import org.kuali.core.service.DataDictionaryService;
0023: import org.kuali.core.util.KualiDecimal;
0024: import org.kuali.kfs.context.SpringContext;
0025: import org.kuali.module.gl.bo.OriginEntryFull;
0026: import org.kuali.module.labor.bo.LaborOriginEntry;
0027:
0028: /**
0029: * This class is used to define global constants.
0030: */
0031: public class KFSConstants extends JstlConstants implements
0032: ParameterKeyConstants {
0033: private static final long serialVersionUID = 2882277719647128949L;
0034:
0035: // special user used in the post-processor
0036: public static final String SYSTEM_USER = "KULUSER";
0037:
0038: public static final String ENVIRONMENT_KEY = "environment";
0039: public static final String VERSION_KEY = "version";
0040: public static final String LOG4J_SETTINGS_FILE_KEY = "log4j.settings.file";
0041: public static final String LOGS_DIRECTORY_KEY = "logs.directory";
0042: public static final String LOG4J_RELOAD_MINUTES_KEY = "log4j.reload.minutes";
0043: public static final String APPLICATION_URL_KEY = "application.url";
0044: public static final String ATTACHMENTS_DIRECTORY_KEY = "attachments.directory";
0045: public static final String ATTACHMENTS_PENDING_DIRECTORY_KEY = "attachments.pending.directory";
0046: public static final String HTDOCS_LOGS_URL_KEY = "htdocs.logs.url";
0047: public static final String HTDOCS_STAGING_URL_KEY = "htdocs.staging.url";
0048: public static final String STAGING_DIRECTORY_KEY = "staging.directory";
0049: public static final String TEMP_DIRECTORY_KEY = "temp.directory";
0050: public static final String EXTERNALIZABLE_HELP_URL_KEY = "externalizable.help.url";
0051: public static final String EXTERNALIZABLE_IMAGES_URL_KEY = "externalizable.images.url";
0052: public static final String EXTERNALIZABLE_XML_URL_KEY = "externalizable.xml.url";
0053: public static final String RICE_EXTERNALIZABLE_IMAGES_URL_KEY = "kr.externalizable.images.url";
0054: public static final String REPORTS_DIRECTORY_KEY = "reports.directory";
0055: public static final String WORKFLOW_URL_KEY = "workflow.url";
0056: public static final String PROD_ENVIRONMENT_CODE_KEY = "production.environment.code";
0057: public static final String MAINTAIN_USERS_LOCALLY_KEY = "maintain.users.locally";
0058: public static final String USE_STANDALONE_WORKFLOW = "rice.use.standalone.workflow";
0059:
0060: public static final String DATABASE_REPOSITORY_FILES_LIST_NAME = "databaseRepositoryFilePaths";
0061: public static final String SCRIPT_CONFIGURATION_FILES_LIST_NAME = "scriptConfigurationFilePaths";
0062: public static final String JOB_NAMES_LIST_NAME = "jobNames";
0063: public static final String TRIGGER_NAMES_LIST_NAME = "triggerNames";
0064:
0065: public static final String LOOKUP_RESULTS_LIMIT_URL_KEY = "RESULTS_LIMIT";
0066: public static final String DOCHANDLER_DO_URL = "/DocHandler.do?docId=";
0067: public static final String DOCHANDLER_URL_CHUNK = "&command=displayDocSearchView";
0068:
0069: public static final String ACCOUNT_NUMBER_PROPERTY_NAME = "accountNumber";
0070: public static final String MODULE_ID_PROPERTY_NAME = "moduleId";
0071: public static final String MODULE_CODE_PROPERTY_NAME = "moduleCode";
0072: public static final String ACCOUNT_STATUS_CLOSED = "Y";
0073: public static final String ACCOUNTING_PERIOD_STATUS_CODE_FIELD = "universityFiscalPeriodStatusCode";
0074: public static final String ACCOUNTING_PERIOD_STATUS_CLOSED = "C";
0075: public static final String ACCOUNTING_PERIOD_STATUS_OPEN = "O";
0076: public static final String ACCOUNTING_STRING_SOURCE_ENTRY = "@";
0077: public static final String ACCOUNTING_STRING_SOURCE_ACCOUNT = "#";
0078: public static final String ACTION_FORM_UTIL_MAP_METHOD_PARM_DELIMITER = "~";
0079: public static final String ADD_LINE_METHOD = "addLine";
0080: public static final String ADD_PREFIX = "add";
0081: public static final String ACTIVE_INDICATOR = "Y";
0082: public static final String AGGREGATE_ENCUMBRANCE_BALANCE_TYPE_CODE = "EN";
0083: public static final String AMOUNT_PROPERTY_NAME = "amount";
0084: public static final String APPROVE_METHOD = "approve";
0085: public static final String NON_ACTIVE_INDICATOR = "N";
0086: public static final String BLANK_SPACE = " ";
0087: public static final String BACK_LOCATION = "backLocation";
0088: public static final String BACKDOOR_PARAMETER = "backdoorId";
0089: public static final String BALANCE_INQUIRY_REPORT_MENU_ACTION = "balanceInquiryReportMenu.do";
0090: public static final String BALANCE_TYPE_PROPERTY_NAME = "balanceTypeCode";
0091: public static final String BALANCE_TYPE_CURRENT_BUDGET = "CB";
0092: public static final String BALANCE_TYPE_BASE_BUDGET = "BB";
0093: public static final String BALANCE_TYPE_MONTHLY_BUDGET = "MB";
0094: public static final String BALANCE_TYPE_EXTERNAL_ENCUMBRANCE = "EX";
0095: public static final String BALANCE_TYPE_INTERNAL_ENCUMBRANCE = "IE";
0096: public static final String BALANCE_TYPE_COST_SHARE_ENCUMBRANCE = "CE";
0097: public static final String BALANCE_TYPE_ACTUAL = "AC";
0098: public static final String BALANCE_TYPE_AUDIT_TRAIL = "NB";
0099: public static final String BALANCE_TYPE_A21 = "A2";
0100: public static final String BALANCE_TYPE_BUDGET_STATISTICS = "BS";
0101: public static final String BALANCE_TYPE_PRE_ENCUMBRANCE = "PE";
0102: public static final String BLANKET_APPROVE_METHOD = "blanketApprove";
0103: public static final String BUSINESS_OBJECT_CLASS_ATTRIBUTE = "businessObjectClassName";
0104: public static final String CALLING_METHOD = "caller";
0105: public static final String CASH_MANAGEMENT_DOCUMENT_ACTION = "financialCashManagement.do";
0106: public static final String CHANGE_JOURNAL_VOUCHER_BALANCE_TYPE_METHOD = "changeBalanceType";
0107: public static final String CHART_OF_ACCOUNTS_CODE_PROPERTY_NAME = "chartOfAccountsCode";
0108: public static final String CONFIRMATION_QUESTION = "confirmationQuestion";
0109: public static final String CONSOLIDATED_SUBACCOUNT = "*ALL*";
0110: public static final String CONVERSION_FIELDS_PARAMETER = "conversionFields";
0111: public static final String LOOKUP_READ_ONLY_FIELDS = "readOnlyFields";
0112: public static final String LOOKUP_AUTO_SEARCH = "autoSearch";
0113: public static final String COST_SHARE = "CS";
0114: public static final String CREDIT_AMOUNT_PROPERTY_NAME = "newSourceLineCredit";
0115: public static final String DEBIT_AMOUNT_PROPERTY_NAME = "newSourceLineDebit";
0116: public static final String DELETE_LINE_METHOD = "deleteLine";
0117: public static final String DICTIONARY_BO_NAME = "dictionaryBusinessObjectName";
0118: public static final String DISENCUMBRANCE = "Disencumbrance";
0119: public static final String DISPATCH_REQUEST_PARAMETER = "methodToCall";
0120: public static final String DOC_FORM_KEY = "docFormKey";
0121: public static final String BALANCE_INQUIRY_REPORT_MENU_CALLER_DOC_FORM_KEY = "balanceInquiryReportMenuCallerDocFormKey";
0122: public static final String DOCUMENT_CANCEL_QUESTION = "DocCancel";
0123: public static final String DOCUMENT_DELETE_QUESTION = "DocDelete";
0124: public static final String DOCUMENT_DISAPPROVE_QUESTION = "DocDisapprove";
0125: public static final String DOCUMENT_HEADER_ID = "documentHeaderId";
0126: public static final String DOCUMENT_HEADER_DOCUMENT_STATUS_CODE_PROPERTY_NAME = "financialDocumentStatusCode";
0127: public static final String NOTE_TEXT_PROPERTY_NAME = "noteText";
0128: public static final String DOCUMENT_HEADER_PROPERTY_NAME = "documentHeader";
0129: public static final String DOCUMENT_SAVE_BEFORE_CLOSE_QUESTION = "DocSaveBeforeClose";
0130: public static final String EMPLOYEE_ACTIVE_STATUS = "A";
0131: public static final String EXISTING_SOURCE_ACCT_LINE_PROPERTY_NAME = "sourceAccountingLine";
0132: public static final String EXISTING_TARGET_ACCT_LINE_PROPERTY_NAME = "targetAccountingLine";
0133: public static final String SOURCE_ACCT_LINE_TYPE_CODE = "F"; // F = From, the label for this on most documents
0134: public static final String TARGET_ACCT_LINE_TYPE_CODE = "T"; // T = To, the label for this on most documents
0135: public static final String EXTRA_BUTTON_SOURCE = "extraButtonSource";
0136: public static final String EXTRA_BUTTON_PARAMS = "extraButtonParams";
0137: public static final String NEW_DOCUMENT_NOTE_PROPERTY_NAME = "newDocumentNote";
0138: public static final String NEW_AD_HOC_ROUTE_PERSON_PROPERTY_NAME = "newAdHocRoutePerson";
0139: public static final String NEW_AD_HOC_ROUTE_WORKGROUP_PROPERTY_NAME = "newAdHocRouteWorkgroup";
0140: public static final String EXISTING_AD_HOC_ROUTE_PERSON_PROPERTY_NAME = "adHocRoutePerson";
0141: public static final String EXISTING_AD_HOC_ROUTE_WORKGROUP_PROPERTY_NAME = "adHocRouteWorkgroup";
0142: public static final String NEW_SOURCE_ACCT_LINE_PROPERTY_NAME = "newSourceLine";
0143: public static final String NEW_TARGET_ACCT_LINES_PROPERTY_NAME = "newTargetLines";
0144: public static final String NEW_TARGET_ACCT_LINE_PROPERTY_NAME = "newTargetLine";
0145: public static final String DOCUMENT_PROPERTY_NAME = "document";
0146: public static final String DOCUMENT_TYPE_NAME = "docTypeName";
0147: public static final String EDIT_PREFIX = "edit";
0148: public static final String EMPTY_STRING = "";
0149: public static final String ENCUMBRANCE = "Encumbrance";
0150: public static final String EXPENSE = "Expense";
0151: public static final String FIELD_CONVERSION_PAIR_SEPERATOR = ":";
0152: public static final String FIELD_CONVERSIONS_SEPERATOR = ",";
0153: public static final String REFERENCES_TO_REFRESH_SEPARATOR = ",";
0154: public static final String FIELD_CONVERSION_PREFIX_PARAMETER = "fieldConversionPrefix";
0155: public static final String FINANCIAL_OBJECT_CODE_PROPERTY_NAME = "financialObjectCode";
0156: public static final String FINANCIAL_OBJECT_LEVEL_CODE_PROPERTY_NAME = "financialObjectLevelCode";
0157: public static final String FINANCIAL_SUB_OBJECT_CODE_PROPERTY_NAME = "financialSubObjectCode";
0158: public static final String FISCAL_CHART_NAME = "fiscalChartOfAccountsCode";
0159: public static final String FISCAL_ORG_NAME = "fiscalOrganizationCode";
0160: public static final String FROM = "From";
0161: public static final String GENERIC_FIELD_NAME = "Field";
0162: public static final String GENERIC_CODE_PROPERTY_NAME = "code";
0163: public static final String GL_BALANCE_INQUIRY_FLAG = "inquiryFlag";
0164: public static final String GL_ACCOUNT_BALANCE_BY_CONSOLIDATION_LOOKUP_ACTION = "glAccountBalanceByConsolidationLookup.do";
0165: public static final String GL_BALANCE_INQUIRY_ACTION = "glBalanceInquiry.do";
0166: public static final String GL_MODIFIED_INQUIRY_ACTION = "glModifiedInquiry.do";
0167: public static final String GL_PE_OFFSET_STRING = "TP Generated Offset";
0168: public static final String SUB_OBJECT_CODE_PROPERTY_NAME = "subObjectCode";
0169: public static final String UNIVERSITY_FISCAL_YEAR_PROPERTY_NAME = "universityFiscalYear";
0170: public static final String UNIVERSITY_FISCAL_PERIOD_CODE_PROPERTY_NAME = "universityFiscalPeriodCode";
0171: public static final String FINANCIAL_BALANCE_TYPE_CODE_PROPERTY_NAME = "financialBalanceTypeCode";
0172: public static final String ACCOUNT_SUFFICIENT_FUNDS_CODE_PROPERTY_NAME = "accountSufficientFundsCode";
0173: public static final String CURRENT_BUDGET_BALANCE_AMOUNT_PROPERTY_NAME = "currentBudgetBalanceAmount";
0174: public static final String ACCOUNT_ENCUMBRANCE_AMOUNT_PROPERTY_NAME = "accountEncumbranceAmount";
0175: public static final String TRANSACTION_DEBIT_CREDIT_CODE = "transactionDebitCreditCode";
0176: public static final String TRANSACTION_LEDGER_ENTRY_AMOUNT = "transactionLedgerEntryAmount";
0177: public static final String ACCOUNT_SUFFICIENT_FUNDS_FINANCIAL_OBJECT_CODE_PROPERTY_NAME = "acctSufficientFundsFinObjCd";
0178: public static final String FINANCIAL_OBJECT_TYPE_CODE = "financialObjectTypeCode";
0179: public static final String FINANCIAL_DOCUMENT_TYPE_CODE = "financialDocumentTypeCode";
0180: public static final String ORGANIZATION_CODE_PROPERTY_NAME = "organizationCode";
0181: public static final String ORIGIN_CODE_KUALI = "01";
0182: public static final String TRANSFER_FUNDS = "TF";
0183: public static final String[] ENCUMBRANCE_BALANCE_TYPE = new String[] {
0184: BALANCE_TYPE_EXTERNAL_ENCUMBRANCE,
0185: BALANCE_TYPE_INTERNAL_ENCUMBRANCE,
0186: BALANCE_TYPE_PRE_ENCUMBRANCE };
0187: public static final String LABOR_DISTRIBUTION_ORIGIN_CODE = "LD";
0188: public static final String STAND_IN_BUSINESS_OBJECT_FOR_ATTRIBUTES = "KFSAttributeReferenceDummy";
0189: public static final String LABOR_MODIFIED_INQUIRY_ACTION = "laborModifiedInquiry.do";
0190: public static final String LABOR_A2_BALANCE_TYPE = "A2";
0191: public static final String EMPLOYEE_FUNDING_INQUIRY_ACTION = "employeeFundingInquiry.do";
0192: public static final String OVERRIDE_KEYS = "overrideKeys";
0193: public static final String[] LLCP_GROUP_FILTER_EXCEPTION = new String[] { "LLGL" };
0194:
0195: /**
0196: * This value denotes that a max length has not been defined for a given lookup results field
0197: */
0198: public static final int LOOKUP_RESULT_FIELD_MAX_LENGTH_NOT_DEFINED = -1;
0199:
0200: /**
0201: * The number of levels BusinessObjectDictionaryServiceImpl will recurse. If this number is high, it may lead to serious
0202: * performance problems
0203: */
0204: public static final int BUSINESS_OBJECT_DICTIONARY_SERVICE_PERFORM_FORCE_UPPERCASE_RECURSION_MAX_DEPTH = 3;
0205:
0206: /**
0207: * When checkboxes are rendered on the form, a hidden field will also be rendered corresponding to each checkbox with the
0208: * checkbox's name suffixed with the value of this constant. No real fields should have names that contain this suffix, since
0209: * this may lead to undesired results.
0210: */
0211: public static final String CHECKBOX_PRESENT_ON_FORM_ANNOTATION = "{CheckboxPresentOnFormAnnotation}";
0212:
0213: public static class OrgReversion {
0214: public static final String VALID_PREFIX = "EXTENDED_DEFINITIONS_INCLUDE_";
0215: public static final String INVALID_PREFIX = "EXTENDED_DEFINITIONS_EXCLUDE_";
0216: public static final String OBJECT_CONSOL_PARAM_SUFFIX = "OBJECT_CONSOLIDATIONS_BY_ORGANIZATION_REVERSION_CATEGORY";
0217: public static final String OBJECT_LEVEL_PARAM_SUFFIX = "OBJECT_LEVELS_BY_ORGANIZATION_REVERSION_CATEGORY";
0218: public static final String OBJECT_TYPE_PARAM_SUFFIX = "OBJECT_TYPES_BY_ORGANIZATION_REVERSION_CATEGORY";
0219: public static final String OBJECT_SUB_TYPE_PARAM_SUFFIX = "OBJECT_SUB_TYPES_BY_ORGANIZATION_REVERSION_CATEGORY";
0220: public static final String IS_EXPENSE_PARAM = "EXTENDED_DEFINITIONS_EXPENSE_CATEGORIES";
0221: }
0222:
0223: // CR doc properties
0224: public static final String NEW_CHECK_PROPERTY_NAME = "newCheck";
0225: public static final String EXISTING_CHECK_PROPERTY_NAME = "check";
0226:
0227: public static final int DOCUMENT_ANNOTATION_MAX_LENGTH = 2000;
0228:
0229: // TRN_LDGR_DEBIT_CRDT_CD valid values
0230: public static final String GL_DEBIT_CODE = "D";
0231: public static final String GL_CREDIT_CODE = "C";
0232: public static final String GL_BUDGET_CODE = " ";
0233:
0234: // TRN_ENCUM_UPDT_CD value values
0235: public static final String ENCUMB_UPDT_DOCUMENT_CD = "D";
0236: public static final String ENCUMB_UPDT_REFERENCE_DOCUMENT_CD = "R";
0237: public static final String ENCUMB_UPDT_NO_ENCUMBRANCE_CD = "N";
0238:
0239: // GL Reversal Generated Entry Description Prefix
0240: public static final String GL_REVERSAL_DESCRIPTION_PREFIX = "AUTO REVERSAL-";
0241:
0242: // Misc GL text.
0243: public static final String PLANT_INDEBTEDNESS_ENTRY_DESCRIPTION = "GENERATED TRANSFER TO NET PLANT";
0244:
0245: // Sufficient Funds Type Codes
0246: public static final String SF_TYPE_NO_CHECKING = "N";
0247: public static final String SF_TYPE_OBJECT = "O";
0248: public static final String SF_TYPE_LEVEL = "L";
0249: public static final String SF_TYPE_CONSOLIDATION = "C";
0250: public static final String SF_TYPE_CASH_AT_ACCOUNT = "H";
0251: public static final String SF_TYPE_ACCOUNT = "A";
0252:
0253: public static final String BUDGET_CHECKING_OPTIONS_CD_ACTIVE = "Y";
0254:
0255: public static final String GRANT = "Grant";
0256: public static final String HIDE_LOOKUP_RETURN_LINK = "hideReturnLink";
0257: public static final String SUPPRESS_ACTIONS = "suppressActions";
0258: public static final String REFERENCES_TO_REFRESH = "referencesToRefresh";
0259: public static final String INCOME = "Income";
0260: public static final String INITIAL_KUALI_DOCUMENT_STATUS_CD = "?";
0261: public static final String INSERT_SOURCE_LINE_METHOD = "insertSourceLine";
0262: public static final String INSERT_TARGET_LINE_METHOD = "insertTargetLine";
0263: public static final String ICR = "Receipt";
0264: public static final String PARM_SECTION_NAME_FIELD = "FS_SCR_NM";
0265: public static final String PARM_PARM_NAME_FIELD = "FS_PARM_NM";
0266: public static final String PROJECT_CODE_PROPERTY_NAME = "projectCode";
0267:
0268: public static final String INQUIRABLE_ATTRIBUTE_NAME = "kualiInquirable";
0269: public static final String INQUIRY_ACTION = "kr/inquiry.do";
0270: public static final String INQUIRY_IMPL_ATTRIBUTE_NAME = "inquirableImplServiceName";
0271: public static final String JOURNAL_VOUCHER_CHANGE_BALANCE_TYPE_QUESTION = "JournalVoucherChangeBalanceTypeQuestion";
0272: public static final String JOURNAL_VOUCHER_ROUTE_OUT_OF_BALANCE_DOCUMENT_QUESTION = "JournalVoucherRouteOutOfBalanceDocumentQuestion";
0273: public static final String JOURNAL_VOUCHER_ENCUMBRANCE_UPDATE_CODE_BALANCE_TYPE_EXTERNAL_ENCUMBRANCE = "R";
0274: public static final String JOURNAL_LINE_HELPER_PROPERTY_NAME = "journalLineHelper";
0275: public static final String AUXILIARY_LINE_HELPER_PROPERTY_NAME = "auxiliaryLineHelper";
0276: public static final String VOUCHER_LINE_HELPER_CREDIT_PROPERTY_NAME = ".credit";
0277: public static final String VOUCHER_LINE_HELPER_DEBIT_PROPERTY_NAME = ".debit";
0278: public static final String KUALI_WORKFLOW_APPLICATION_CODE = "kuali";
0279: public static final String LOOKUP_ACTION = "kr/lookup.do";
0280: public static final String LOOKUP_RESULTS_SEQUENCE_NUMBER = "lookupResultsSequenceNumber";
0281: public static final String LOOKUP_RESULTS_BO_CLASS_NAME = "lookupResultsBOClassName";
0282: public static final String LOOKED_UP_COLLECTION_NAME = "lookedUpCollectionName";
0283: public static final String MULTIPLE_VALUE_LOOKUP_PREVIOUSLY_SELECTED_OBJ_IDS_PARAM = "previouslySelectedObjectIds";
0284: public static final String MULTIPLE_VALUE_LOOKUP_OBJ_IDS_SEPARATOR = "||";
0285: public static final String MULTIPLE_VALUE_LOOKUP_DISPLAYED_OBJ_ID_PARAM_PREFIX = "displayedObjId-";
0286: public static final String MULTIPLE_VALUE_LOOKUP_SELECTED_OBJ_ID_PARAM_PREFIX = "selectedObjId-";
0287: public static final String LOOKUP_ANCHOR = "lookupAnchor";
0288: public static final String LOOKUPABLE_IMPL_ATTRIBUTE_NAME = "lookupableImplServiceName";
0289: public static final String LOOKUP_RESULTS_SEQUENCE = "LOOKUP_RESULT_SEQUENCE_NBR_SEQ";
0290: public static final String KUALI_LOOKUPABLE_IMPL = "kualiLookupable";
0291: public static final String KUALI_USER_LOOKUPABLE_IMPL = "universalUserLookupable";
0292: public static final String DOC_HANDLER_ACTION = "DocHandler.do";
0293: public static final String DOC_HANDLER_METHOD = "docHandler";
0294: public static final String PARAMETER_DOC_ID = "docId";
0295: public static final String PARAMETER_COMMAND = "command";
0296: public static final String LOOKUP_METHOD = "performLookup";
0297: public static final String METHOD_DISPLAY_DOC_SEARCH_VIEW = "displayDocSearchView";
0298: public static final String MAINTENANCE_ACTION = "maintenance.do";
0299: public static final String MAINTENANCE_ADD_PREFIX = "add.";
0300: public static final String MAINTENANCE_COPY_ACTION = "Copy";
0301: public static final String MAINTENANCE_EDIT_ACTION = "Edit";
0302: public static final String MAINTENANCE_NEW_ACTION = "New";
0303: public static final String MAINTENANCE_COPY_METHOD_TO_CALL = "copy";
0304: public static final String MAINTENANCE_EDIT_METHOD_TO_CALL = "edit";
0305: public static final String MAINTENANCE_NEW_METHOD_TO_CALL = "start";
0306: public static final String MAINTENANCE_NEWWITHEXISTING_ACTION = "newWithExisting";
0307: public static final String MAINTENANCE_NEW_MAINTAINABLE = "document.newMaintainableObject.";
0308: public static final String MAINTENANCE_OLD_MAINTAINABLE = "document.oldMaintainableObject.";
0309: public static final String ENCRYPTED_LIST_PREFIX = "encryptedValues";
0310: public static final String MAPPING_BASIC = "basic";
0311: public static final String MAPPING_CANCEL = "cancel";
0312: public static final String MAPPING_CLOSE = "close";
0313: public static final String MAPPING_DISAPPROVE = "disapprove";
0314: public static final String MAPPING_DELETE = "delete";
0315: public static final String MAPPING_ERROR = "error";
0316: public static final String MAPPING_PORTAL = "portal";
0317: public static final String MAPPING_MULTIPLE_VALUE_LOOKUP = "multipleValueLookup";
0318: public static final String MAPPING_BALANCE_INQUIRY_REPORT_MENU = "balanceInquiryReportMenu";
0319: public static final String MAPPING_DV_PER_DIEM_LINKS = "dvPerDiemLinks";
0320: public static final String MAXLENGTH_SUFFIX = ".maxLength";
0321: public static final String METHOD_TO_CALL_ATTRIBUTE = "methodToCallAttribute";
0322: public static final String METHOD_TO_CALL_PATH = "methodToCallPath";
0323: public static final String METHOD_TO_CALL_BOPARM_LEFT_DEL = "(!!";
0324: public static final String METHOD_TO_CALL_BOPARM_RIGHT_DEL = "!!)";
0325: public static final String METHOD_TO_CALL_PARM1_LEFT_DEL = "(((";
0326: public static final String METHOD_TO_CALL_PARM1_RIGHT_DEL = ")))";
0327: public static final String METHOD_TO_CALL_PARM2_LEFT_DEL = "((#";
0328: public static final String METHOD_TO_CALL_PARM2_RIGHT_DEL = "#))";
0329: public static final String METHOD_TO_CALL_PARM3_LEFT_DEL = "((<";
0330: public static final String METHOD_TO_CALL_PARM3_RIGHT_DEL = ">))";
0331: public static final String METHOD_TO_CALL_PARM4_LEFT_DEL = "(([";
0332: public static final String METHOD_TO_CALL_PARM4_RIGHT_DEL = "]))";
0333: public static final String METHOD_TO_CALL_PARM5_LEFT_DEL = "((*";
0334: public static final String METHOD_TO_CALL_PARM5_RIGHT_DEL = "*))";
0335: public static final String METHOD_TO_CALL_PARM6_LEFT_DEL = "((%";
0336: public static final String METHOD_TO_CALL_PARM6_RIGHT_DEL = "%))";
0337: public static final String METHOD_TO_CALL_PARM7_LEFT_DEL = "((^";
0338: public static final String METHOD_TO_CALL_PARM7_RIGHT_DEL = "^))";
0339: public static final String METHOD_TO_CALL_PARM8_LEFT_DEL = "((&";
0340: public static final String METHOD_TO_CALL_PARM8_RIGHT_DEL = "&))";
0341: public static final String METHOD_TO_CALL_PARM9_LEFT_DEL = "((~";
0342: public static final String METHOD_TO_CALL_PARM9_RIGHT_DEL = "~))";
0343: public static final String METHOD_TO_CALL_PARM10_LEFT_DEL = "((/";
0344: public static final String METHOD_TO_CALL_PARM10_RIGHT_DEL = "/))";
0345: public static final String METHOD_TO_CALL_PARM11_LEFT_DEL = "(:;";
0346: public static final String METHOD_TO_CALL_PARM11_RIGHT_DEL = ";:)";
0347: public static final String METHOD_TO_CALL_PARM12_LEFT_DEL = "(::;";
0348: public static final String METHOD_TO_CALL_PARM12_RIGHT_DEL = ";::)";
0349: public static final String METHOD_TO_CALL_PARM13_LEFT_DEL = "(:::;";
0350: public static final String METHOD_TO_CALL_PARM13_RIGHT_DEL = ";:::)";
0351: // if more strings needed, then add more colons to the PARM11 strings above, e.g. (::; (:::;, etc.
0352:
0353: public static final String ANCHOR = "anchor";
0354: public static final String ANCHOR_TOP_OF_FORM = "topOfForm";
0355: public static final String QUESTION_ANCHOR = "questionAnchor";
0356: public static final String NOT_AVAILABLE_STRING = "N/A";
0357: public static final int NEGATIVE_ONE = -1;
0358: public static final String OBJECT_CODE_STATUS_ACTIVE = "Y";
0359: public static final String OBJECT_TYPE_CODE_PROPERTY_NAME = "objectTypeCode";
0360: public static final String CONTEXT_PATH = "contextPath";
0361: public static final String QUESTION_ACTION = "questionPrompt.do";
0362: public static final String QUESTION_CLICKED_BUTTON = "buttonClicked";
0363: public static final String QUESTION_ERROR_KEY = "questionErrorKey";
0364: public static final String QUESTION_ERROR_PROPERTY_NAME = "questionErrorPropertyName";
0365: public static final String QUESTION_ERROR_PARAMETER = "questionErrorParameter";
0366: public static final String QUESTION_IMPL_ATTRIBUTE_NAME = "questionType";
0367: public static final String QUESTION_INST_ATTRIBUTE_NAME = "questionIndex";
0368: public static final String QUESTION_PAGE_TITLE = "Question Dialog Page";
0369: public static final String QUESTION_REFRESH = "QuestionRefresh";
0370: public static final String QUESTION_CONTEXT = "context";
0371: public static final String QUESTION_TEXT_ATTRIBUTE_NAME = "questionText";
0372: public static final String QUESTION_REASON_ATTRIBUTE_NAME = "reason";
0373: public static final String QUESTION_SHOW_REASON_FIELD = "showReasonField";
0374: public static final String RELOAD_METHOD_TO_CALL = "reload";
0375: public static final String REFRESH_CALLER = "refreshCaller";
0376: public static final String REFRESH_MAPPING_PREFIX = "/Refresh";
0377: public static final String REQUIRED_FIELD_SYMBOL = "*";
0378: public static final String RETURN_LOCATION_PARAMETER = "returnLocation";
0379: public static final String RETURN_METHOD_TO_CALL = "refresh";
0380: public static final String ROUTE_METHOD = "route";
0381: public static final String SAVE_METHOD = "save";
0382: public static final String START_METHOD = "start";
0383: public static final String SEARCH_METHOD = "search";
0384: public static final String COPY_METHOD = "copy";
0385: public static final String ERRORCORRECT_METHOD = "correct";
0386: public static final String SOURCE = "Source";
0387: public static final String SQUARE_BRACKET_LEFT = "[";
0388: public static final String SQUARE_BRACKET_RIGHT = "]";
0389: public static final String SUB_ACCOUNT_STATUS_ACTIVE = "Y";
0390: public static final String SUB_ACCOUNT_NUMBER_PROPERTY_NAME = "subAccountNumber";
0391: public static final String SUB_OBJECT_CODE_STATUS_ACTIVE = "Y";
0392: public static final String TARGET = "Target";
0393: public static final String TO = "To";
0394: public static final String USER_SESSION_KEY = "UserSession";
0395: public static final String VERSION_NUMBER = "versionNumber";
0396: public static final KualiDecimal ZERO = new KualiDecimal("0.00");
0397:
0398: public static final String SEARCH_LIST_KEY_PREFIX = "searchResults";
0399: public static final String SEARCH_LIST_REQUEST_KEY = "searchResultKey";
0400:
0401: public static final String CORRECTION_FORM_KEY = "correctionFormKey";
0402: public static final int CORRECTION_RECENT_GROUPS_DAY = 10;
0403:
0404: public static final String SEARCH_DATA_KEY_PREFIX = "dataSearchResults";
0405: public static final String SEARCH_DATA_REQUEST_KEY = "searchResultDataKey";
0406:
0407: public static final String GLOBAL_ERRORS = "GLOBAL_ERRORS";
0408: public static final String GLOBAL_MESSAGES = "GlobalMessages";
0409: public static final String AD_HOC_ROUTE_PERSON_ERRORS = "newAdHocRoutePerson*,adHocRoutePerson*";
0410: public static final String AD_HOC_ROUTE_WORKGROUP_ERRORS = "newAdHocRouteWorkgroup*,adHocRouteWorkgroup*";
0411: public static final String DOCUMENT_DOCUMENT_ERRORS = "document.document*";
0412: public static final String DOCUMENT_EXPLANATION_ERRORS = "document.explanation*";
0413: public static final String DOCUMENT_REVERSAL_ERRORS = "document.reversal*";
0414: public static final String DOCUMENT_SELECTED_ERRORS = "document.selected*";
0415: public static final String DOCUMENT_HEADER_ERRORS = "document.header*";
0416: public static final String DOCUMENT_ERRORS_LESS_DOCUMENT = DOCUMENT_EXPLANATION_ERRORS
0417: + ","
0418: + DOCUMENT_REVERSAL_ERRORS
0419: + ","
0420: + DOCUMENT_SELECTED_ERRORS + "," + DOCUMENT_HEADER_ERRORS;
0421: public static final String DOCUMENT_ERRORS = DOCUMENT_DOCUMENT_ERRORS
0422: + ","
0423: + DOCUMENT_EXPLANATION_ERRORS
0424: + ","
0425: + DOCUMENT_REVERSAL_ERRORS
0426: + ","
0427: + DOCUMENT_SELECTED_ERRORS
0428: + "," + DOCUMENT_HEADER_ERRORS;
0429: public static final String DOCUMENT_NOTES_ERRORS = "newDocumentNote*";
0430: public static final String BUDGET_PARAMETERS_ERRORS = "newBudgetParameters*";
0431: public static final String BUDGET_PERMISSIONS_ERRORS = "newBudgetPermissions*";
0432: public static final String BUDGET_SPREADSHEET_ERRORS = "newBudgetPermissions*";
0433: public static final String BUDGET_OUTPUT_ERRORS = "newBudgetPermissions*";
0434: public static final String BUDGET_COSTING_ERRORS = "newBudgetPermissions*";
0435:
0436: public enum NoteTypeEnum {
0437: BUSINESS_OBJECT_NOTE_TYPE("BO", "documentBusinessObject"), DOCUMENT_HEADER_NOTE_TYPE(
0438: "DH", "documentHeader");
0439: private String noteTypeCode;
0440: private String noteTypePath;
0441:
0442: private NoteTypeEnum(String noteTypeCode, String noteTypePath) {
0443: this .noteTypeCode = noteTypeCode;
0444: this .noteTypePath = noteTypePath;
0445: }
0446:
0447: public String getCode() {
0448: return this .noteTypeCode;
0449: }
0450:
0451: public String getPath() {
0452: return this .noteTypePath;
0453: }
0454:
0455: public String getFullPath() {
0456: return KFSConstants.DOCUMENT_PROPERTY_NAME + "."
0457: + getPath();
0458: }
0459: }
0460:
0461: public static final String EDIT_JOURNAL_VOUCHER_ERRORS = "EditJournalVoucherErrors";
0462: public static final String EDIT_AUXILIARY_VOUCHER_ERRORS = "EditAuxiliaryVoucherErrors";
0463: public static final String EDIT_PRE_ENCUMBRANCE_ERRORS = "EditPreEncumbranceErrors";
0464:
0465: public static final String ACCOUNTING_LINE_ERRORS = "document.accountingLines";
0466: public static final String SOURCE_ACCOUNTING_LINE_ERROR_PATTERN = "document.sourceAccounting*,sourceAccountingLines,newSourceLine*,journalLineHelper*,auxiliaryLineHelper*";
0467: public static final String TARGET_ACCOUNTING_LINE_ERROR_PATTERN = "document.targetAccounting*,targetAccountingLines,newTargetLine*";
0468: public static final String ACCOUNTING_LINE_GROUP_SUFFIX = "s";
0469: public static final String SOURCE_ACCOUNTING_LINE_ERRORS = EXISTING_SOURCE_ACCT_LINE_PROPERTY_NAME
0470: + ACCOUNTING_LINE_GROUP_SUFFIX;
0471: public static final String TARGET_ACCOUNTING_LINE_ERRORS = EXISTING_TARGET_ACCT_LINE_PROPERTY_NAME
0472: + ACCOUNTING_LINE_GROUP_SUFFIX;
0473: public static final String ITEM_LINE_ERRORS = "newItem*,document.item*";
0474: public static final String CREDIT_CARD_RECEIPTS_LINE_ERRORS = "newCreditCardReceipt*,document.creditCardReceipt*";
0475: public static final String ADVANCE_DEPOSITS_LINE_ERRORS = "newAdvanceDeposit*,document.advanceDeposit*";
0476: public static final String GENERAL_LEDGER_PENDING_ENTRIES_TAB_ERRORS = "document.generalLedgerPendingEntr*";
0477: public static final String BUDGET_CONSTRUCTION_SALARY_SETTING_TAB_ERRORS = "document.budgetConstructionSalarySetting*";
0478: public static final String BUDGET_CONSTRUCTION_REVENUE_TAB_ERRORS = "document.budgetConstructionRevenue*";
0479: public static final String BUDGET_CONSTRUCTION_EXPENDITURE_TAB_ERRORS = "document.budgetConstructionExpenditure*";
0480: public static final String BUDGET_CONSTRUCTION_MONTHLY_BUDGET_ERRORS = "document.budgetConstructionMonthlyBudget*";
0481:
0482: public static final String CASHIER_CLOSING_DRAWER_ERRORS = "document.bursarControl*";
0483: public static final String AND_LOGICAL_OPERATOR = "&&";
0484: public static final String OR_LOGICAL_OPERATOR = "|";
0485: public static final String NOT_LOGICAL_OPERATOR = "!";
0486: // add AND operator to thest if it is uncommented below
0487: public static final String[] LOGICAL_OPERATORS = {
0488: OR_LOGICAL_OPERATOR, NOT_LOGICAL_OPERATOR };
0489: public static final String WILDCARD_CHARACTER = "*";
0490: public static final String[] QUERY_CHARACTERS = {
0491: WILDCARD_CHARACTER, "?", "%", ">", "<", "..",
0492: OR_LOGICAL_OPERATOR, NOT_LOGICAL_OPERATOR, "=" };
0493: public static final String WILDCARD_NOT_ALLOWED_ON_FIELD = "error.fieldDoNotAllowWildcard";
0494:
0495: // disbursement voucher error fields
0496: public static final String DV_PAYEE_TAB_ERRORS = "DVPayeeErrors,document.dvPayeeDetail.disbVchrPayeeIdNumber,document.dvPayeeDetail.disbVchrPayeeCityName,document.dvPayeeDetail.disbVchrPayeePersonName,"
0497: + "document.dvPayeeDetail.disbVchrPayeeStateCode,document.dvPayeeDetail.disbVchrPayeeLine1Addr,document.dvPayeeDetail.disbVchrPayeeZipCode,document.dvPayeeDetail.disbVchrPayeeLine2Addr,document.dvPayeeDetail.disbVchrPayeeCountryCode,document.dvPayeeDetail.disbursementVoucherPayeeTypeCode,";
0498: public static final String DV_PAYMENT_TAB_ERRORS = "DVPaymentErrors,document.dvPayeeDetail.disbVchrPaymentReasonCode,document.disbVchrCheckTotalAmount,document.disbursementVoucherDueDate,document.dvPayeeDetail.disbVchrAlienPaymentCode,"
0499: + "document.dvPayeeDetail.disbVchrPayeeEmployeeCode,document.dvPayeeDetail.dvPayeeRevolvingFundCode,document.disbVchrAttachmentCode,document.disbVchrSpecialHandlingCode,document.disbVchrPayeeW9CompleteCode"
0500: + "document.disbVchrPaymentMethodCode,document.disbursementVoucherDocumentationLocationCode,document.disbVchrCheckStubText";
0501: public static final String DV_NRATAX_TAB_ERRORS = "DVNRATaxErrors,document.dvNonResidentAlienTax.incomeClassCode,document.dvNonResidentAlienTax.incomeTaxTreatyExemptCode,document.dvNonResidentAlienTax.federalIncomeTaxPercent,"
0502: + "document.dvNonResidentAlienTax.foreignSourceIncomeCode,document.dvNonResidentAlienTax.stateIncomeTaxPercent,document.dvNonResidentAlienTax.incomeTaxGrossUpCode,document.dvNonResidentAlienTax.postalCountryCode,"
0503: + "document.dvNonResidentAlienTax.referenceFinancialDocumentNumber";
0504: public static final String DV_FOREIGNDRAFTS_TAB_ERRORS = "DVForeignDraftErrors,document.dvWireTransfer.disbursementVoucherForeignCurrencyTypeCode,document.dvWireTransfer.disbursementVoucherForeignCurrencyTypeName";
0505: public static final String DV_CONTACT_TAB_ERRORS = "DVContactErrors,document.disbVchrContact*";
0506: public static final String DV_SPECHAND_TAB_ERRORS = "DVSpecialHandlingErrors,document.dvPayeeDetail.disbVchrRemitPersonName,document.dvPayeeDetail.disbVchrRemitCityName,document.dvPayeeDetail.disbVchrRemitLine1Addr,document.dvPayeeDetail.disbVchrRemitStateCode,"
0507: + "document.dvPayeeDetail.disbVchrRemitLine2Addr,document.dvPayeeDetail.disbVchrRemitZipCode,document.dvPayeeDetail.disbVchrRemitCountryName";
0508: public static final String DV_WIRETRANSFER_TAB_ERRORS = "DVWireTransfersErrors,document.dvWireTransfer.disbursementVoucherBankName,document.dvWireTransfer.disbVchrBankRoutingNumber,document.dvWireTransfer.disbVchrBankCityName,document.dvWireTransfer.disbVchrBankStateCode,"
0509: + "document.dvWireTransfer.disbVchrBankCountryCode,document.dvWireTransfer.disbVchrAttentionLineText,document.dvWireTransfer.disbVchrAdditionalWireText,document.dvWireTransfer.disbVchrPayeeAccountNumber,document.dvWireTransfer.disbVchrCurrencyTypeName,document.dvWireTransfer.disbVchrCurrencyTypeCode,"
0510: + "document.dvWireTransfer.disbursementVoucherWireTransferFeeWaiverIndicator,document.dvWireTransfer.disbursementVoucherPayeeAccountName,document.dvWireTransfer.disbursementVoucherPayeeAccountTypeCode,document.dvWireTransfer.disbursementVoucherAutomatedClearingHouseProfileNumber";
0511: public static final String DV_NON_EMPL_TRAVEL_TAB_ERRORS = "DVNonEmployeeTravelErrors,newPrePaidNonEmployeeExpenseLine.*,newNonEmployeeExpenseLine.*,document.dvNonEmployeeTravel.*";
0512: public static final String DV_PREPAID_TAB_ERRORS = "DVPrePaidTravelErrors,newPreConferenceRegistrantLine.*,document.dvPreConferenceDetail.*";
0513: public static final String PAYEE_W9_QUESTION = "PayeeW9Question";
0514: public static final String PAYEE_NAME_EXIST_QUESTION = "PayeeNameExistQuestion";
0515: public static final String COPY_NEW_PAYEE_ADDRESS_LINES = "NewPayeeCopyAddressLinesQuestion";
0516: public static final String COPY_CHANGE_PAYEE_ADDRESS_LINES = "ChangePayeeCopyAddressLinesQuestion";
0517: public static final String DV_PAYMENT_REASON_NONEMPLOYEE = "N";
0518: public static final String DV_PAYMENT_REASON_NONEMPLOYEE_HONORARIUM = "X";
0519: public static final String GENERAL_PAYEE_TAB_ERRORS = "DVPayeeErrors";
0520: public static final String GENERAL_PAYMENT_TAB_ERRORS = "DVPaymentErrors";
0521: public static final String GENERAL_NRATAX_TAB_ERRORS = "DVNRATaxErrors";
0522: public static final String GENERAL_FOREIGNDRAFTS_TAB_ERRORS = "DVForeignDraftErrors";
0523: public static final String GENERAL_CONTACT_TAB_ERRORS = "DVContactErrors";
0524: public static final String GENERAL_SPECHAND_TAB_ERRORS = "DVSpecialHandlingErrors";
0525: public static final String GENERAL_WIRETRANSFER_TAB_ERRORS = "DVWireTransfersErrors";
0526: public static final String GENERAL_PREPAID_TAB_ERRORS = "DVPrePaidTravelErrors";
0527: public static final String GENERAL_NONEMPLOYEE_TAB_ERRORS = "DVNonEmployeeTravelErrors,document.dvNonEmployeeTravel.totalTravelAmount";
0528: public static final String DV_PAYEE_ID_FIELD_NAME = "dvPayeeDetail.disbVchrPayeeIdNumber";
0529: public static final String DV_PAYMENT_REASON_FIELD_NAME = "dvPayeeDetail.disbVchrPaymentReasonCode";
0530: public static final String DV_CHECK_TRAVEL_TOTAL_ERROR = "document.dvNonEmployeeTravel.totalTravelAmount";
0531:
0532: // KRA-related constant values
0533: public static final KualiDecimal CONTRACTS_AND_GRANTS_FRINGE_RATE_MAX = new KualiDecimal(
0534: "100.0");
0535: public static final KualiDecimal CONTRACTS_AND_GRANTS_COST_SHARE_MAX = new KualiDecimal(
0536: "100.0");
0537: public static final KualiDecimal GRADUATE_ASSISTANT_RATE_MAX = new KualiDecimal(
0538: "9999.99");
0539: public static final String AUDIT_ERRORS = "AuditErrors";
0540:
0541: // Header Tab navigation constant values
0542: public static final String NAVIGATE_TO = "navigateTo.";
0543: public static final String HEADER_DISPATCH = "headerDispatch.";
0544:
0545: // country
0546: public static final String COUNTRY_CODE_UNITED_STATES = "US";
0547:
0548: // CashManagement tab errors
0549: public static final String CASH_MANAGEMENT_DEPOSIT_ERRORS = "document.deposit*";
0550:
0551: // Coin and Currency Amounts
0552: public static class CoinTypeAmounts {
0553: public static final KualiDecimal HUNDRED_CENT_AMOUNT = new KualiDecimal(
0554: 1.0);
0555: public static final KualiDecimal FIFTY_CENT_AMOUNT = new KualiDecimal(
0556: 0.5);
0557: public static final KualiDecimal TWENTY_FIVE_CENT_AMOUNT = new KualiDecimal(
0558: 0.25);
0559: public static final KualiDecimal TEN_CENT_AMOUNT = new KualiDecimal(
0560: 0.1);
0561: public static final KualiDecimal FIVE_CENT_AMOUNT = new KualiDecimal(
0562: 0.05);
0563: public static final KualiDecimal ONE_CENT_AMOUNT = new KualiDecimal(
0564: 0.01);
0565: }
0566:
0567: public static class CurrencyTypeAmounts {
0568: public static final KualiDecimal HUNDRED_DOLLAR_AMOUNT = new KualiDecimal(
0569: 100.0);
0570: public static final KualiDecimal FIFTY_DOLLAR_AMOUNT = new KualiDecimal(
0571: 50.0);
0572: public static final KualiDecimal TWENTY_DOLLAR_AMOUNT = new KualiDecimal(
0573: 20.0);
0574: public static final KualiDecimal TEN_DOLLAR_AMOUNT = new KualiDecimal(
0575: 10.0);
0576: public static final KualiDecimal FIVE_DOLLAR_AMOUNT = new KualiDecimal(
0577: 5.0);
0578: public static final KualiDecimal TWO_DOLLAR_AMOUNT = new KualiDecimal(
0579: 2.0);
0580: public static final KualiDecimal ONE_DOLLAR_AMOUNT = new KualiDecimal(
0581: 1.0);
0582: }
0583:
0584: // Cashiering source constants
0585: public static class CurrencyCoinSources {
0586: public static final String CASH_MANAGEMENT_IN = "R"; // money coming in through cashiering activity
0587: public static final String DEPOSITS = "D"; // money going out through deposits
0588: public static final String CASH_RECEIPTS = "C"; // money coming in through cash receipts
0589: public static final String CASH_MANAGEMENT_OUT = "O"; // money going out through cashiering activity
0590: public static final String CASH_MANAGEMENT_MASTER = "M"; // an amalgamation of a cashiering transaction
0591: }
0592:
0593: // Constants for check sources
0594: // Why are these constants different from the Currency/Coin constants?
0595: // Why, I ask you in return, is the sky blue? That's right, because of
0596: // the effect of Rayleigh scattering on atmospheric particles. That's why.
0597: public static class CheckSources {
0598: public static final String CASH_RECEIPTS = "R";
0599: public static final String CASH_MANAGEMENT = "I";
0600: }
0601:
0602: public static final String CASHIERING_TRANSACTION_OPEN_ITEM_IN_PROCESS_PROPERTY = "document.currentTransaction.openItemInProcess";
0603:
0604: // Tab error patterns must be at the top level; JSPs do not have access to the nested classes.
0605: public static final String EDIT_CASH_RECEIPT_CASH_RECONCILIATION_ERRORS = "document.totalCashAmount,document.totalCheckAmount,document.totalCoinAmount,document.sumTotalAmount";
0606: public static final String EDIT_CASH_RECEIPT_CHECK_DETAIL_ERRORS = "newCheck*,document.check*";
0607: public static final String EDIT_CASH_RECEIPT_CURRENCY_COIN_ERRORS = "document.currencyDetail.*,document.coinDetail.*";
0608: public static final String EDIT_CASH_MANAGEMENT_CASHIERING_TRANSACTION_ERRORS = "document.currentTransaction.*";
0609: public static final String MULTIPLE_VALUE = "multipleValues";
0610: public static final String MULTIPLE_VALUE_LABEL = "Lookup initial values";
0611: public static final String MULTIPLE_VALUE_NAME = "Multiple Value Name";
0612:
0613: // Agency type codes
0614: public static final String AGENCY_TYPE_CODE_FEDERAL = "F";
0615:
0616: // special chars that I don't know how to put into string literals in JSP expression language
0617: public static final String NEWLINE = "\n";
0618:
0619: // Workflow constants
0620: public static final String WORKFLOW_FYI_REQUEST = "F";
0621: public static final String WORKFLOW_APPROVE_REQUEST = "A";
0622:
0623: // Permission codes
0624: public static final String PERMISSION_READ_CODE = "R";
0625: public static final String PERMISSION_READ_DESCRIPTION = "READ";
0626: public static final String PERMISSION_MOD_CODE = "M";
0627: public static final String PERMISSION_MOD_DESCRIPTION = "MOD";
0628: public static final String PERMISSION_MODIFY = "modify";
0629: public static final String PERMISSION_VIEW = "view";
0630:
0631: public static class DocumentStatusCodes {
0632: public static final String INITIATED = "?";
0633: public static final String CANCELLED = "X";
0634: public static final String ENROUTE = "R";
0635: public static final String DISAPPROVED = "D";
0636: public static final String APPROVED = "A";
0637:
0638: public static class CashReceipt {
0639: // once a CashReceipt gets approved, its financialDocumentStatus goes to "verified"
0640: public static final String VERIFIED = "V";
0641:
0642: // when a CashReceipt associated with a Deposit, its financialDocumentStatus changes to "interim" or "final"
0643: public static final String INTERIM = "I";
0644: public static final String FINAL = "F";
0645:
0646: // when the CMDoc is finalized, the CRs of its Deposits change to status "approved"
0647: }
0648: }
0649:
0650: public static class AdvanceDepositConstants {
0651: public static final String CASH_RECEIPT_ADVANCE_DEPOSIT_COLUMN_TYPE_CODE = "R";
0652: }
0653:
0654: public static class AuxiliaryVoucher {
0655: public static final String ADJUSTMENT_DOC_TYPE = "AVAD";
0656: public static final String ADJUSTMENT_DOC_TYPE_NAME = "Adjustment";
0657: public static final String RECODE_DOC_TYPE = "AVRC";
0658: public static final String RECODE_DOC_TYPE_NAME = "Recode";
0659: public static final String ACCRUAL_DOC_TYPE = "AVAE";
0660: public static final String ACCRUAL_DOC_TYPE_NAME = "Accrual";
0661: public static final String ERROR_DOCUMENT_RECODE_DISTRIBUTION_OF_INCOME_AND_EXPENSE_UNSUCCESSFUL = "Unable to auto-generate Distribution of Income and Expense for document with number \"%s.\" Please contact your System Administrator for a Distribution of Income and Expense to be created manually.";
0662: public static final String ERROR_DOCUMENT_HAS_TARGET_LINES = "AV document doesn't have target accounting lines. This method should have never been entered";
0663: public static final String RECODE_DISTRIBUTION_OF_INCOME_AND_EXPENSE_DESCRIPTION = "Auto-generated for Auxiliary Voucher";
0664: public static final String RECODE_DISTRIBUTION_OF_INCOME_AND_EXPENSE_EXPLANATION = "Auxiliary Voucher recode document type was chosen. A Distribution of Income And Expense needs to be routed to FINAL along with it. This Document is routed by Auxiliary Voucher \"%s\".";
0665: public static final String CHANGE_VOUCHER_TYPE = "changeVoucherType";
0666: }
0667:
0668: public static class CashDrawerConstants {
0669: public static final String STATUS_CLOSED = "C";
0670: public static final String STATUS_OPEN = "O";
0671: public static final String STATUS_LOCKED = "L";
0672: }
0673:
0674: public static class CashReceiptConstants {
0675: public static final String TEST_CASH_RECEIPT_VERIFICATION_UNIT = "HAWAII_CR_VERIFICATION_UNIT";
0676: public static final String TEST_CASH_RECEIPT_CAMPUS_LOCATION_CODE = "HI";
0677:
0678: public static final String DEFAULT_CASH_RECEIPT_VERIFICATION_UNIT = "KUALI_ROLE_CASH_RECEIPT_VERIFICATION_GROUP";
0679: public static final String DEFAULT_CASH_RECEIPT_CAMPUS_LOCATION_CODE = "??";
0680:
0681: public static final String CASH_RECEIPT_CAMPUS_LOCATION_CODE_PROPERTY_NAME = "campusLocationCode";
0682: public static final String CASH_RECEIPT_DOC_HEADER_STATUS_CODE_PROPERTY_NAME = KFSConstants.DOCUMENT_HEADER_PROPERTY_NAME
0683: + "."
0684: + KFSConstants.DOCUMENT_HEADER_DOCUMENT_STATUS_CODE_PROPERTY_NAME;
0685: }
0686:
0687: public static class DepositConstants {
0688: public static final String DEPOSIT_TYPE_INTERIM = "I";
0689: public static final String DEPOSIT_TYPE_FINAL = "F";
0690:
0691: public static final String DEPOSIT_WIZARD_CASHRECEIPT_ERROR = "cashReceiptErrors";
0692: public static final String DEPOSIT_WIZARD_DEPOSITHEADER_ERROR = "depositHeaderErrors";
0693: }
0694:
0695: public static class CreditCardReceiptConstants {
0696: public static final String CASH_RECEIPT_CREDIT_CARD_RECEIPT_COLUMN_TYPE_CODE = "R";
0697: }
0698:
0699: public static class BudgetAdjustmentDocumentConstants {
0700: public static final String SOURCE_BA = "From/Decrease";
0701: public static final String TARGET_BA = "To/Increase";
0702: public static final String GENERATE_BENEFITS_QUESTION_ID = "GenerateBenefitsQuestion";
0703: public static final String ADJUSTMENT_RESTRICTION_LEVEL_FUND = "F";
0704: public static final String ADJUSTMENT_RESTRICTION_LEVEL_CHART = "C";
0705: public static final String ADJUSTMENT_RESTRICTION_LEVEL_ORGANIZATION = "O";
0706: public static final String ADJUSTMENT_RESTRICTION_LEVEL_ACCOUNT = "A";
0707: public static final String ADJUSTMENT_RESTRICTION_LEVEL_SUBFUND = "S";
0708: public static final String ADJUSTMENT_RESTRICTION_LEVEL_NONE = "N";
0709: }
0710:
0711: public static class BudgetConstructionPositionConstants {
0712: public static final String POSITION_REGULAR_TEMPORARY_REGULAR = "R";
0713: public static final String POSITION_REGULAR_TEMPORARY_TEMPORARY = "T";
0714: public static final String POSITION_EFFECTIVE_STATUS_ACTIVE = "A";
0715: public static final String POSITION_EFFECTIVE_STATUS_INACTIVE = "I";
0716: public static final String POSITION_STATUS_APPROVED = "A";
0717: public static final String POSITION_STATUS_DELETED = "D";
0718: public static final String POSITION_STATUS_FROZEN = "F";
0719: public static final String POSITION_STATUS_TEMPORARILY_INACTIVE = "T";
0720: }
0721:
0722: public static class DisbursementVoucherDocumentConstants {
0723: public static final String CLEAR_NON_EMPLOYEE_TAB_QUESTION_ID = "ClearNonEmplTravTabQuestion";
0724: public static final String CLEAR_WIRE_TRANSFER_TAB_QUESTION_ID = "ClearWireTransferTabQuestion";
0725: public static final String CLEAR_FOREIGN_DRAFT_TAB_QUESTION_ID = "ClearForeignDraftTabQuestion";
0726: }
0727:
0728: public static class CoreApcParms {
0729:
0730: // Kuali User params
0731: public static final String USER_INVALID_EMPLOYEE_STATUSES = "ACTIVE_KFS_USER_EMPLOYEE_STATUSES";
0732:
0733: public static final String UNIVERSAL_USER_EDIT_WORKGROUP = "UNIVERSAL_USER_EDIT_GROUP";
0734: public static final String SERVICE_BUS_ACCESS_GROUP_PARM = "SERVICE_BUS_ACCESS_GROUP";
0735: }
0736:
0737: public static final String MAINTENANCE_ADMIN_WORKGROUP_PARM_NM = "MAINTENANCE_ADMIN_GROUP";
0738:
0739: public static final String ACCOUNTING_LINE_IMPORT_MAX_FILE_SIZE_PARM_NM = "MAX_FILE_SIZE_ACCOUNTING_LINE_IMPORT";
0740: public static final String ORIGIN_ENTRY_IMPORT_MAX_FILE_SIZE_PARM_NM = "MAX_FILE_SIZE_ORIGIN_ENTRY_IMPORT";
0741:
0742: public static class ChartApcParms {
0743:
0744: public static final String FISCAL_YEAR_MAKER_REPLACE_MODE = "OVERRIDE_TARGET_YEAR_DATA_IND";
0745: public static final String FISCAL_YEAR_MAKER_SOURCE_FISCAL_YEAR = "SOURCE_FISCAL_YEAR";
0746:
0747: // added from parameter refactoring.
0748: public static final String APC_HRMS_ACTIVE_KEY = "USE_HRMS_ORGANIZATION_ATTRIBUTES_IND";
0749: public final static String OBJECT_CODE_ILLEGAL_VALUES = "OBJECT_CODES";
0750: public static final String DOCTYPE_AND_OBJ_CODE_ACTIVE = "DOCUMENT_TYPES_REQUIRING_ACTIVE_OBJECT_CODES";
0751: public static final String INVALID_DOCUMENT_TYPES_BY_OBJECT_SUB_TYPE = "INVALID_DOCUMENT_TYPES_BY_OBJECT_SUB_TYPE";
0752: public static final String VALID_DOCUMENT_TYPES_BY_OBJECT_SUB_TYPE = "VALID_DOCUMENT_TYPES_BY_OBJECT_SUB_TYPE";
0753: public static final String CG_ALLOWED_SUBACCOUNT_TYPE_CODES = "SUB_ACCOUNT_TYPES";
0754:
0755: // Account parms
0756: public static final String ACCOUNT_USER_EMP_STATUSES = "ROLE_EMPLOYEE_STATUSES";
0757: public static final String ACCOUNT_USER_EMP_TYPES = "ROLE_EMPLOYEE_TYPES";
0758:
0759: // Delegate parms
0760: public static final String DELEGATE_USER_EMP_STATUSES = "EMPLOYEE_STATUSES";
0761: public static final String DELEGATE_USER_EMP_TYPES = "EMPLOYEE_TYPES";
0762:
0763: // SubAccount parms
0764: public static final String SUBACCOUNT_CG_WORKGROUP_PARM_NAME = "CG_GROUP";
0765:
0766: // Org parms
0767: public static final String DEFAULT_ACCOUNT_NOT_REQUIRED_ORG_TYPES = "ORGANIZATION_TYPES_NOT_REQUIRING_DEFAULT_ACCOUNT";
0768: public static final String ORG_MUST_REPORT_TO_SELF_ORG_TYPES = "ORGANIZATION_TYPES_THAT_MUST_REPORT_TO_SELF";
0769: public static final String ORG_PLANT_WORKGROUP_PARM_NAME = "PLANT_GROUP";
0770:
0771: public static final String ADMINISTRATOR_WORKGROUP = "Maintenance.Admin.Workgroup";
0772:
0773: public static final String ACCOUNT_FUND_GROUP_DENOTES_CG = "FUND_GROUP_DENOTES_CG_IND";
0774: public static final String ACCOUNT_CG_DENOTING_VALUE = "CG_DENOTING_VALUE";
0775:
0776: public static final String DEFAULT_USER_CHART_CODE_SOURCE_ATTRIBUTE = "DEFAULT_CHART_SOURCE_ATTRIBUTE";
0777: public static final String DEFAULT_USER_CHART_CODE_EXTRACTION_REGEXP = "DEFAULT_CHART_EXTRACTION_REG_EXP";
0778: public static final String DEFAULT_USER_ORGANIZATION_CODE_SOURCE_ATTRIBUTE = "DEFAULT_ORGANIZATION_SOURCE_ATTRIBUTE";
0779: public static final String DEFAULT_USER_ORGANIZATION_CODE_EXTRACTION_REGEXP = "DEFAULT_ORGANIZATION_EXTRACTION_REG_EXP";
0780: }
0781:
0782: public static class FinancialApcParms {
0783: // public static final String GROUP_DV_DOCUMENT = "Kuali.FinancialTransactionProcessing.DisbursementVoucherDocument";
0784:
0785: public static final String DV_TAX_WORKGROUP = "TAX_GROUP";
0786: public static final String DV_ADMIN_WORKGROUP = "ADMIN_GROUP";
0787: public static final String DV_FOREIGNDRAFT_WORKGROUP = "FOREIGN_DRAFT_GROUP";
0788: public static final String DV_WIRETRANSFER_WORKGROUP = "WIRE_TRANSFER_GROUP";
0789: public static final String DV_TRAVEL_WORKGROUP = "TRAVEL_GROUP";
0790: public static final String ACCOUNTING_LINE_IMPORT_HELP = "ACCOUNTING_LINE_IMPORT";
0791: }
0792:
0793: public static class SystemGroupParameterNames {
0794:
0795: public static final String FLEXIBLE_OFFSET_ENABLED_FLAG = "USE_FLEXIBLE_OFFSET_IND";
0796: public static final String FLEXIBLE_CLAIM_ON_CASH_BANK_ENABLED_FLAG = "USE_FLEXIBLE_CLAIM_ON_CASH_IND";
0797: public static final String ICR_ENCUMBRANCE_ENABLED_FLAG = "USE_ICR_ENCUMBRANCE_IND";
0798: public static final String PURGE_GL_ACCT_BALANCES_T_BEFORE_YEAR = "PRIOR_TO_YEAR";
0799: public static final String PURGE_GL_ENCUMBRANCE_T_BEFORE_YEAR = "PRIOR_TO_YEAR";
0800: public static final String PURGE_GL_SF_BALANCES_T_BEFORE_YEAR = "PRIOR_TO_YEAR";
0801: public static final String PURGE_GL_BALANCE_T_BEFORE_YEAR = "PRIOR_TO_YEAR";
0802: public static final String PURGE_GL_ENTRY_T_BEFORE_YEAR = "PRIOR_TO_YEAR";
0803: public static final String PURGE_GL_ID_BILL_T_BEFORE_YEAR = "PRIOR_TO_YEAR";
0804:
0805: public static final String GL_ANNUAL_CLOSING_DOC_TYPE = "ANNUAL_CLOSING_DOCUMENT_TYPE";
0806: public static final String GL_INDIRECT_COST_RECOVERY = "INDIRECT_COST_RECOVERY_DOCUMENT_TYPE";
0807: public static final String GL_NET_EXPENSE_OBJECT_TYPE_CODE = "NET_EXPENSE_OBJECT_TYPE_CODE";
0808: public static final String GL_ORIGINATION_CODE = "MANUAL_FEED_ORIGINATION";
0809: public static final String GL_SCRUBBER_VALIDATION_DAYS_OFFSET = "CG_ACCOUNT_EXPIRATION_EXTENSION_DAYS";
0810:
0811: public static final String MULTIPLE_VALUE_LOOKUP_RESULTS_PER_PAGE = "MULTIPLE_VALUE_RESULTS_PER_PAGE";
0812: public static final String MULTIPLE_VALUE_LOOKUP_RESULTS_EXPIRATION_AGE = "MULTIPLE_VALUE_RESULTS_EXPIRATION_SECONDS";
0813:
0814: public static final String ACTIVE_INPUT_TYPES_PARAMETER_NAME = "ACTIVE_FILE_TYPES";
0815: public static final String FILE_TYPE_WORKGROUP_PARAMETER_NAME = "UPLOAD_GROUP";
0816:
0817: public static final String COLLECTOR_VALIDATOR_EMAIL_SUBJECT_PARAMETER_NAME = "VALIDATION_EMAIL_SUBJECT_LINE";
0818: public static final String COLLECTOR_DEMERGER_EMAIL_SUBJECT_PARAMETER_NAME = "ERROR_EMAIL_SUBJECT_LINE";
0819: public static final String COLLECTOR_EQUAL_DC_TOTAL_DOCUMENT_TYPES = "EQUAL_DEBIT_CREDIT_TOTAL_DOCUMENT_TYPES";
0820: public static final String COLLECTOR_PERFORM_DUPLICATE_HEADER_CHECK = "PERFORM_DUPLICATE_HEADER_CHECK_IND";
0821:
0822: public static final String BATCH_SCHEDULE_CUTOFF_TIME = "CUTOFF_TIME";
0823: public static final String BATCH_SCHEDULE_CUTOFF_TIME_IS_NEXT_DAY = "CUTOFF_TIME_NEXT_DAY_IND";
0824: public static final String BATCH_SCHEDULE_STATUS_CHECK_INTERVAL = "STATUS_CHECK_INTERVAL";
0825:
0826: /**
0827: * Used by PurgePendingAttachmentsJob to compute the maximum amount of time a pending attachment is allowed to persist on
0828: * the file system before being deleted.
0829: */
0830: public static final String PURGE_PENDING_ATTACHMENTS_STEP_MAX_AGE = "MAX_AGE";
0831:
0832: public static final String JOB_ADMIN_WORKGROUP = "SCHEDULE_ADMIN_GROUP";
0833: public static final String JOB_WORKGROUP_SUFFIX = "_SCHEDULE_GROUP";
0834: }
0835:
0836: public static class GeneralLedgerApplicationParameterKeys {
0837: public static final String INCOME_OBJECT_TYPE_CODES = "INCOME_OBJECT_TYPE_CODES";
0838: public static final String INCOME_TRANSFER_OBJECT_TYPE_CODES = "INCOME_TRANSFER_OBJECT_TYPE_CODES";
0839: public static final String EXPENSE_OBJECT_TYPE_CODES = "EXPENSE_OBJECT_TYPE_CODES";
0840: public static final String EXPENSE_TRANSFER_OBJECT_TYPE_CODES = "EXPENSE_TRANSFER_OBJECT_TYPE_CODES";
0841: }
0842:
0843: public static class GeneralLedgerCorrectionProcessApplicationParameterKeys {
0844: public static final String RECORD_COUNT_FUNCTIONALITY_LIMIT = "RECORD_COUNT_FUNCTIONALITY_LIMIT";
0845: public static final String RECORDS_PER_PAGE = "RECORDS_PER_PAGE";
0846: }
0847:
0848: public static class EnterpriseFeederApplicationParameterKeys {
0849: public static final String TO_ADDRESS = "INVALID_FILE_TO_ADDRESSES";
0850: }
0851:
0852: public static class ParameterValues {
0853: public static final String YES = "Y";
0854: public static final String NO = "N";
0855: }
0856:
0857: public static class Maintenance {
0858: public static final String AFTER_CLASS_DELIM = "!!";
0859: public static final String AFTER_FIELDNAME_DELIM = "^^";
0860: public static final String AFTER_VALUE_DELIM = "::";
0861: }
0862:
0863: public static class ObjectCodeConstants {
0864: public static final String INACTIVE_OBJECT_LEVEL_QUESTION_ID = "InactiveObjectLevelQuestion";
0865: }
0866:
0867: public static final String MONTH1 = "01";
0868: public static final String MONTH2 = "02";
0869: public static final String MONTH3 = "03";
0870: public static final String MONTH4 = "04";
0871: public static final String MONTH5 = "05";
0872: public static final String MONTH6 = "06";
0873: public static final String MONTH7 = "07";
0874: public static final String MONTH8 = "08";
0875: public static final String MONTH9 = "09";
0876: public static final String MONTH10 = "10";
0877: public static final String MONTH11 = "11";
0878: public static final String MONTH12 = "12";
0879: public static final String MONTH13 = "13";
0880: public static final String PERIOD_CODE_ANNUAL_BALANCE = "AB";
0881: public static final String PERIOD_CODE_BEGINNING_BALANCE = "BB";
0882: public static final String PERIOD_CODE_CG_BEGINNING_BALANCE = "CB";
0883:
0884: public static final String REQUEST_SEARCH_RESULTS = "reqSearchResults";
0885: public static final String REQUEST_SEARCH_RESULTS_SIZE = "reqSearchResultsSize";
0886: public static final String GL_COLLECTOR_STAGING_DIRECTORY = "collector.staging.directory";
0887:
0888: public static final String DISBURSEMENT_VOUCHER_DOCUMENTATION_LOCATION_CODE_PROPERTY_NAME = "disbursementVoucherDocumentationLocationCode";
0889: public static final String FUND_GROUP_CODE_PROPERTY_NAME = "code";
0890: public static final String SUB_FUND_GROUP_CODE_PROPERTY_NAME = "subFundGroupCode";
0891:
0892: public static final String ACCOUNT_TYPE_S3 = "S3";
0893: public static final String RULE_CODE_R1 = "R1";
0894: public static final String RULE_CODE_R2 = "R2";
0895: public static final String RULE_CODE_N1 = "N1";
0896: public static final String RULE_CODE_N2 = "N2";
0897: public static final String RULE_CODE_C1 = "C1";
0898: public static final String RULE_CODE_C2 = "C2";
0899: public static final String RULE_CODE_A = "A";
0900: public static final String TRANSACTION_DT = "TRANSACTION_DT";
0901: public static final String UNALLOC_OBJECT_CD = "UNALLOC_OBJECT_CD";
0902: public static final String BEG_BUD_CASH_OBJECT_CD = "BEG_BUD_CASH_OBJECT_CD";
0903: public static final String FUND_BAL_OBJECT_CD = "FUND_BAL_OBJECT_CD";
0904: public static final String UNIV_FISCAL_YR = "UNIV_FISCAL_YR";
0905:
0906: public static final int DEFAULT_NUM_OF_COLUMNS = 1;
0907:
0908: public static final String EMPLOYEE_LOOKUP_ERRORS = "document.employeeLookups";
0909:
0910: public static class BudgetConstructionConstants {
0911:
0912: public enum LockStatus {
0913: SUCCESS, BY_OTHER, NO_DOOR, OPTIMISTIC_EX, FLOCK_FOUND
0914: }
0915:
0916: public static final int maxLockRetry = 20;
0917:
0918: /* KFSConstants for the CSF Tracker */
0919: public static final String ACTIVE_CSF_DELETE_CODE = "-";
0920:
0921: /* KFSConstants for the budget construction flag names */
0922: private static int NUMBER_OF_CTRL_FLAGS = 8;
0923: public final static String BUDGET_ADMINSTRATION_ACTIVE = "BAACTV";
0924: public final static String BASE_BUDGET_UPDATES_OK = "BASEAD";
0925: public final static String BUDGET_BATCH_SYNCHRONIZATION_OK = "BSSYNC";
0926: public final static String CSF_UPDATES_OK = "CSFUPD";
0927: public final static String BUDGET_CONSTRUCTION_ACTIVE = "BCACTV";
0928: public final static String BUDGET_CONSTRUCTION_GENESIS_RUNNING = "BCGENE";
0929: public final static String BUDGET_CONSTRUCTION_UPDATES_OK = "BCUPDT";
0930: public final static String BUDGET_ON_LINE_SYNCHRONIZATION_OK = "PSSYNC";
0931:
0932: /* state for current year budget construction flags after genesis */
0933: private static HashMap<String, String> buildCurrentYear() {
0934: HashMap<String, String> mapSLF;
0935: mapSLF = new HashMap<String, String>(NUMBER_OF_CTRL_FLAGS,
0936: (float) 1.00);
0937: mapSLF
0938: .put(BUDGET_ADMINSTRATION_ACTIVE,
0939: ParameterValues.YES);
0940: mapSLF.put(BASE_BUDGET_UPDATES_OK, ParameterValues.YES);
0941: mapSLF.put(BUDGET_BATCH_SYNCHRONIZATION_OK,
0942: ParameterValues.NO);
0943: mapSLF.put(CSF_UPDATES_OK, ParameterValues.NO);
0944: mapSLF.put(BUDGET_CONSTRUCTION_ACTIVE, ParameterValues.NO);
0945: mapSLF.put(BUDGET_CONSTRUCTION_GENESIS_RUNNING,
0946: ParameterValues.NO);
0947: mapSLF.put(BUDGET_CONSTRUCTION_UPDATES_OK,
0948: ParameterValues.NO);
0949: mapSLF.put(BUDGET_ON_LINE_SYNCHRONIZATION_OK,
0950: ParameterValues.NO);
0951: return mapSLF;
0952: }
0953:
0954: public final static HashMap<String, String> CURRENT_FSCL_YR_CTRL_FLAGS = buildCurrentYear();
0955:
0956: /* state for next year budget construction flags after genesis */
0957: private static HashMap<String, String> buildNextYear() {
0958: HashMap<String, String> mapSLF;
0959: mapSLF = new HashMap<String, String>(NUMBER_OF_CTRL_FLAGS,
0960: (float) 1.00);
0961: mapSLF.put(BUDGET_ADMINSTRATION_ACTIVE, ParameterValues.NO);
0962: mapSLF.put(BASE_BUDGET_UPDATES_OK, ParameterValues.NO);
0963: mapSLF.put(BUDGET_BATCH_SYNCHRONIZATION_OK,
0964: ParameterValues.YES);
0965: mapSLF.put(CSF_UPDATES_OK, ParameterValues.YES);
0966: mapSLF.put(BUDGET_CONSTRUCTION_ACTIVE, ParameterValues.YES);
0967: mapSLF.put(BUDGET_CONSTRUCTION_GENESIS_RUNNING,
0968: ParameterValues.NO);
0969: mapSLF.put(BUDGET_CONSTRUCTION_UPDATES_OK,
0970: ParameterValues.NO);
0971: mapSLF.put(BUDGET_ON_LINE_SYNCHRONIZATION_OK,
0972: ParameterValues.YES);
0973: return mapSLF;
0974: }
0975:
0976: public final static HashMap<String, String> NEXT_FSCL_YR_CTRL_FLAGS_AFTER_GENESIS = buildNextYear();
0977:
0978: /* appointment funding duration code for people NOT on leave */
0979: public final static String NO_LEAVE_INDICATED = "NONE";
0980:
0981: /* KFSConstants for the budget construction header */
0982: public final static String DEFAULT_BUDGET_HEADER_LOCK_IDS = null;
0983: public final static Integer INITIAL_ORGANIZATION_LEVEL_CODE = new Integer(
0984: 0);
0985: public final static String INITIAL_ORGANIZATION_LEVEL_CHART_OF_ACCOUNTS_CODE = null;
0986: public final static String INITIAL_ORGANIZATION_LEVEL_ORGANIZATION_CODE = null;
0987:
0988: /* Budget Construction document type */
0989: public final static String BUDGET_CONSTRUCTION_DOCUMENT_TYPE = "BC";
0990: public final static String BUDGET_CONSTRUCTION_DOCUMENT_NAME = "KualiBudgetConstructionDocument";
0991: public final static String BUDGET_CONSTRUCTION_DOCUMENT_DESCRIPTION = "Budget Construction";
0992: public final static String BUDGET_CONSTRUCTION_DOCUMENT_INITIAL_STATUS = "$";
0993: public final static String ORG_REVIEW_RULE_TEMPLATE = "KualiOrgReviewTemplate";
0994:
0995: /* codes used in the Calculated Salary Foundation (CSF) */
0996: public final static String VACANT_CSF_LINE = "V";
0997: public final static String UNFUNDED_CSF_LINE = "U";
0998: public final static String ACTIVE_CSF_LINE = "-";
0999: public final static String VACANT_EMPLID = "VACANT";
1000:
1001: /*
1002: * object code which stores amounts by which pending general ledger rows in budget construction are out of balance
1003: */
1004: public final static String OBJECT_CODE_2PLG = "2PLG";
1005: /*
1006: * initial sizes for hash maps used in genesis supposedly starting the map out with about the right amount of space makes
1007: * look-ups more efficient these numbers shouldn't need to be very precise
1008: */
1009: public final static Integer ESTIMATED_PENDING_GENERAL_LEDGER_ROWS = 70000;
1010: public final static Integer AVERAGE_REPORTING_TREE_SIZE = 4;
1011:
1012: }
1013:
1014: public static class OperationType {
1015: public static final String READ = "read";
1016: public static final String REPORT_ERROR = "with error";
1017: public static final String INSERT = "insert";
1018: public static final String UPDATE = "update";
1019: public static final String DELETE = "delete";
1020: public static final String SELECT = "select";
1021: }
1022:
1023: public static class PENDING_ENTRY_APPROVED_STATUS_CODE {
1024: public static final String APPROVED = "A";
1025: public static final String PROCESSED = "X";
1026: }
1027:
1028: public static class TableRenderConstants {
1029: public static final String SWITCH_TO_PAGE_METHOD = "switchToPage";
1030: public static final String SORT_METHOD = "sort";
1031: public static final String SELECT_ALL_METHOD = "selectAll";
1032: public static final String UNSELECT_ALL_METHOD = "unselectAll";
1033:
1034: public static final String PREVIOUSLY_SORTED_COLUMN_INDEX_PARAM = "previouslySortedColumnIndex";
1035: public static final String VIEWED_PAGE_NUMBER = "viewedPageNumber";
1036: }
1037:
1038: public static final String PCDO_FILE_TYPE_INDENTIFIER = "procurementCardInputFileType";
1039: public static final String COLLECTOR_FILE_TYPE_INDENTIFIER = "collectorInputFileType";
1040: public static final String ENTERPRISE_FEEDER_FILE_SET_TYPE_INDENTIFIER = "enterpriseFeederFileSetType";
1041:
1042: // next 3 variables for the enterprise feeder batch upload
1043: public static final String DATA_FILE_TYPE = "DATA";
1044: public static final String RECON_FILE_TYPE = "RECON";
1045:
1046: /**
1047: * The base implementation of {@link org.kuali.module.gl.util.EnterpriseFeederStatusBase} uses strings contained within
1048: * ApplicationResources.properties to store the human-readable descriptions of each status object. The fully qualified class
1049: * name is appended to the end of this key to generate the true key. For example,
1050: * gl.EnterpriseFeeder.StatusDescriptionPrefix.org.kuali.module.gl.util.FileReconBadLoadAbortedStatus
1051: */
1052: public static final String ENTERPRISE_FEEDER_STATUS_DESCRIPTION_PREFIX = "gl.EnterpriseFeeder.StatusDescription.";
1053:
1054: public static final String BATCH_STEP_RUNNER_JOB_NAME = "stepRunByBatchStepRunner";
1055:
1056: // Some static method calls below that could be done in static variables instead but isn't safe to do during class loading
1057: // w/SpringContext.
1058: private static String DASH_FINANCIAL_OBJECT_CODE = null;
1059:
1060: public static String getDashFinancialObjectCode() {
1061: if (DASH_FINANCIAL_OBJECT_CODE == null) {
1062: DASH_FINANCIAL_OBJECT_CODE = StringUtils
1063: .rightPad(
1064: "",
1065: SpringContext
1066: .getBean(
1067: DataDictionaryService.class)
1068: .getAttributeMaxLength(
1069: OriginEntryFull.class,
1070: KFSPropertyConstants.FINANCIAL_OBJECT_CODE),
1071: '-');
1072: }
1073: return DASH_FINANCIAL_OBJECT_CODE;
1074: }
1075:
1076: private static String DASH_FINANCIAL_SUB_OBJECT_CODE = null;
1077:
1078: public static String getDashFinancialSubObjectCode() {
1079: if (DASH_FINANCIAL_SUB_OBJECT_CODE == null) {
1080: DASH_FINANCIAL_SUB_OBJECT_CODE = StringUtils
1081: .rightPad(
1082: "",
1083: SpringContext
1084: .getBean(
1085: DataDictionaryService.class)
1086: .getAttributeMaxLength(
1087: OriginEntryFull.class,
1088: KFSPropertyConstants.FINANCIAL_SUB_OBJECT_CODE),
1089: '-');
1090: }
1091: return DASH_FINANCIAL_SUB_OBJECT_CODE;
1092: }
1093:
1094: private static String DASH_SUB_ACCOUNT_NUMBER = null;
1095:
1096: public static String getDashSubAccountNumber() {
1097: if (DASH_SUB_ACCOUNT_NUMBER == null) {
1098: DASH_SUB_ACCOUNT_NUMBER = StringUtils
1099: .rightPad(
1100: "",
1101: SpringContext
1102: .getBean(
1103: DataDictionaryService.class)
1104: .getAttributeMaxLength(
1105: OriginEntryFull.class,
1106: KFSPropertyConstants.SUB_ACCOUNT_NUMBER),
1107: '-');
1108: }
1109: return DASH_SUB_ACCOUNT_NUMBER;
1110: }
1111:
1112: private static String SPACE_SUB_ACCOUNT_NUMBER = null;
1113:
1114: public static String getSpaceSubAccountNumber() {
1115: if (SPACE_SUB_ACCOUNT_NUMBER == null) {
1116: SPACE_SUB_ACCOUNT_NUMBER = StringUtils
1117: .rightPad(
1118: "",
1119: SpringContext
1120: .getBean(
1121: DataDictionaryService.class)
1122: .getAttributeMaxLength(
1123: OriginEntryFull.class,
1124: KFSPropertyConstants.SUB_ACCOUNT_NUMBER),
1125: ' ');
1126: }
1127: return SPACE_SUB_ACCOUNT_NUMBER;
1128: }
1129:
1130: private static String DASH_PROJECT_CODE = null;
1131:
1132: public static String getDashProjectCode() {
1133: if (DASH_PROJECT_CODE == null) {
1134: DASH_PROJECT_CODE = StringUtils.rightPad("", SpringContext
1135: .getBean(DataDictionaryService.class)
1136: .getAttributeMaxLength(OriginEntryFull.class,
1137: KFSPropertyConstants.PROJECT_CODE), '-');
1138: }
1139: return DASH_PROJECT_CODE;
1140: }
1141:
1142: private static String DASH_POSITION_NUMBER = null;
1143:
1144: public static String getDashPositionNumber() {
1145: if (DASH_POSITION_NUMBER == null) {
1146: DASH_POSITION_NUMBER = StringUtils
1147: .rightPad(
1148: "",
1149: SpringContext
1150: .getBean(
1151: DataDictionaryService.class)
1152: .getAttributeMaxLength(
1153: LaborOriginEntry.class,
1154: KFSPropertyConstants.POSITION_NUMBER),
1155: '-');
1156: }
1157: return DASH_POSITION_NUMBER;
1158: }
1159:
1160: private static String DASH_EMPLID = null;
1161:
1162: public static String getDashEmplId() {
1163: if (DASH_EMPLID == null) {
1164: DASH_EMPLID = StringUtils.rightPad("", SpringContext
1165: .getBean(DataDictionaryService.class)
1166: .getAttributeMaxLength(LaborOriginEntry.class,
1167: KFSPropertyConstants.EMPLID), '-');
1168: }
1169: return DASH_EMPLID;
1170: }
1171: }
|