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,
                                          org.alfresco.service.cmr.rule.Rule ruleToUpdate)
                                   throws org.json.JSONException
        Throws:
        org.json.JSONException
      • updateActionFromJson

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

        protected org.alfresco.service.cmr.action.ActionCondition updateActionConditionFromJson​(org.json.JSONObject jsonCondition,
                                                                                                org.alfresco.repo.action.ActionConditionImpl conditionToUpdate)
                                                                                         throws org.json.JSONException
        Throws:
        org.json.JSONException