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 025 // node types 026 public static final String NODE_TYPE_SUBRULEHEADER = "subruleHeader"; 027 public static final String NODE_TYPE_SUBRULEELEMENT = "subruleElement"; 028 public static final String NODE_TYPE_COMPAREELEMENT = "compareElement"; 029 public static final String NODE_TYPE_VIEWELEMENT = "viewElement"; 030 031 // Parameters 032 public static final String KRMS_PARM_RULE_KEY = "ruleKey"; 033 public static final String KRMS_PARM_ACTIVE_TAB = "activeTab"; 034 public static final String KRMS_PARM_SELECTED_KEY = "selectedKey"; 035 036 // Message Keys 037 public static final String KRMS_MSG_ERROR_LOGIC_EXPRESSION_START = "error.krms.logic.expression.start"; 038 public static final String KRMS_MSG_ERROR_PARENTHESIS_NOT_PAIR = "error.krms.logic.parenthesis.notpair"; 039 public static final String KRMS_MSG_ERROR_OPERATOR_TYPE = "error.krms.logic.operator.type"; 040 public static final String KRMS_MSG_ERROR_PRECEDE_OPERATOR = "error.krms.logic.precede.operator"; 041 public static final String KRMS_MSG_ERROR_FOLLOW_OPERATOR = "error.krms.logic.follow.operator"; 042 public static final String KRMS_MSG_ERROR_PRECEDE_OR = "error.krms.logic.precede.or"; 043 public static final String KRMS_MSG_ERROR_FOLLOW_OR = "error.krms.logic.follow.or"; 044 public static final String KRMS_MSG_ERROR_FOLLOW_START_PARENTHESIS = "error.krms.logic.follow.start.parenthesis"; 045 public static final String KRMS_MSG_ERROR_PRECEDE_END_PARENTHESIS = "error.krms.logic.precede.end.parenthesis"; 046 public static final String KRMS_MSG_ERROR_FOLLOW_END_PARENTHESIS = "error.krms.logic.follow.end.parenthesis"; 047 public static final String KRMS_MSG_ERROR_PRECEDE_CONDITION = "error.krms.logic.precede.condition"; 048 public static final String KRMS_MSG_ERROR_FOLLOW_CONDITION = "error.krms.logic.follow.condition"; 049 public static final String KRMS_MSG_ERROR_RULE_PREVIEW = "error.krms.rule.preview"; 050 051 052}