isCreateOverwrite(String xml) Called by the CreateRuleViewbean to check if the current ruleset is
overwriting an existing rule.
public boolean
isEditOverwrite(String ruleOrigName, String editedXML) This method is called by the EditRuleSet viewbean to check if another
ruleset exists with the same ID as in the edited xml ruleset.
Called by the CreateRuleViewbean to check if the current ruleset is
overwriting an existing rule.
Parameters: xml - New ruleset XML as String throws: InvalidXMLException - when the XML input is not valid RuleSet XML true if a ruleSet exists with the same ID as new ruleset thatis created
This method is called by the EditRuleSet viewbean to check if another
ruleset exists with the same ID as in the edited xml ruleset.
Parameters: ruleOrigName - Original name of the ruleset that is being edited Parameters: editedXML - Modified XML as String throws: InvalidXMLException - when the input XML data is not avalid RuleSet XML true if another ruleset exists with the same ID
Saves the modified XML
Parameters: xml - XML data to save Parameters: isEdit - value is set to true if the save operation is done after anedit operation throws: InvalidXMLException - when the XML data is not a valid Ruleset XML