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
public class RulePut extends RulePost
- Author:
- unknown
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.web.scripts.rule.AbstractRuleWebScript
actionService, dateFormate, dictionaryService, fileFolderService, namespaceService, nodeService, ruleService
-
-
Constructor Summary
Constructors Constructor Description RulePut()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
protected org.alfresco.service.cmr.action.ActionCondition
updateActionConditionFromJson(org.json.JSONObject jsonCondition, org.alfresco.repo.action.ActionConditionImpl conditionToUpdate)
protected org.alfresco.service.cmr.action.Action
updateActionFromJson(org.json.JSONObject jsonAction, org.alfresco.repo.action.ActionImpl actionToUpdate)
protected void
updateRuleFromJSON(org.json.JSONObject jsonRule, org.alfresco.service.cmr.rule.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
-
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
-
Methods 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
-
-
-
-
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 classRulePost
-
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
-
-