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: PathMappedFlowCommand.java 45290 2011-05-20 05:07:05Z had $
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)
           
 java.lang.String getDialogName()
           
 java.util.Collection<PathMappedFlowCommand.Mapping> getMappings()
           
 java.lang.String getPath()
           
 java.lang.String getRepository()
           
 java.lang.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(java.util.Collection<PathMappedFlowCommand.Mapping> mappings)
           
 void setPath(java.lang.String path)
           
 void setRepository(java.lang.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 java.lang.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 java.lang.String getDialogName()
Overrides:
getDialogName in class FlowCommand

getMappings

public java.util.Collection<PathMappedFlowCommand.Mapping> getMappings()

setMappings

public void setMappings(java.util.Collection<PathMappedFlowCommand.Mapping> mappings)

addMapping

public void addMapping(PathMappedFlowCommand.Mapping mapping)

getPath

public java.lang.String getPath()

setPath

public void setPath(java.lang.String path)

getRepository

public java.lang.String getRepository()

setRepository

public void setRepository(java.lang.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-2011 Magnolia International Ltd.. All Rights Reserved.