|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.fulcrum.osworkflow.DefaultWorkflowService
This service provides a simple interface to the OSWorkflow Engine. You can also directly access the OSWorkflow engine.
Field Summary |
Fields inherited from interface org.apache.fulcrum.osworkflow.WorkflowService |
ROLE |
Constructor Summary | |
DefaultWorkflowService()
|
Method Summary | |
void |
configure(org.apache.avalon.framework.configuration.Configuration conf)
Avalon component configure lifecycle method |
void |
dispose()
Avalon component disposelifecycle method |
void |
initialize()
Avalon component initialize lifecycle method |
Workflow |
retrieveWorkflow(java.lang.String caller)
Retrives a workflow based on the caller |
long[] |
retrieveWorkflows(java.lang.String caller,
java.lang.String status)
For a specific caller and status, return all the workflows. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultWorkflowService()
Method Detail |
public long[] retrieveWorkflows(java.lang.String caller, java.lang.String status) throws WorkflowException
retrieveWorkflows
in interface WorkflowService
caller
- The name of the caller.status
- The status of the workflows to retreive. Definied by the workflow.xml file
WorkflowException
- if there is a problempublic Workflow retrieveWorkflow(java.lang.String caller)
retrieveWorkflow
in interface WorkflowService
caller
- The workflow for this caller.
public void configure(org.apache.avalon.framework.configuration.Configuration conf) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
org.apache.avalon.framework.configuration.ConfigurationException
public void initialize() throws java.lang.Exception
initialize
in interface org.apache.avalon.framework.activity.Initializable
java.lang.Exception
public void dispose()
dispose
in interface org.apache.avalon.framework.activity.Disposable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |