org.imixs.workflow
Class WorkflowKernel

java.lang.Object
  extended by org.imixs.workflow.WorkflowKernel

public class WorkflowKernel
extends Object

The Workflowkernel is the core component of this Framework to control the processing of a workitem. A Workflowmanager loads an instance of a Workflowkernel and hand over a Model and register Plugins for processing one or many workitems.

Version:
1.1
Author:
Ralph Soika
See Also:
WorkflowManager

Field Summary
static int DEBUG_ERRORS
           
static int DEBUG_OFF
           
static int DEBUG_VERBOSE
           
protected  int iDebugLevel
          Debug
 
Constructor Summary
WorkflowKernel(WorkflowContext actx)
          Constructor initialize the contextobject and plugin vectors
 
Method Summary
static String generateUniqueID()
          This method creates a unique key which can be used as a primary key.
 void process(ItemCollection document)
           
 void registerPlugin(String aClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iDebugLevel

protected int iDebugLevel
Debug


DEBUG_OFF

public static final int DEBUG_OFF
See Also:
Constant Field Values

DEBUG_ERRORS

public static final int DEBUG_ERRORS
See Also:
Constant Field Values

DEBUG_VERBOSE

public static final int DEBUG_VERBOSE
See Also:
Constant Field Values
Constructor Detail

WorkflowKernel

public WorkflowKernel(WorkflowContext actx)
Constructor initialize the contextobject and plugin vectors

Method Detail

registerPlugin

public void registerPlugin(String aClassName)
                    throws Exception
Throws:
Exception

process

public void process(ItemCollection document)
             throws Exception
Parameters:
document -
Throws:
Exception

generateUniqueID

public static String generateUniqueID()
This method creates a unique key which can be used as a primary key. The method is used by the 'checkWorkItemID()' method and the checkUniqueID() method.

The uniqueid consits of two parts containing a random unique char sequence

Returns:


Copyright © 2006-2011 Imixs Software Solutions GmbH. All Rights Reserved.