public abstract class AbstractRuleWebScript
extends org.springframework.extensions.webscripts.DeclarativeWebScript
| Modifier and Type | Field and Description |
|---|---|
protected org.alfresco.service.cmr.action.ActionService |
actionService |
static SimpleDateFormat |
dateFormate |
protected org.alfresco.service.cmr.dictionary.DictionaryService |
dictionaryService |
protected org.alfresco.service.cmr.model.FileFolderService |
fileFolderService |
protected org.alfresco.service.namespace.NamespaceService |
namespaceService |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected org.alfresco.service.cmr.rule.RuleService |
ruleService |
| Constructor and Description |
|---|
AbstractRuleWebScript() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkRule(org.alfresco.service.cmr.rule.Rule rule) |
protected org.alfresco.repo.action.ActionImpl |
parseJsonAction(org.json.JSONObject jsonAction) |
protected org.alfresco.repo.action.ActionConditionImpl |
parseJsonActionCondition(org.json.JSONObject jsonActionCondition) |
protected Map<String,Serializable> |
parseJsonParameterValues(org.json.JSONObject jsonParameterValues,
String name,
boolean isAction) |
protected org.alfresco.service.cmr.rule.Rule |
parseJsonRule(org.json.JSONObject jsonRule) |
protected org.alfresco.service.cmr.repository.NodeRef |
parseRequestForNodeRef(org.springframework.extensions.webscripts.WebScriptRequest req)
Parses the request and providing it's valid returns the NodeRef.
|
void |
setActionService(org.alfresco.service.cmr.action.ActionService actionService)
Set action service instance
|
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Set dictionary service instance
|
void |
setFileFolderService(org.alfresco.service.cmr.model.FileFolderService fileFolderService)
Set file folder service instance
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Set namespace service instance
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the node service instance
|
void |
setRuleService(org.alfresco.service.cmr.rule.RuleService ruleService)
Set rule service instance
|
execute, executeFinallyImpl, executeImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringpublic static final SimpleDateFormat dateFormate
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected org.alfresco.service.cmr.rule.RuleService ruleService
protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
protected org.alfresco.service.cmr.action.ActionService actionService
protected org.alfresco.service.cmr.model.FileFolderService fileFolderService
protected org.alfresco.service.namespace.NamespaceService namespaceService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the node service to setpublic void setRuleService(org.alfresco.service.cmr.rule.RuleService ruleService)
ruleService - the rule service to setpublic void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - the dictionary service to setpublic void setActionService(org.alfresco.service.cmr.action.ActionService actionService)
actionService - the action service to setpublic void setFileFolderService(org.alfresco.service.cmr.model.FileFolderService fileFolderService)
fileFolderService - the fileFolderService to setpublic void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService - the namespace service to setprotected org.alfresco.service.cmr.repository.NodeRef parseRequestForNodeRef(org.springframework.extensions.webscripts.WebScriptRequest req)
req - The webscript requestprotected org.alfresco.service.cmr.rule.Rule parseJsonRule(org.json.JSONObject jsonRule)
throws org.json.JSONException
org.json.JSONExceptionprotected org.alfresco.repo.action.ActionImpl parseJsonAction(org.json.JSONObject jsonAction)
throws org.json.JSONException
org.json.JSONExceptionprotected org.alfresco.repo.action.ActionConditionImpl parseJsonActionCondition(org.json.JSONObject jsonActionCondition)
throws org.json.JSONException
org.json.JSONExceptionprotected Map<String,Serializable> parseJsonParameterValues(org.json.JSONObject jsonParameterValues, String name, boolean isAction) throws org.json.JSONException
org.json.JSONExceptionprotected void checkRule(org.alfresco.service.cmr.rule.Rule rule)
Copyright © 2005–2018 Alfresco Software. All rights reserved.