info.magnolia.module.workflow.commands
Class PathMappedFlowCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.module.workflow.commands.FlowCommand
info.magnolia.module.workflow.commands.PathMappedFlowCommand
- All Implemented Interfaces:
- org.apache.commons.chain.Command
- Direct Known Subclasses:
- ActivationFlowCommand
public class PathMappedFlowCommand
- extends FlowCommand
Map paths to workflows.
- Version:
- $Id: PathMappedFlowCommand.java 51866 2011-11-23 11:02:09Z ochytil $
- Author:
- philipp
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 |
PathMappedFlowCommand
public PathMappedFlowCommand()
getWorkflowName
public String getWorkflowName()
- In case there is a mapping defined the mapping is used otherwise we fall back to the normal behavior.
- Overrides:
getWorkflowName
in class FlowCommand
getDialogName
public String getDialogName()
- Overrides:
getDialogName
in class FlowCommand
getMappings
public Collection<PathMappedFlowCommand.Mapping> getMappings()
setMappings
public void setMappings(Collection<PathMappedFlowCommand.Mapping> mappings)
addMapping
public void addMapping(PathMappedFlowCommand.Mapping mapping)
getPath
public String getPath()
setPath
public void setPath(String path)
getRepository
public String getRepository()
setRepository
public void setRepository(String repository)
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 FlowCommand
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.