com.filenet.wcm.toolkit.server.util.workflow
Class WcmWorkflowFactory

java.lang.Object
  extended bycom.filenet.wcm.toolkit.server.util.workflow.WcmWorkflowFactory

public class WcmWorkflowFactory
extends java.lang.Object

Factory class that will create a workflow template of a particular type. Currently only two types of approval workflows are supported; Collaborative and Sequential.


Field Summary
static WcmString RESPONSE_APPROVED
           
static WcmString RESPONSE_REJECTED
           
static WcmString STEP_APPROVERS
           
static WcmString STEP_EDITOR
           
static WcmString STEP_PUBLISHERS
           
static WcmString STEP_REVIEWERS
           
static WcmString STEP_SEQUENTIAL
           
static WcmString wsFixedWorkflow
           
static WcmString wsSequencialWorkflow
           
 
Constructor Summary
WcmWorkflowFactory()
           
 
Method Summary
static WcmWorkflowTemplate createWorkflow(filenet.vw.api.VWSession vwSession, java.lang.String style)
          Method will create a workflow template of a specified type.
static WcmWorkflowTemplate createWorkflow(filenet.vw.api.VWSession vwSession, java.lang.String style, java.util.Locale locale)
          Method will create a workflow template of a specified type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wsFixedWorkflow

public static final WcmString wsFixedWorkflow

wsSequencialWorkflow

public static final WcmString wsSequencialWorkflow

STEP_EDITOR

public static final WcmString STEP_EDITOR

STEP_REVIEWERS

public static final WcmString STEP_REVIEWERS

STEP_APPROVERS

public static final WcmString STEP_APPROVERS

STEP_PUBLISHERS

public static final WcmString STEP_PUBLISHERS

STEP_SEQUENTIAL

public static final WcmString STEP_SEQUENTIAL

RESPONSE_APPROVED

public static final WcmString RESPONSE_APPROVED

RESPONSE_REJECTED

public static final WcmString RESPONSE_REJECTED
Constructor Detail

WcmWorkflowFactory

public WcmWorkflowFactory()
Method Detail

createWorkflow

public static WcmWorkflowTemplate createWorkflow(filenet.vw.api.VWSession vwSession,
                                                 java.lang.String style)
                                          throws java.lang.Exception
Method will create a workflow template of a specified type.

Parameters:
vwSession - VWSession
style - String style of workflow to create.
Returns:
WcmWorkflowTemplate model of the workflow.
Throws:
java.lang.Exception

createWorkflow

public static WcmWorkflowTemplate createWorkflow(filenet.vw.api.VWSession vwSession,
                                                 java.lang.String style,
                                                 java.util.Locale locale)
                                          throws java.lang.Exception
Method will create a workflow template of a specified type.

Parameters:
vwSession - VWSession
style - String style of workflow to create.
locale - The locale to use for localized Strings.
Returns:
WcmWorkflowTemplate model of the workflow.
Throws:
java.lang.Exception


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.