BusinessProcessInterface

Each variable workflow step must implement this interface. An instance of the implemented class is what the factory produces. This class executes the actual business logic on the document. It has the following methods:

Method

process

Method description

Executes the business logic on the business document that is passed in.

Syntax

public BusinessDocumentInterface process(
                                    Context context,
                                    BusinessDocumentInterface bDoc)

Parameters

context
Runtime information such as temp directory path

bDoc
The business document being processed

Method

reset

Method description

Resets the BusinessProcess. Called by BusinessProcessFactory.

Syntax

public boolean reset()

Parameters

None

Copyright IBM Corp. 2003, 2004