org.jwarp.flow.model
Interface IWorkflow

All Superinterfaces:
IConfigurable, IProcess, IWorkflowObject

public interface IWorkflow
extends IWorkflowObject, IProcess, IConfigurable

Interface for a workflow. A workflow defines possible states connected by transitions. Each transition belongs to a certain role. Additionaly there is a number of (possible) screens within a workflow.


Fields inherited from interface org.jwarp.flow.process.IProcess
STATUS_BLOCKED, STATUS_COMPLETED, STATUS_COMPLETED_ERROR, STATUS_CREATED, STATUS_RUNNING, STATUS_SUSPENDED
 
Method Summary
 java.util.Date getCreationDate()
          Return the creation date (start of this generation).
 java.util.Date getEndDate()
          Return the creation date (start of this generation).
 IState getEndState()
          Return the creation date (start of this generation).
 IWorkflowContext start()
          Start a workflow
 
Methods inherited from interface org.jwarp.flow.IWorkflowObject
getDescription, getID, getName
 
Methods inherited from interface org.jwarp.flow.process.IProcess
abort, getActivities, getCreationTime, getEndTime, getPriority, getStartTime, getStatus, start
 
Methods inherited from interface org.jwarp.service.configuration.IConfigurable
configure
 

Method Detail

getCreationDate

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

getEndDate

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

getEndState

public IState getEndState()
Return the creation date (start of this generation).
Returns:
The creation date

start

public IWorkflowContext start()
Start a workflow

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