Get a workflow descriptor given a workflow name.
Parameters: name - The name of the workflow to get. The descriptor for the specified workflow. throws: com.opensymphony.workflow.FactoryException - if the specified workflow name does not exist or cannot be located.
Get all workflow names in the current factory
An array of all workflow names throws: com.opensymphony.workflow.FactoryException - if the factory cannot determine the names of the workflows it has.
Save the workflow.
Is it the responsibility of the caller to ensure that the workflow is valid,
through the
WorkflowDescriptor.validate method. Invalid workflows will
be saved without being checked.
Parameters: name - The name of the workflow to same. Parameters: descriptor - The descriptor for the workflow. Parameters: replace - true if an existing workflow with this name should be replaced. true if the workflow was saved. throws: com.opensymphony.workflow.FactoryException - if there was an error saving the workflow throws: com.opensymphony.workflow.InvalidWorkflowDescriptorException - if the descriptor specified is invalid