Performs the action for the active verb of a business object.
Syntax
virtual int doVerbFor(BusinessObject & theBusObj, ReturnStatusDescriptor * rtnStatusDesc);
Parameters
Return values
An integer that indicates the outcome status of the verb operation. Compare this integer value with the following outcome-status constants to determine the status:
Notes
The doVerbFor() method performs the action of the business object's active verb. This method is the primary public interface for the business object handler.
When a business object arrives from InterChange Server, the connector
framework creates a return-status descriptor object and passes it (along with
the business object) to the doVerbFor() method. This method
performs the verb operation and then calls methods in the
ReturnStatusDescriptor class to set the appropriate values in the
return-status descriptor, as follows:
seterrMsg() | Sets a message in the return-status descriptor object if there is an informational, warning, or error return message. |
The connector framework returns this return-status descriptor to the integration broker. It also returns the outcome status, which is the return code of the doVerbFor() method.
See also