1 package org.kuali.rice.krms.util;
2
3
4
5
6
7
8
9
10 public class KRMSConstants {
11
12
13 public static final String KRMS_AGENDA_MAINTENANCE_PAGE_ID = "KRMS-AgendaMaintenance-Page";
14 public static final String KRMS_RULE_MAINTENANCE_PAGE_ID = "KRMS-RuleMaintenance-Page";
15 public static final String KRMS_RULE_TREE_GROUP_ID = "KRMS-RuleEditor-TreeGroup";
16 public static final String KRMS_RULE_TABS_ID = "KRMS-TabsWidget";
17 public static final String KRMS_RULE_EDITWITHOBJECT_ID = "KRMS-EditWithObject-EditSection";
18 public static final String KRMS_RULE_EDITWITHLOGIC_ID = "KRMS-EditWithLogic-EditSection";
19 public static final String KRMS_PROPOSITION_DETAILSECTION_ID = "KRMS-PropositionEdit-DetailSection";
20
21
22 public static final String KSKRMS_DIALOG_YESNO_WARNING = "warningMessagedYesNo";
23 public static final String KSKRMS_DIALOG_COMPARE = "compareRuleLightBox";
24 public static final String KSKRMS_DIALOG_RULE_OPLOCK_ERROR = "ruleOpLockErrorDialog";
25
26
27 public static final String NODE_TYPE_SUBRULEHEADER = "subruleHeader";
28 public static final String NODE_TYPE_SUBRULEELEMENT = "subruleElement";
29 public static final String NODE_TYPE_COMPAREELEMENT = "compareElement";
30 public static final String NODE_TYPE_VIEWELEMENT = "viewElement";
31
32
33 public static final String KRMS_PARM_RULE_KEY = "ruleKey";
34 public static final String KRMS_PARM_ACTIVE_TAB = "activeTab";
35 public static final String KRMS_PARM_SELECTED_KEY = "selectedKey";
36
37
38 public static final String KRMS_MSG_ERROR_LOGIC_EXPRESSION_START = "error.krms.logic.expression.start";
39 public static final String KRMS_MSG_ERROR_PARENTHESIS_NOT_PAIR = "error.krms.logic.parenthesis.notpair";
40 public static final String KRMS_MSG_ERROR_OPERATOR_TYPE = "error.krms.logic.operator.type";
41 public static final String KRMS_MSG_ERROR_PRECEDE_OPERATOR = "error.krms.logic.precede.operator";
42 public static final String KRMS_MSG_ERROR_FOLLOW_OPERATOR = "error.krms.logic.follow.operator";
43 public static final String KRMS_MSG_ERROR_PRECEDE_OR = "error.krms.logic.precede.or";
44 public static final String KRMS_MSG_ERROR_FOLLOW_OR = "error.krms.logic.follow.or";
45 public static final String KRMS_MSG_ERROR_FOLLOW_START_PARENTHESIS = "error.krms.logic.follow.start.parenthesis";
46 public static final String KRMS_MSG_ERROR_PRECEDE_END_PARENTHESIS = "error.krms.logic.precede.end.parenthesis";
47 public static final String KRMS_MSG_ERROR_FOLLOW_END_PARENTHESIS = "error.krms.logic.follow.end.parenthesis";
48 public static final String KRMS_MSG_ERROR_PRECEDE_CONDITION = "error.krms.logic.precede.condition";
49 public static final String KRMS_MSG_ERROR_FOLLOW_CONDITION = "error.krms.logic.follow.condition";
50 public static final String KRMS_MSG_ERROR_INVALID_CONDITION = "error.krms.logic.invalid.condition";
51 public static final String KRMS_MSG_ERROR_RULE_PREVIEW = "error.krms.rule.preview";
52 public static final String KSKRMS_MSG_ERROR_NO_PRIOR_COURSEOFFERING_TERM_FOUND = "error.enroll.courseoffering.noPriorTermCourseOfferingIsFound";
53 public static final String KSKRMS_MSG_ERROR_NO_ASOF_COURSEOFFERING_TERM_FOUND = "error.enroll.courseoffering.noAsOfTermCourseOfferingIsFound";
54 public static final String KSKRMS_MSG_ERROR_NO_BETWEEN_COURSEOFFERING_TERM_FOUND = "error.enroll.courseoffering.noBetweenTermsCourseOfferingIsFound";
55 public static final String KSKRMS_MSG_INFO_LOGIC_NO_STATEMENTS = "info.krms.logic.rule.no.statements";
56
57
58 public static final String KRMS_MSG_ERROR_RULE_UPDATE = "error.krms.rule.update";
59 public static final String KRMS_MSG_ERROR_RDL_WEEKDAYS = "error.krms.rule.rdl.weekdays";
60 public static final String KRMS_MSG_ERROR_RDL_WEEKDAYS_INVALID = "error.krms.rule.rdl.weekdays.invalid";
61 public static final String KRMS_MSG_ERROR_RDL_STARTTIME = "error.krms.rule.rdl.startTime";
62 public static final String KRMS_MSG_ERROR_RDL_STARTTIME_AMPM = "error.krms.rule.rdl.startTimeAMPM";
63 public static final String KRMS_MSG_ERROR_RDL_ENDTIME = "error.krms.rule.rdl.endTime";
64 public static final String KRMS_MSG_ERROR_RDL_ENDTIME_AMPM = "error.krms.rule.rdl.endTimeAMPM";
65 public static final String KRMS_MSG_ERROR_RDL_FACILITY = "error.krms.rule.rdl.facility";
66 public static final String KRMS_MSG_ERROR_RDL_ROOM = "error.krms.rule.rdl.room";
67
68
69 public static final String ROOT_TYPE = "treeRoot";
70 public static final String NODE_TYPE = "ruleTreeNode";
71 public static final String COMPOUND_NODE_TYPE = NODE_TYPE + " compoundNode";
72 public static final String COMPOUND_OP_NODE_TYPE = NODE_TYPE + " compoundOpCodeNode";
73 public static final String FIRST_IN_GROUP = "firstInGroup";
74 public static final String LAST_IN_GROUP = "lastInGroup";
75 public static final String DISABLE_MOVE_IN = "disableMoveRight";
76 public static final String DISABLE_MOVE_OUT = "disableMoveLeft";
77
78 public static final String EDIT_NODE_TYPE = NODE_TYPE + " editNode";
79 public static final String SIMPLE_NODE_TYPE = NODE_TYPE + " simpleNode";
80
81 }