it.eng.spago.workflow.worklist.modules
Class ProcessForPackageModule
java.lang.Object
AbstractBasicListModule
it.eng.spago.workflow.worklist.modules.ProcessForPackageModule
public class ProcessForPackageModule
- extends AbstractBasicListModule
- Author:
- zoppello
A Spago List module that retrieve the process ( run time instances ) for a given package
Method Summary |
protected SourceBean |
adapt(IWorkflowProcess wfProcess)
Transform a simple IWorkflowProcess Object in source bean form |
ListIFace |
getList(SourceBean arg0,
SourceBean arg1)
Ovverride the getList method to get The process list for a given package id from Workflow Engine |
protected SourceBean |
processListToSourceBean(java.util.List aProcessList,
IWorkflowConnection wfConnection)
Transform a Process List in Source Bean form |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessForPackageModule
public ProcessForPackageModule()
processListToSourceBean
protected SourceBean processListToSourceBean(java.util.List aProcessList,
IWorkflowConnection wfConnection)
throws SourceBeanException,
WorkflowEngineException
- Transform a Process List in Source Bean form
- Parameters:
aProcessList
- The java.util.List of IWorkflowProcess Object
- Returns:
- the source bean form of the process list
- Throws:
SourceBeanException
- if some errors occurs during source bean population
WorkflowEngineException
- if some errors occurs
adapt
protected SourceBean adapt(IWorkflowProcess wfProcess)
throws SourceBeanException,
WorkflowEngineException
- Transform a simple IWorkflowProcess Object in source bean form
- Parameters:
wfProcess
- - The object to be transformed in source bean
- Returns:
- The source bean form of IWorkflowProcess
- Throws:
SourceBeanException
- if some errors occurs during source bean population
WorkflowEngineException
- if some errors occurs
getList
public ListIFace getList(SourceBean arg0,
SourceBean arg1)
throws java.lang.Exception
- Ovverride the getList method to get The process list for a given package id from Workflow Engine
- Throws:
java.lang.Exception