001: /*
002: * Copyright 2005-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.opensource.org/licenses/ecl1.php
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: package org.kuali.module.kra;
017:
018: /**
019: * Holds error key constants for KRA.
020: */
021: public class KraKeyConstants {
022:
023: // KRA confirmation messages
024: public static final String QUESTION_KRA_DELETE_CONFIRMATION = "document.question.deleteContext.text";
025:
026: // KRA specific Error Codes
027: public static final String ERROR_INVALID_PERIOD_LENGTH = "error.invalidPeriodLength";
028: public static final String ERROR_INVALID_ORDERING = "error.invalidOrdering";
029: public static final String ERROR_NONCONSECUTIVE = "error.nonconsecutive";
030: public static final String ERROR_NOT_ENOUGH = "error.notEnough";
031: public static final String ERROR_TOO_MANY = "error.tooMany";
032: public static final String ERROR_MODULAR_TOO_MANY = "error.modular.notEnough";
033: public static final String ERROR_MISSING = "error.missing";
034: public static final String ERROR_INVALID_VALUE = "error.invalidValue";
035: public static final String ERROR_MODULAR_VARIABLE = "error.modular.variable";
036: public static final String ERROR_MODULAR_PERSONNEL = "error.modular.personnel";
037: public static final String ERROR_GRAD_RATE_CHANGE_JUSTIFICATION_REQUIRED = "error.gradRateChangeJustificationRequired";
038: public static final String ERROR_GRAD_RATE_TOO_HIGH = "error.gradRateTooHigh";
039: public static final String ERROR_FRINGE_RATE_CHANGE_JUSTIFICATION_REQUIRED = "error.fringeRateChangeJustificationRequired";
040: public static final String ERROR_MODULAR_TOO_LARGE = "error.modular.tooLarge";
041: public static final String ERROR_PERSONNEL_SALARY_CHANGE_JUSTIFICATION_REQUIRED = "error.personnel.salary.change.justification.required";
042: public static final String ERROR_PERSONNEL_PERIOD_EFFORT_TOO_MUCH = "error.personnel.period.effort.tooMuch";
043: public static final String ERROR_PERSONNEL_PERIOD_EFFORT_TOO_MUCH_SUMMER = "error.personnel.period.effort.summer.tooMuch";
044: public static final String ERROR_PERSONNEL_SUMMER_WEEKS_TOO_MUCH = "errors.summer.weeks.tooMuch";
045: public static final String ERROR_PERSON_ALREADY_EXISTS_ON_BUDGET = "errors.person.already.exists";
046: public static final String ERROR_PERSON_NOT_SELECTED = "errors.person.not.selected";
047: public static final String ERROR_UNRECOVERED_INDIRECT_COST_NOT_POSSIBLE = "error.unrecoveredIndirectCostNotPossible";
048: public static final String ERROR_INDIRECT_COST_MANUAL_JUSTIFICATION_REQUIRED = "error.indirectCostManualJustificationRequired";
049: public static final String ERROR_FEE_REMISSION_DISTRIBUTION = "error.feeRemissionDistribution";
050: public static final String ERROR_PER_CREDIT_HOUR_AMOUNT_ABOVE_MAXIMUM = "error.perCreditHourAmount.aboveMaximum";
051: public static final String ERROR_NO_PERSON_SELECTED = "error.noPermissionSelected";
052: public static final String ERROR_NO_ORG_SELECTED = "error.noOrgSelected";
053: public static final String ERROR_INDIRECT_COST_MANUAL_RATE_TOO_BIG = "error.indirectCost.manualRate.tooBig";
054: public static final String ERROR_INDIRECT_COST_RATE_MALFORMED = "error.indirectCost.costRate.invalidFormat";
055: public static final String ERROR_APPOINTMENT_TYPE_RELATED_TYPE_CODE = "error.appointmentType.relatedTypeCode.invalid";
056: public static final String ERROR_PARAMETERS_DATES_MISSING = "error.parameters.dates.missing";
057:
058: // KRA Audit Errors
059: public static final String AUDIT_COST_SHARE_INSTITUTION_DISTRIBUTED = "audit.costShare.institution.distributed";
060: public static final String AUDIT_COST_SHARE_3P_DISTRIBUTED = "audit.costShare.3p.distributed";
061: public static final String AUDIT_MODULAR_CONSORTIUM = "audit.modular.consortium";
062: public static final String AUDIT_PERSONNEL_STATUS = "audit.personnel.status";
063: public static final String AUDIT_NONPERSONNEL_SUBCONTRACTOR_EXCESS_AMOUNT = "audit.nonpersonnel.subcontractorExceesAmount";
064: public static final String AUDIT_PARAMETERS_NEGATIVE_IDC = "audit.parameters.negativeIdc";
065: public static final String AUDIT_OTHER_PROJECT_DETAILS_NOT_SELECTED = "audit.other.project.details.not.selected";
066:
067: // Agency/Delivery Info
068: public static final String AUDIT_MAIN_PAGE_AGENCY_REQUIRED = "audit.mainPage.agency.required";
069: public static final String AUDIT_MAIN_PAGE_DUE_DATE_TYPE_REQUIRED = "audit.mainPage.due.date.type.required";
070: public static final String AUDIT_MAIN_PAGE_COPIES_REQUIRED = "audit.mainPage.copies.required";
071: public static final String AUDIT_MAIN_PAGE_ADDRESS_REQUIRED = "audit.mainPage.address.required";
072:
073: // Personnel and Units/Orgs
074: public static final String AUDIT_MAIN_PAGE_PERSON_REQUIRED = "audit.mainPage.person.required";
075: public static final String AUDIT_MAIN_PAGE_PERSON_NOT_PD = "audit.mainPage.person.not.pd";
076: public static final String AUDIT_MAIN_PAGE_PERSON_ROLE_CODE_REQUIRED = "audit.mainPage.person.role.code.required";
077: public static final String AUDIT_MAIN_PAGE_PERSON_ROLE_TEXT_REQUIRED = "audit.mainPage.person.role.text.required";
078: public static final String AUDIT_MAIN_PAGE_PERSON_FA_REQUIRED = "audit.mainPage.person.fa.required";
079: public static final String AUDIT_MAIN_PAGE_PERSON_CREDIT_REQUIRED = "audit.mainPage.person.credit.required";
080: public static final String AUDIT_MAIN_PAGE_PD_REQUIRED = "audit.mainPage.pd.required";
081: public static final String AUDIT_MAIN_PAGE_ONLY_ONE_PD = "audit.mainPage.only.one.pd.required";
082: public static final String AUDIT_MAIN_PAGE_ORG_FA_REQUIRED = "audit.mainPage.org.fa.required";
083: public static final String AUDIT_MAIN_PAGE_ORG_CREDIT_REQUIRED = "audit.mainPage.org.credit.required";
084: public static final String AUDIT_MAIN_PAGE_TOTAL_CREDIT_PERCENT_NOT_100 = "audit.mainPage.total.credit.percent.not.100";
085: public static final String AUDIT_MAIN_PAGE_TOTAL_FA_PERCENT_NOT_100 = "audit.mainPage.total.fa.percent.not.100";
086:
087: // Submission Details
088: public static final String AUDIT_MAIN_PAGE_SUBMISSION_TYPE_REQUIRED = "audit.mainPage.submission.type.required";
089: public static final String AUDIT_MAIN_PAGE_SUBMISSION_TYPE_FEDID_REQUIRED = "audit.mainPage.submission.type.fedid.required";
090: public static final String AUDIT_MAIN_PAGE_PROJECT_TYPE_REQUIRED = "audit.mainPage.project.type.required";
091: public static final String AUDIT_MAIN_PAGE_PROJECT_TYPE_OTHER_REQUIRED = "audit.mainPage.project.type.other.required";
092: public static final String AUDIT_MAIN_PAGE_PROJECT_TYPE_INVALID = "audit.mainPage.project.type.invalid";
093: public static final String AUDIT_MAIN_PAGE_PROJECT_TYPE_NEW_AND_PRIOR_GRANT = "audit.mainPage.project.type.new.and.prior.grant";
094: public static final String AUDIT_MAIN_PAGE_PROJECT_TYPE_SELECTION_AND_GRANT = "audit.mainPage.project.type.selection.and.grant";
095: public static final String AUDIT_MAIN_PAGE_PURPOSE_REQUIRED = "audit.mainPage.purpose.required";
096: public static final String AUDIT_MAIN_PAGE_PURPOSE_RESEARCH_TYPE_REQUIRED = "audit.mainPage.purpose.research.type.required";
097: public static final String AUDIT_MAIN_PAGE_PURPOSE_OTHER_REQUIRED = "audit.mainPage.purpose.other.required";
098: public static final String AUDIT_MAIN_PAGE_TITLE_REQUIRED = "audit.mainPage.title.required";
099: public static final String AUDIT_MAIN_PAGE_LAY_DESCRIPTION_REQUIRED = "audit.mainPage.lay.description.required";
100: public static final String AUDIT_MAIN_PAGE_ABSTRACT_REQUIRED = "audit.mainPage.abstract.required";
101:
102: // Amounts & Dates
103: public static final String AUDIT_MAIN_PAGE_DIRECT_REQUIRED = "audit.mainPage.direct.required";
104: public static final String AUDIT_MAIN_PAGE_INDIRECT_REQUIRED = "audit.mainPage.indirect.required";
105: public static final String AUDIT_MAIN_PAGE_START_DATE_REQUIRED = "audit.mainPage.start.date.required";
106: public static final String AUDIT_MAIN_PAGE_END_DATE_REQUIRED = "audit.mainPage.end.date.required";
107: public static final String AUDIT_MAIN_PAGE_TOTAL_DIRECT_REQUIRED = "audit.mainPage.total.direct.required";
108: public static final String AUDIT_MAIN_PAGE_TOTAL_INDIRECT_REQUIRED = "audit.mainPage.total.indirect.required";
109: public static final String AUDIT_MAIN_PAGE_TOTAL_START_DATE_REQUIRED = "audit.mainPage.total.start.date.required";
110: public static final String AUDIT_MAIN_PAGE_TOTAL_END_DATE_REQUIRED = "audit.mainPage.total.end.date.required";
111: public static final String AUDIT_MAIN_PAGE_DIRECT_GREATER_TOTAL_DIRECT = "audit.mainPage.direct.greater.total.direct";
112: public static final String AUDIT_MAIN_PAGE_INDIRECT_GREATER_TOTAL_INDIRECT = "audit.mainPage.indirect.greater.total.indirect";
113: public static final String AUDIT_MAIN_PAGE_START_DATE_GREATER_TOTAL_START_DATE = "audit.mainPage.start.date.greater.total.start.date";
114: public static final String AUDIT_MAIN_PAGE_END_DATE_LESS_TOTAL_END_DATE = "audit.mainPage.end.date.less.total.end.date";
115: public static final String AUDIT_MAIN_PAGE_DIRECT_LESS_INDIRECT = "audit.mainPage.direct.less.indirect";
116: public static final String AUDIT_MAIN_PAGE_TOTAL_DIRECT_LESS_TOTAL_INDIRECT = "audit.mainPage.total.direct.less.total.indirect";
117: public static final String AUDIT_MAIN_PAGE_START_DATE_BEFORE_END_DATE = "audit.mainPage.start.date.before.end.date";
118: public static final String AUDIT_MAIN_PAGE_TOTAL_START_DATE_BEFORE_TOTAL_END_DATE = "audit.mainPage.total.start.date.before.total.end.date";
119: public static final String AUDIT_MAIN_PAGE_SUBCONTRACTOR_TOTAL_GREATER_DIRECT = "audit.mainPage.subcontractor.total.greater.direct";
120:
121: public static final String ERROR_INVALID_AMOUNT_POSITIVE_ONLY = "error.invalid.amount.positive.only";
122: public static final String ERROR_INVALID_AMOUNT_NOT_NEGATIVE = "error.invalid.amount.not.negative";
123: public static final String ERROR_ORG_ALREADY_EXISTS_ON_RF = "error.org.already.exists.on.rf";
124: public static final String ERROR_ACCOUNT_ALREADY_EXISTS_ON_RF = "error.account.already.exists.on.rf";
125: public static final String ERROR_ORG_NOT_FOUND = "error.org.not.found";
126: public static final String ERROR_SUBCONTRACTOR_NOT_FOUND = "error.subcontractor.not.found";
127: public static final String ERROR_SUBCONTRACTOR_NOT_SELECTED = "error.subcontractor.not.selected";
128: public static final String ERROR_SUBCONTRACTOR_ALREADY_EXISTS_ON_RF = "error.subcontractor.already.exists.on.rf";
129: public static final String ERROR_FRINGE_RATE_TOO_LARGE = "error.fringeRate.tooLarge";
130: public static final String ERROR_PERSON_NOT_NAMED = "error.person.not.named";
131:
132: // Routing Form Research Risks page errors
133: public static final String ERROR_APPROVAL_DATE_REQUIRED = "error.approvalDate.required";
134: public static final String ERROR_APPROVAL_DATE_REMOVE = "error.approvalDate.remove";
135: public static final String ERROR_EXPIRATION_DATE_REMOVE = "error.expirationDate.remove";
136: public static final String ERROR_EXEMPTION_NUMBER_REQUIRED = "error.exemptionNumber.required";
137: public static final String ERROR_EXEMPTION_NUMBER_REMOVE = "error.exemptionNumber.remove";
138: public static final String ERROR_HUMAN_SUBJECTS_APPROVAL_DATE_TOO_OLD = "error.humanSubjects.approvalDate.tooOld";
139: public static final String ERROR_ANIMALS_APPROVAL_DATE_TOO_OLD = "error.animals.approvalDate.tooOld";
140: public static final String ERROR_EXPIRATION_DATE_TOO_EARLY = "error.expiration.tooEarly";
141:
142: // Module Link page
143: public static final String ERROR_BUDGET_ALREADY_LINKED = "error.budget.already.linked";
144: public static final String ERROR_DOCUMENT_NUMBER_NOT_BUDGET_DOCUMENT = "error.document.number.not.budget";
145: public static final String ERROR_DOCUMENT_NUMBER_NOT_EXIST = "error.document.number.not.exist";
146: public static final String ERROR_SELECTED_PERIODS_CONSECUTIVE = "error.selected.periods.consecutive";
147: public static final String ERROR_AT_LEAST_ONE_PERIOD = "error.at.least.one.period";
148:
149: // Global Messages
150: public static final Object BUDGET_OVERRIDE = "document.budget.override";
151:
152: }
|