Class RulePut
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.repo.web.scripts.rule.AbstractRuleWebScript
org.alfresco.repo.web.scripts.rule.RulePost
org.alfresco.repo.web.scripts.rule.RulePut
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
- Author:
- unknown
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails -
Field Summary
Fields inherited from class org.alfresco.repo.web.scripts.rule.AbstractRuleWebScript
actionService, CANNOT_CREATE_RULE, dateFormate, dictionaryService, fileFolderService, namespaceService, nodeService, ruleService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) protected ActionConditionupdateActionConditionFromJson(org.json.JSONObject jsonCondition, ActionConditionImpl conditionToUpdate) protected ActionupdateActionFromJson(org.json.JSONObject jsonAction, ActionImpl actionToUpdate) protected voidupdateRuleFromJSON(org.json.JSONObject jsonRule, Rule ruleToUpdate) Methods inherited from class org.alfresco.repo.web.scripts.rule.AbstractRuleWebScript
checkRule, parseJsonAction, parseJsonActionCondition, parseJsonParameterValues, parseJsonRule, parseRequestForNodeRef, setActionService, setDictionaryService, setFileFolderService, setNamespaceService, setNodeService, setRuleService, setRuntimeActionServiceMethods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateMethods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
Constructor Details
-
RulePut
public RulePut()
-
-
Method Details
-
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:
executeImplin classRulePost
-
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
-