org.jwarp.flow.model
Interface IWorkflowModel

All Superinterfaces:
IConfigurable, IWorkflowObject, IWorkflowSystemAware
All Known Implementing Classes:
WorkflowModel

public interface IWorkflowModel
extends IWorkflowObject, IConfigurable, IWorkflowSystemAware

The workflow model embraces several workflows to one entity, a workflow model. The roles of the different work flows are shared actually.


Method Summary
 void addWorkflow(IWorkflow flow)
          Add a workflow
 java.util.Date getCreationDate()
          Return the creation date (start of this generation).
 int getGeneration()
          Return the generation counter (starting at 1).
 java.util.Iterator getWorkflows()
          Get all workflows from this model.
 void removeWorkflow(IWorkflow flow)
          Remove a workflow.
 
Methods inherited from interface org.jwarp.flow.IWorkflowObject
getDescription, getID, getName
 
Methods inherited from interface org.jwarp.service.configuration.IConfigurable
configure
 
Methods inherited from interface org.jwarp.flow.IWorkflowSystemAware
getWorkflowSystem, setWorkflowSystem
 

Method Detail

getGeneration

public int getGeneration()
Return the generation counter (starting at 1).
Returns:
The generation

getCreationDate

public java.util.Date getCreationDate()
Return the creation date (start of this generation).
Returns:
The creation date

addWorkflow

public void addWorkflow(IWorkflow flow)
Add a workflow
Parameters:
The - new workflow

removeWorkflow

public void removeWorkflow(IWorkflow flow)
Remove a workflow.
Parameters:
The - workflow to be removed.

getWorkflows

public java.util.Iterator getWorkflows()
Get all workflows from this model.
Parameters:
The - workflows

©   O R C A   S y s t e m s