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.
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