info.magnolia.module.workflow.commands
Class ActivationFlowCommand

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
              extended by info.magnolia.module.workflow.commands.ActivationFlowCommand
All Implemented Interfaces:
org.apache.commons.chain.Command
Direct Known Subclasses:
ActivationFlowCommand

public class ActivationFlowCommand
extends PathMappedFlowCommand

The activation command which will launch a flow to do scheduled activation by "sleep" functionality of owfe.

Author:
jackie

Nested Class Summary
 
Nested classes/interfaces inherited from class info.magnolia.module.workflow.commands.PathMappedFlowCommand
PathMappedFlowCommand.Mapping
 
Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
ActivationFlowCommand()
           
 
Method Summary
 java.lang.String getDialogName()
           
 java.lang.String getWorkflowName()
          In case there is a mapping defined the mapping is used otherwise we fall back to the normal behavior.
 boolean isRecursive()
           
 void prepareLaunchItem(Context context, openwfe.org.engine.workitem.LaunchItem launchItem)
          Set the start and end date for this page.
 void release()
          If a clone is passivated we call this method.
 void setRecursive(boolean recursive)
           
 
Methods inherited from class info.magnolia.module.workflow.commands.PathMappedFlowCommand
addMapping, getMappings, getPath, getRepository, setMappings, setPath, setRepository
 
Methods inherited from class info.magnolia.module.workflow.commands.FlowCommand
execute, 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

ActivationFlowCommand

public ActivationFlowCommand()
Method Detail

prepareLaunchItem

public void prepareLaunchItem(Context context,
                              openwfe.org.engine.workitem.LaunchItem launchItem)
Set the start and end date for this page.

Overrides:
prepareLaunchItem in class FlowCommand

getDialogName

public java.lang.String getDialogName()
Overrides:
getDialogName in class PathMappedFlowCommand

isRecursive

public boolean isRecursive()

setRecursive

public void setRecursive(boolean recursive)

getWorkflowName

public java.lang.String getWorkflowName()
Description copied from class: PathMappedFlowCommand
In case there is a mapping defined the mapping is used otherwise we fall back to the normal behavior.

Overrides:
getWorkflowName in class PathMappedFlowCommand

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 PathMappedFlowCommand


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