org.alfresco.repo.workflow.jbpm
Class ForEachFork
java.lang.Object
org.alfresco.repo.workflow.jbpm.JBPMSpringActionHandler
org.alfresco.repo.workflow.jbpm.ForEachFork
- All Implemented Interfaces:
- java.io.Serializable, org.jbpm.graph.def.ActionHandler
public class ForEachFork
- extends JBPMSpringActionHandler
For each "item in collection", create a fork.
- See Also:
- Serialized Form
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForEachFork
public ForEachFork()
initialiseHandler
protected void initialiseHandler(org.springframework.beans.factory.BeanFactory factory)
- Description copied from class:
JBPMSpringActionHandler
- Initialise Action Handler
- Specified by:
initialiseHandler
in class JBPMSpringActionHandler
- Parameters:
factory
- Spring bean factory for accessing Alfresco beans
execute
public void execute(org.jbpm.graph.exe.ExecutionContext executionContext)
throws java.lang.Exception
- Create a new child token for each item in list.
- Parameters:
executionContext
-
- Throws:
java.lang.Exception
getTokenName
protected java.lang.String getTokenName(org.jbpm.graph.exe.Token parent,
java.lang.String transitionName,
int loopIndex)
- Create a token name
- Parameters:
parent
- transitionName
-
- Returns:
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.