it.eng.spago.workflow.worklist.modules
Class ProcessForPackageModule

java.lang.Object
  extended by AbstractBasicListModule
      extended by 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

Constructor Summary
ProcessForPackageModule()
           
 
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
 

Constructor Detail

ProcessForPackageModule

public ProcessForPackageModule()
Method Detail

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