WorkflowDatabaseTiein: ezcWorkflowDatabaseExecution
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcWorkflowDatabaseExecution
|
Workflow executer that suspends and resumes workflow execution states to and from a database. [
source]
Parents
ezcWorkflowExecution
|
--ezcWorkflowDatabaseExecution
Member Variables
|
protected ezcDbHandler |
$db
ezcDbHandler instance to be used. |
|
protected boolean |
$loaded
= false
Flag that indicates whether the execution has been loaded. |
|
protected array(string=>mixed) |
$properties
= array( 'definitionStorage' => null, 'workflow' => null, 'options' => null )
Container to hold the properties |
Inherited Member Variables
From
ezcWorkflowExecution:
Method Summary
|
public ezcWorkflowDatabaseExecution |
__construct(
$db, [$executionId = null] )
Construct a new database execution. |
|
protected void |
cleanupTable(
$tableName )
Cleanup execution / execution_state tables. |
|
protected void |
doEnd(
)
End workflow execution. |
|
protected ezcWorkflowExecution |
doGetSubExecution(
[$id = null] )
Returns a new execution object for a sub workflow. |
|
protected void |
doResume(
)
Resume workflow execution. |
|
protected void |
doStart(
$parentId )
Start workflow execution. |
|
protected void |
doSuspend(
)
Suspend workflow execution. |
|
protected void |
loadExecution(
$executionId )
Load execution state. |
Inherited Methods
From
ezcWorkflowExecution :
Methods
__construct
ezcWorkflowDatabaseExecution __construct(
$db, [int
$executionId = null] )
Construct a new database execution.
This constructor is a tie-in.
Parameters
Throws
| Class | Description |
ezcWorkflowExecutionException |
|
cleanupTable
void cleanupTable(
string
$tableName )
Cleanup execution / execution_state tables.
Parameters
| Name |
Type |
Description |
$tableName |
string |
|
Throws
| Class | Description |
ezcDbException |
|
doEnd
void doEnd(
)
End workflow execution.
Throws
| Class | Description |
ezcDbException |
|
Redefinition of
doGetSubExecution
Returns a new execution object for a sub workflow.
Parameters
| Name |
Type |
Description |
$id |
int |
|
Redefinition of
doResume
void doResume(
)
Resume workflow execution.
Throws
| Class | Description |
ezcDbException |
|
Redefinition of
doStart
void doStart(
int
$parentId )
Start workflow execution.
Parameters
| Name |
Type |
Description |
$parentId |
int |
|
Throws
| Class | Description |
ezcDbException |
|
Redefinition of
doSuspend
void doSuspend(
)
Suspend workflow execution.
Throws
| Class | Description |
ezcDbException |
|
Redefinition of
loadExecution
void loadExecution(
int
$executionId )
Load execution state.
Parameters
| Name |
Type |
Description |
$executionId |
int |
ID of the execution to load. |
Throws
| Class | Description |
ezcWorkflowExecutionException |
|
Last updated: Tue, 23 Mar 2010