doVerbFor()

Invokes the business object handler to perform the action specified by the active verb in the business object.

Syntax

public int doVerbFor(ReturnStatusDescriptor rtnObj);
 

Parameters

rtnObj
Is the status descriptor object that contains an error or informational message for the execution of this method. The integration broker uses this message.

Return values

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

CxStatusConstants.SUCCEED
The verb operation succeeded.

CxStatusConstants.FAIL
The verb operation failed.

CxStatusConstants.APPRESPONSETIMEOUT
The application is not responding.

CxStatusConstants.VALCHANGE
At least one value in the business object changed.

CxStatusConstants.VALDUPES
The requested operation found multiple records for the same key value.

CxStatusConstants.MULTIPLE_HITS
The connector finds multiple matching records when retrieving with non-key values. The connector will only return the first matching record in a business object.

CxStatusConstants.RETRIEVEBYCONTENT_FAILED
The connector was not able to find matches for Retrieve by non-key values.

CxStatusConstants.BO_DOES_NOT_EXIST
The requested business object entity does not exist in the database.

Notes

The execution of this method sets the passed-in parameter with the error or informational message. The message is then sent back to the integration broker.

The business object provides all the operations for the verbs that the business object 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.

See also

See also the descriptions of the getVerb() and setVerb() methods and the BusinessObjectInterface interface.

Copyright IBM Corp. 1997, 2003