java.lang.Object
org.jbpm.examples.delegate.HolidayProcessInvoker
- All Implemented Interfaces:
- org.jbpm.workflow.delegation.ProcessInvocationHandler
- public class HolidayProcessInvoker
- extends java.lang.Object
- implements org.jbpm.workflow.delegation.ProcessInvocationHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.log4j.Logger log
HolidayProcessInvoker
public HolidayProcessInvoker()
getStartTransitionName
public java.lang.String getStartTransitionName(org.jbpm.workflow.delegation.ProcessInvocationContext processInvokerContext)
- Description copied from interface:
org.jbpm.workflow.delegation.ProcessInvocationHandler
- specifies which transition of the sub-process needs to be taken from the start-state.
- Specified by:
getStartTransitionName in interface org.jbpm.workflow.delegation.ProcessInvocationHandler
getStartAttributeValues
public java.util.Map getStartAttributeValues(org.jbpm.workflow.delegation.ProcessInvocationContext processInvokerContext)
- Description copied from interface:
org.jbpm.workflow.delegation.ProcessInvocationHandler
- fills the fields in the subProcessStartActivityForm when the sub-process-activity is entered.
Before this method is called, the jBpm-system has started a process instance of the sub-process.
The created process instance is therefor in the start-activity. The form of the start-activity
has to be filled in this method. After this method is finished, the jBpm-system will perform the start-activity.
The flow of the parent process instance is blocked until the sub-process is finished.
- Specified by:
getStartAttributeValues in interface org.jbpm.workflow.delegation.ProcessInvocationHandler
collectResults
public java.util.Map collectResults(org.jbpm.workflow.delegation.ProcessInvocationContext processInvocationContext)
- Description copied from interface:
org.jbpm.workflow.delegation.ProcessInvocationHandler
- collects the data from the sub-process and feeds it in the parent-process.
After this method is finished, the activity is considered finished and the
original flow is activated again.
* @param processInvocationContext is the object that allows the ProcessInvocationHandler-implementator to communicate with the jBpm process engine.
- Specified by:
collectResults in interface org.jbpm.workflow.delegation.ProcessInvocationHandler
getCompletionTransitionName
public java.lang.String getCompletionTransitionName(org.jbpm.workflow.delegation.ProcessInvocationContext processInvokerContext)
- Description copied from interface:
org.jbpm.workflow.delegation.ProcessInvocationHandler
- specifies which transition of the parent-process needs to be taken after
completion of the sub-process.
- Specified by:
getCompletionTransitionName in interface org.jbpm.workflow.delegation.ProcessInvocationHandler