info.magnolia.module.workflow
Class WorkflowModule

java.lang.Object
  extended by info.magnolia.module.workflow.WorkflowModule
All Implemented Interfaces:
ModuleLifecycle

public class WorkflowModule
extends Object
implements ModuleLifecycle

Module "workflow" entry class.

Version:
3.0
Author:
Sameer Charles, Fabrizio Giustina, Nicolas Modrzyk

Constructor Summary
WorkflowModule()
           
 
Method Summary
static JCRPersistedEngine getEngine()
          return the global work flow engine.
static FlowDefinitionManager getFlowDefinitionManager()
           
static WorkflowModule getInstance()
          Deprecated. since 4.5, use IoC !
static JCRWorkItemStore getWorkItemStore()
          return the global work flow engine.
protected  void initializeWorkItemStore()
           
 boolean isBackupWorkItems()
           
 boolean isCleanup()
           
 boolean isUseLifeTimeJCRSession()
           
 void setBackupWorkItems(boolean backupWorkItems)
           
 void setCleanup(boolean cleanup)
           
 void setUseLifeTimeJCRSession(boolean useLifeTimeJCRSession)
           
 void start(ModuleLifecycleContext moduleLifecycleContext)
           
protected  void startEngine()
           
 void stop(ModuleLifecycleContext moduleLifecycleContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowModule

public WorkflowModule()
Method Detail

start

public void start(ModuleLifecycleContext moduleLifecycleContext)
Specified by:
start in interface ModuleLifecycle

stop

public void stop(ModuleLifecycleContext moduleLifecycleContext)
Specified by:
stop in interface ModuleLifecycle

startEngine

protected void startEngine()

initializeWorkItemStore

protected void initializeWorkItemStore()

getEngine

public static JCRPersistedEngine getEngine()
return the global work flow engine.


getWorkItemStore

public static JCRWorkItemStore getWorkItemStore()
return the global work flow engine.


getFlowDefinitionManager

public static FlowDefinitionManager getFlowDefinitionManager()

isBackupWorkItems

public boolean isBackupWorkItems()

setBackupWorkItems

public void setBackupWorkItems(boolean backupWorkItems)

isUseLifeTimeJCRSession

public boolean isUseLifeTimeJCRSession()

setUseLifeTimeJCRSession

public void setUseLifeTimeJCRSession(boolean useLifeTimeJCRSession)

isCleanup

public boolean isCleanup()

setCleanup

public void setCleanup(boolean cleanup)

getInstance

public static WorkflowModule getInstance()
Deprecated. since 4.5, use IoC !



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