|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.workflow.jbpm.JBPMSpringActionHandler
org.alfresco.repo.workflow.jbpm.ForEachFork
public class ForEachFork
For each "item in collection", create a fork.
Constructor Summary | |
---|---|
ForEachFork()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.alfresco.repo.workflow.jbpm.JBPMSpringActionHandler |
---|
getWorkflowInstanceId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForEachFork()
Method Detail |
---|
protected void initialiseHandler(org.springframework.beans.factory.BeanFactory factory)
JBPMSpringActionHandler
initialiseHandler
in class JBPMSpringActionHandler
factory
- Spring bean factory for accessing Alfresco beanspublic void execute(org.jbpm.graph.exe.ExecutionContext executionContext) throws java.lang.Exception
executionContext
-
java.lang.Exception
protected 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 set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |