Package org.ametys.plugins.workflow.dao
Class WorkflowsDAO
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.plugins.workflow.dao.WorkflowsDAO
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
DAO for managing workflows
-
Field Summary
Modifier and TypeFieldDescriptionprotected WorkflowHelper
The workflow helperstatic final String
The Avalon role -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetWorkflowRootProperties
(String workflowName) Get the workflow propertiesGet the list of all workflowsvoid
service
(ServiceManager manager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
ROLE
The Avalon role -
_workflowHelper
The workflow helper
-
-
Constructor Details
-
WorkflowsDAO
public WorkflowsDAO()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getWorkflowRootProperties
Get the workflow properties- Parameters:
workflowName
- the name of the workflow to get- Returns:
- the workflow properties
-
getWorkflowsList
Get the list of all workflows- Returns:
- a map with workflow's list as value
-