Path

ez components / documentation / api reference / 2008.2.3 / workflow


eZ Components 2008.2.3

Workflow: ezcWorkflowServiceObject

[ Tutorial ] [ Theoretical background ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Interface: ezcWorkflowServiceObject

Interface for service objects that can be attached to ezcWorkflowNodeAction nodes. [source]

Method Summary

public boolean execute( $execution )
Executes the business logic of this service object.
public string __toString( )
Returns a textual representation of this service object.

Methods

execute

boolean execute( ezcWorkflowExecution $execution )
Executes the business logic of this service object.
Implementations can return true if the execution of the service object was successful to resume the workflow and activate the next node.
Returning false will cause the workflow to be suspended and the service object to be executed again on a later invokation.

Parameters

Name Type Description
$execution ezcWorkflowExecution  

__toString

string __toString( )
Returns a textual representation of this service object.

Last updated: Mon, 11 May 2009