001package org.kuali.rice.krms.util;
002
003/**
004 * Created with IntelliJ IDEA.
005 * User: SW Genis
006 * Date: 2013/06/28
007 * Time: 4:18 PM
008 * To change this template use File | Settings | File Templates.
009 */
010public class KRMSConstants {
011
012    // Bean references
013    public static final String KRMS_AGENDA_MAINTENANCE_PAGE_ID = "KRMS-AgendaMaintenance-Page";
014    public static final String KRMS_RULE_MAINTENANCE_PAGE_ID = "KRMS-RuleMaintenance-Page";
015    public static final String KRMS_RULE_TREE_GROUP_ID = "KRMS-RuleEditor-TreeGroup";
016    public static final String KRMS_RULE_TABS_ID = "KRMS-TabsWidget";
017    public static final String KRMS_RULE_EDITWITHOBJECT_ID = "KRMS-EditWithObject-EditSection";
018    public static final String KRMS_RULE_EDITWITHLOGIC_ID = "KRMS-EditWithLogic-EditSection";
019    public static final String KRMS_PROPOSITION_DETAILSECTION_ID = "KRMS-PropositionEdit-DetailSection";
020
021    // dialogs
022    public static final String KSKRMS_DIALOG_YESNO_WARNING = "warningMessagedYesNo";
023    public static final String KSKRMS_DIALOG_COMPARE = "compareRuleLightBox";
024    public static final String KSKRMS_DIALOG_RULE_OPLOCK_ERROR = "ruleOpLockErrorDialog";
025
026    // node types
027    public static final String NODE_TYPE_SUBRULEHEADER = "subruleHeader";
028    public static final String NODE_TYPE_SUBRULEELEMENT = "subruleElement";
029    public static final String NODE_TYPE_COMPAREELEMENT = "compareElement";
030    public static final String NODE_TYPE_VIEWELEMENT = "viewElement";
031
032    // Parameters
033    public static final String KRMS_PARM_RULE_KEY = "ruleKey";
034    public static final String KRMS_PARM_ACTIVE_TAB = "activeTab";
035    public static final String KRMS_PARM_SELECTED_KEY = "selectedKey";
036
037    // Message Keys
038    public static final String KRMS_MSG_ERROR_LOGIC_EXPRESSION_START = "error.krms.logic.expression.start";
039    public static final String KRMS_MSG_ERROR_PARENTHESIS_NOT_PAIR = "error.krms.logic.parenthesis.notpair";
040    public static final String KRMS_MSG_ERROR_OPERATOR_TYPE = "error.krms.logic.operator.type";
041    public static final String KRMS_MSG_ERROR_PRECEDE_OPERATOR = "error.krms.logic.precede.operator";
042    public static final String KRMS_MSG_ERROR_FOLLOW_OPERATOR = "error.krms.logic.follow.operator";
043    public static final String KRMS_MSG_ERROR_PRECEDE_OR = "error.krms.logic.precede.or";
044    public static final String KRMS_MSG_ERROR_FOLLOW_OR = "error.krms.logic.follow.or";
045    public static final String KRMS_MSG_ERROR_FOLLOW_START_PARENTHESIS = "error.krms.logic.follow.start.parenthesis";
046    public static final String KRMS_MSG_ERROR_PRECEDE_END_PARENTHESIS = "error.krms.logic.precede.end.parenthesis";
047    public static final String KRMS_MSG_ERROR_FOLLOW_END_PARENTHESIS = "error.krms.logic.follow.end.parenthesis";
048    public static final String KRMS_MSG_ERROR_PRECEDE_CONDITION = "error.krms.logic.precede.condition";
049    public static final String KRMS_MSG_ERROR_FOLLOW_CONDITION = "error.krms.logic.follow.condition";
050    public static final String KRMS_MSG_ERROR_INVALID_CONDITION = "error.krms.logic.invalid.condition";
051    public static final String KRMS_MSG_ERROR_RULE_PREVIEW = "error.krms.rule.preview";
052    public static final String KSKRMS_MSG_ERROR_NO_PRIOR_COURSEOFFERING_TERM_FOUND = "error.enroll.courseoffering.noPriorTermCourseOfferingIsFound";
053    public static final String KSKRMS_MSG_ERROR_NO_ASOF_COURSEOFFERING_TERM_FOUND = "error.enroll.courseoffering.noAsOfTermCourseOfferingIsFound";
054    public static final String KSKRMS_MSG_ERROR_NO_BETWEEN_COURSEOFFERING_TERM_FOUND = "error.enroll.courseoffering.noBetweenTermsCourseOfferingIsFound";
055    public static final String KSKRMS_MSG_INFO_LOGIC_NO_STATEMENTS = "info.krms.logic.rule.no.statements";
056
057    // Final Exams Message Keys
058    public static final String KRMS_MSG_ERROR_RULE_UPDATE = "error.krms.rule.update";
059    public static final String KRMS_MSG_ERROR_RDL_WEEKDAYS = "error.krms.rule.rdl.weekdays";
060    public static final String KRMS_MSG_ERROR_RDL_WEEKDAYS_INVALID = "error.krms.rule.rdl.weekdays.invalid";
061    public static final String KRMS_MSG_ERROR_RDL_STARTTIME = "error.krms.rule.rdl.startTime";
062    public static final String KRMS_MSG_ERROR_RDL_STARTTIME_AMPM = "error.krms.rule.rdl.startTimeAMPM";
063    public static final String KRMS_MSG_ERROR_RDL_ENDTIME = "error.krms.rule.rdl.endTime";
064    public static final String KRMS_MSG_ERROR_RDL_ENDTIME_AMPM = "error.krms.rule.rdl.endTimeAMPM";
065    public static final String KRMS_MSG_ERROR_RDL_FACILITY = "error.krms.rule.rdl.facility";
066    public static final String KRMS_MSG_ERROR_RDL_ROOM = "error.krms.rule.rdl.room";
067
068}