info.magnolia.module.workflow.commands
Class PathMappedFlowCommand

java.lang.Object
  extended by info.magnolia.commands.MgnlCommand
      extended by info.magnolia.module.workflow.commands.FlowCommand
          extended by 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$
Author:
philipp

Nested Class Summary
static class PathMappedFlowCommand.Mapping
          Used to define the mappings.
 
Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
PathMappedFlowCommand()
           
 
Method Summary
 void addMapping(PathMappedFlowCommand.Mapping mapping)
           
 String getDialogName()
           
 Collection<PathMappedFlowCommand.Mapping> getMappings()
           
 String getPath()
           
 String getRepository()
           
 String getWorkflowName()
          In case there is a mapping defined the mapping is used otherwise we fall back to the normal behavior.
 void release()
          If a clone is passivated we call this method.
 void setMappings(Collection<PathMappedFlowCommand.Mapping> mappings)
           
 void setPath(String path)
           
 void setRepository(String repository)
           
 
Methods inherited from class info.magnolia.module.workflow.commands.FlowCommand
execute, prepareLaunchItem, setDialogName, setWorkflowName
 
Methods inherited from class info.magnolia.commands.MgnlCommand
execute, isClone, isEnabled, setClone, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathMappedFlowCommand

public PathMappedFlowCommand()
Method Detail

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–2014 Magnolia International Ltd.. All rights reserved.