info.magnolia.module.workflow.flows
Interface FlowDefinitionManager

All Known Implementing Classes:
DefaultFlowDefinitionManager

public interface FlowDefinitionManager

Manages flow definitions.Configures the item to use a specifig flow.

Version:
$Id: FlowDefinitionManager.java 32667 2010-03-13 00:37:06Z gjoseph $
Author:
philipp

Method Summary
 void configure(openwfe.org.engine.workitem.LaunchItem launchItem, String workflowName)
          Configure the launchItem, so that it will use the workflow
 List getDefinitionNames()
          List all available workflow names
 String readDefinition(String workflowName)
          Read the workflow definition stored with this name
 void saveDefinition(String definition)
          The flow name gets extracted out of the workflow definition.
 

Method Detail

configure

void configure(openwfe.org.engine.workitem.LaunchItem launchItem,
               String workflowName)
               throws FlowDefinitionException
Configure the launchItem, so that it will use the workflow

Throws:
FlowDefinitionException

saveDefinition

void saveDefinition(String definition)
                    throws FlowDefinitionException
The flow name gets extracted out of the workflow definition.

Parameters:
definition - the workflow definition xml
Throws:
FlowDefinitionException

readDefinition

String readDefinition(String workflowName)
                      throws FlowDefinitionException
Read the workflow definition stored with this name

Throws:
FlowDefinitionException

getDefinitionNames

List getDefinitionNames()
                        throws FlowDefinitionException
List all available workflow names

Throws:
FlowDefinitionException


Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.