com.silverpeas.workflow.api
Class Workflow

java.lang.Object
  extended by com.silverpeas.workflow.api.Workflow

public final class Workflow
extends Object

The Workflow class is the main entry to the workflow engine public services. This is a proxy class to the WorkflowHub class which gives all the workflow services.


Constructor Summary
Workflow()
           
 
Method Summary
static ErrorManager getErrorManager()
           
static String getLabel(String labelName, String lang)
          Returns the localized label.
static ProcessInstanceManager getProcessInstanceManager()
           
static ProcessModelManager getProcessModelManager()
           
static TaskManager getTaskManager()
           
static UserManager getUserManager()
           
static WorkflowEngine getWorkflowEngine()
           
static void initialize()
          Initialize the Workflow inspector the Workflow inspector will verify periodically the timeout on
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Workflow

public Workflow()
Method Detail

getProcessModelManager

public static final ProcessModelManager getProcessModelManager()
                                                        throws WorkflowException
Returns:
the ProcessModelManager
Throws:
WorkflowException

getProcessInstanceManager

public static final ProcessInstanceManager getProcessInstanceManager()
                                                              throws WorkflowException
Returns:
the ProcessInstanceManager
Throws:
WorkflowException

getUserManager

public static final UserManager getUserManager()
                                        throws WorkflowException
Returns:
the UserManager
Throws:
WorkflowException

getWorkflowEngine

public static final WorkflowEngine getWorkflowEngine()
                                              throws WorkflowException
Returns:
the WorkflowEngine
Throws:
WorkflowException

getTaskManager

public static final TaskManager getTaskManager()
                                        throws WorkflowException
Returns:
the TaskManager
Throws:
WorkflowException

getErrorManager

public static final ErrorManager getErrorManager()
                                          throws WorkflowException
Returns:
the ErrorManager
Throws:
WorkflowException

getLabel

public static String getLabel(String labelName,
                              String lang)
Returns the localized label.


initialize

public static void initialize()
Initialize the Workflow inspector the Workflow inspector will verify periodically the timeout on



Copyright © 2016 Silverpeas. All Rights Reserved.