info.magnolia.module.workflow.commands
Class FlowCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.module.workflow.commands.FlowCommand
- All Implemented Interfaces:
- org.apache.commons.chain.Command
- Direct Known Subclasses:
- PathMappedFlowCommand
public class FlowCommand
- extends MgnlCommand
Base command class for starting workflows.
Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlowCommand
public FlowCommand()
execute
public boolean execute(Context ctx)
throws FlowDefinitionException
- Specified by:
execute
in class MgnlCommand
- Throws:
FlowDefinitionException
prepareLaunchItem
public void prepareLaunchItem(Context context,
openwfe.org.engine.workitem.LaunchItem launchItem)
- The default implementation puts all the contexts attributes which are in the request scope into the work item.
- Parameters:
context
- launchItem
-
getWorkflowName
public String getWorkflowName()
setWorkflowName
public void setWorkflowName(String flowName)
getDialogName
public String getDialogName()
setDialogName
public void setDialogName(String dialogName)
release
public void release()
- Description copied from class:
MgnlCommand
- If a clone is passivated we call this method. Please clean up private properties.
- Overrides:
release
in class MgnlCommand
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.