public class ActivitiScriptBase extends Object
ScriptService
as part of
activiti workflow.Modifier and Type | Field and Description |
---|---|
protected static String |
EXECUTION_BINDING_NAME |
protected static String |
PERSON_BINDING_NAME |
protected org.activiti.engine.impl.el.Expression |
runAs |
protected org.activiti.engine.impl.el.Expression |
script |
protected org.activiti.engine.impl.el.Expression |
scriptProcessor |
protected static String |
USERHOME_BINDING_NAME |
Constructor and Description |
---|
ActivitiScriptBase() |
Modifier and Type | Method and Description |
---|---|
protected Object |
executeScript(String theScript,
Map<String,Object> model,
String scriptProcessorName) |
protected Object |
executeScript(String theScript,
Map<String,Object> model,
String scriptProcessorName,
String runAsUser) |
protected Object |
executeScriptAsUser(String theScript,
Map<String,Object> model,
String scriptProcessorName,
String runAsUser) |
protected ActivitiScriptNode |
getPersonNode(String runAsUser) |
protected ServiceRegistry |
getServiceRegistry() |
protected String |
getStringValue(org.activiti.engine.impl.el.Expression expression,
org.activiti.engine.delegate.VariableScope scope) |
void |
setRunAs(org.activiti.engine.impl.el.Expression runAs) |
void |
setScript(org.activiti.engine.impl.el.Expression script) |
void |
setScriptProcessor(org.activiti.engine.impl.el.Expression scriptProcessor) |
protected static final String PERSON_BINDING_NAME
protected static final String USERHOME_BINDING_NAME
protected static final String EXECUTION_BINDING_NAME
protected org.activiti.engine.impl.el.Expression script
protected org.activiti.engine.impl.el.Expression runAs
protected org.activiti.engine.impl.el.Expression scriptProcessor
protected Object executeScript(String theScript, Map<String,Object> model, String scriptProcessorName, String runAsUser)
protected Object executeScriptAsUser(String theScript, Map<String,Object> model, String scriptProcessorName, String runAsUser)
protected Object executeScript(String theScript, Map<String,Object> model, String scriptProcessorName)
protected String getStringValue(org.activiti.engine.impl.el.Expression expression, org.activiti.engine.delegate.VariableScope scope)
protected ServiceRegistry getServiceRegistry()
protected ActivitiScriptNode getPersonNode(String runAsUser)
public void setScript(org.activiti.engine.impl.el.Expression script)
public void setRunAs(org.activiti.engine.impl.el.Expression runAs)
public void setScriptProcessor(org.activiti.engine.impl.el.Expression scriptProcessor)
Copyright © 2005–2017 Alfresco Software. All rights reserved.