public class ForEachFork extends JBPMSpringActionHandler
| Constructor and Description |
|---|
ForEachFork() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.jbpm.graph.exe.ExecutionContext executionContext)
Create a new child token for each item in list.
|
protected java.lang.String |
getTokenName(org.jbpm.graph.exe.Token parent,
java.lang.String transitionName,
int loopIndex)
Create a token name
|
protected void |
initialiseHandler(org.springframework.beans.factory.BeanFactory factory)
Initialise Action Handler
|
void |
setForeach(org.dom4j.Element foreach)
Sets the list of objects to be iterated over.
|
void |
setVar(java.lang.String var)
Set the name of the variable to which the eleements of
foreach are assigned. |
getWorkflowInstanceIdprotected void initialiseHandler(org.springframework.beans.factory.BeanFactory factory)
JBPMSpringActionHandlerinitialiseHandler in class JBPMSpringActionHandlerfactory - Spring bean factory for accessing Alfresco beanspublic void execute(org.jbpm.graph.exe.ExecutionContext executionContext)
throws java.lang.Exception
executionContext - java.lang.Exceptionprotected java.lang.String getTokenName(org.jbpm.graph.exe.Token parent,
java.lang.String transitionName,
int loopIndex)
parent - transitionName - public void setForeach(org.dom4j.Element foreach)
foreach - the list of objects to setpublic void setVar(java.lang.String var)
foreach are assigned.var - the variable name to setCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.