doVerbFor()

Calls the business object handler (instance of the BOHandlerCPP class) to perform the action of the business object's active verb.

Syntax

int doVerbFor(ReturnStatusDescriptor * retStatusMsg);
 

Parameters

retStatusMsg [out]
Is the name of the status descriptor object containing an error or informational message for the integration broker.

Return values

An integer that specifies the outcome status of the verb operation.

Notes

The business object provides all the operations for the verbs that the BusinessObject definition supports.

The active verb is one of the list of verbs that the business object definition contains. To determine the active verb for a business object, you can use the getVerb() method.

Examples

BusinessObject *pObj;
 ...
 pObj = new BusinessObject("Customer");
 pObj->SetVerb ("Create");
 pObj->setDefaultAttrValues();
 retval = pObj->doVerbFor();
 

See also

getVerb(), setVerb()

See also the description of the BOHandler class.

Copyright IBM Corp. 1997, 2004