|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.repo.web.scripts.rule.AbstractRuleWebScript
public abstract class AbstractRuleWebScript
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript |
---|
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails |
Field Summary | |
---|---|
protected org.alfresco.service.cmr.action.ActionService |
actionService
|
static java.text.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 Summary | |
---|---|
AbstractRuleWebScript()
|
Method Summary | |
---|---|
protected org.alfresco.repo.action.ActionImpl |
parseJsonAction(org.json.JSONObject jsonAction)
|
protected org.alfresco.repo.action.ActionConditionImpl |
parseJsonActionCondition(org.json.JSONObject jsonActionCondition)
|
protected java.util.Map |
parseJsonParameterValues(org.json.JSONObject jsonParameterValues,
java.lang.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 |
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript |
---|
execute, executeFinallyImpl, executeImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate |
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript |
---|
createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.text.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
Constructor Detail |
---|
public AbstractRuleWebScript()
Method Detail |
---|
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 request
protected org.alfresco.service.cmr.rule.Rule parseJsonRule(org.json.JSONObject jsonRule) throws org.json.JSONException
org.json.JSONException
protected org.alfresco.repo.action.ActionImpl parseJsonAction(org.json.JSONObject jsonAction) throws org.json.JSONException
org.json.JSONException
protected org.alfresco.repo.action.ActionConditionImpl parseJsonActionCondition(org.json.JSONObject jsonActionCondition) throws org.json.JSONException
org.json.JSONException
protected java.util.Map parseJsonParameterValues(org.json.JSONObject jsonParameterValues, java.lang.String name, boolean isAction) throws org.json.JSONException
org.json.JSONException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |