it.eng.spago.workflow.worklist.modules
Class LoadedPackageModules
java.lang.Object
AbstractBasicListModule
it.eng.spago.workflow.worklist.modules.LoadedPackageModules
public class LoadedPackageModules
- extends AbstractBasicListModule
- Author:
- zoppello
A Spago List module that retrieve the list of the packages
already loaded in the engine
Method Summary |
protected SourceBean |
adapt(IWorkflowPackage wfPackage,
IWorkflowConnection wfConnection)
Transform a simple IWorkflowPackage object in source bean form |
ListIFace |
getList(SourceBean arg0,
SourceBean arg1)
Ovverride the getList method to get The packages list from Workflow Engine |
protected SourceBean |
packagesListToSourceBean(java.util.List aPackageList,
IWorkflowConnection wfConnection)
Transform a Package List in Source Bean form |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadedPackageModules
public LoadedPackageModules()
packagesListToSourceBean
protected SourceBean packagesListToSourceBean(java.util.List aPackageList,
IWorkflowConnection wfConnection)
throws SourceBeanException,
WorkflowEngineException
- Transform a Package List in Source Bean form
- Parameters:
aPackageList
- The java.util.List of IWorkflowPackage Object
- Returns:
- the source bean form of the package list
- Throws:
SourceBeanException
- if some errors occurs during source bean population
WorkflowEngineException
- if some errors occurs
adapt
protected SourceBean adapt(IWorkflowPackage wfPackage,
IWorkflowConnection wfConnection)
throws SourceBeanException,
WorkflowEngineException
- Transform a simple IWorkflowPackage object in source bean form
- Parameters:
wfPackage
- - The object to be transformed in source bean
- Returns:
- The source bean form of IWorkflowPackage
- 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 packages list from Workflow Engine
- Throws:
java.lang.Exception