|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowDescriptorStore
This interface provides methods responsible for persisting a WorkflowDescriptor
to the database.
Method Summary | |
---|---|
List<JiraWorkflowDTO> |
getAllJiraWorkflowDTOs()
Returns a list of all the workflows stored in the underlying store. |
ImmutableWorkflowDescriptor |
getWorkflow(String name)
Retrieves a WorkflowDescriptor from the underlying store. |
String[] |
getWorkflowNames()
Returns an array of all the workflowNames stored. |
boolean |
removeWorkflow(String name)
Removes a workflow from the underlying store. |
boolean |
saveWorkflow(String name,
com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor,
boolean replace)
Saves or updates a workflowDescriptor. |
Method Detail |
---|
ImmutableWorkflowDescriptor getWorkflow(String name) throws com.opensymphony.workflow.FactoryException
WorkflowDescriptor
from the underlying store. Returns
null if no WorkflowDescriptor can be found
name
- The workflow name
com.opensymphony.workflow.FactoryException
- If there's an error constructing the WorkflowDescriptor from its underlying representationboolean removeWorkflow(String name)
name
- The workflow name
boolean saveWorkflow(String name, com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor, boolean replace) throws DataAccessException
name
- The name of the workflowworkflowDescriptor
- The WorkflowDescriptor
to save/update in the underlying storereplace
- true if an update should be done, if the workflow already exists, false otherwise
DataAccessException
- If there was a problem, storing the workflowdescriptorString[] getWorkflowNames()
List<JiraWorkflowDTO> getAllJiraWorkflowDTOs()
JiraWorkflowDTO
s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |