org.alfresco.repo.workflow.activiti.script
Class DelegateExecutionScriptBase

java.lang.Object
  extended by org.alfresco.repo.workflow.activiti.script.ActivitiScriptBase
      extended by org.alfresco.repo.workflow.activiti.script.DelegateExecutionScriptBase
Direct Known Subclasses:
AlfrescoScriptDelegate, ScriptExecutionListener

public class DelegateExecutionScriptBase
extends ActivitiScriptBase

Base class for running scripts against the ScriptService, in activiti's DelegateExecution context.

Since:
4.0

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
DelegateExecutionScriptBase()
           
 
Method Summary
protected  java.util.Map getInputMap(org.activiti.engine.delegate.DelegateExecution execution, java.lang.String runAsUser)
           
protected  void runScript(org.activiti.engine.delegate.DelegateExecution execution)
          Run the script that is configured, using the given execution.
 
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

DelegateExecutionScriptBase

public DelegateExecutionScriptBase()
Method Detail

runScript

protected void runScript(org.activiti.engine.delegate.DelegateExecution execution)
                  throws java.lang.Exception
Run the script that is configured, using the given execution.

Throws:
java.lang.Exception

getInputMap

protected java.util.Map getInputMap(org.activiti.engine.delegate.DelegateExecution execution,
                                    java.lang.String runAsUser)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.