|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.workflow.activiti.script.ActivitiScriptBase
org.alfresco.repo.workflow.activiti.script.DelegateExecutionScriptBase
org.alfresco.repo.workflow.activiti.script.AlfrescoScriptDelegate
public class AlfrescoScriptDelegate
A JavaDelegate
that executes a script against the ScriptService
.
The script that is executed can be set using field 'script'. A non-default
script-processor can be set in the field 'scriptProcessor'. Optionally, you can run
the script as a different user than the default by setting the field 'runAs'.
By default, the user this script as the current logged-in user. If no user is
currently logged in (eg. flow triggered by timer) the system user will be used instead.
Field Summary |
---|
Fields inherited from class org.alfresco.repo.workflow.activiti.script.ActivitiScriptBase |
---|
EXECUTION_BINDING_NAME, PERSON_BINDING_NAME, runAs, script, scriptProcessor, USERHOME_BINDING_NAME |
Constructor Summary | |
---|---|
AlfrescoScriptDelegate()
|
Method Summary | |
---|---|
void |
execute(org.activiti.engine.delegate.DelegateExecution execution)
|
Methods inherited from class org.alfresco.repo.workflow.activiti.script.DelegateExecutionScriptBase |
---|
getInputMap, runScript |
Methods inherited from class org.alfresco.repo.workflow.activiti.script.ActivitiScriptBase |
---|
executeScript, executeScript, executeScriptAsUser, getPersonNode, getServiceRegistry, getStringValue, setRunAs, setScript, setScriptProcessor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlfrescoScriptDelegate()
Method Detail |
---|
public void execute(org.activiti.engine.delegate.DelegateExecution execution) throws java.lang.Exception
execute
in interface org.activiti.engine.delegate.JavaDelegate
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |