Class RulePut

  • All Implemented Interfaces:
    org.springframework.extensions.webscripts.WebScript

    public class RulePut
    extends RulePost
    Author:
    unknown
    • Constructor Detail

      • RulePut

        public RulePut()
    • Method Detail

      • executeImpl

        protected Map<String,​Object> executeImpl​(org.springframework.extensions.webscripts.WebScriptRequest req,
                                                       org.springframework.extensions.webscripts.Status status,
                                                       org.springframework.extensions.webscripts.Cache cache)
        Overrides:
        executeImpl in class RulePost
      • updateRuleFromJSON

        protected void updateRuleFromJSON​(org.json.JSONObject jsonRule,
                                          Rule ruleToUpdate)
                                   throws org.json.JSONException
        Throws:
        org.json.JSONException
      • updateActionFromJson

        protected Action updateActionFromJson​(org.json.JSONObject jsonAction,
                                              ActionImpl actionToUpdate)
                                       throws org.json.JSONException
        Throws:
        org.json.JSONException
      • updateActionConditionFromJson

        protected ActionCondition updateActionConditionFromJson​(org.json.JSONObject jsonCondition,
                                                                ActionConditionImpl conditionToUpdate)
                                                         throws org.json.JSONException
        Throws:
        org.json.JSONException