CWConnectorBOHandler class

The CWConnectorBOHandler class is the base class for the business object handlers of a Java connector. It provides the code to implement and access one business object handler. From this class, a connector developer must derive business-object-handler classes (as many as needed) and implement the doVerbFor() method for the business object handler.

Note:
The CWConnectorBOHandler class extends the BOHandlerBase class of the low-level Java connector library. For more information on the classes of the low-level Java connector library, see Overview of the low-level Java connector library.
Important:
All Java connectors must extend this class. The name ConnectorBOHandler is the default name for the derived business-object-handler class. Developers can either use this default name or choose a different name for the derived business-object-handler class. Regardless of the name of the class, developers must implement the single method, doVerbFor(), in their derived business-object-handler class. If your connector handles request processing, your doVerbFor() method must provide verb processing for all supported verbs for the business object (or objects) it handles. If your connector does not provide request processing, it must still provide verb processing for the Retrieve verb.

An connector includes one or more business object handlers to perform tasks for the verbs in business objects. Depending on the active verb, a business object handler can insert business object data into an application, retrieve data, delete application data, or perform another task. For an introduction to request processing and business object handlers, see "Request processing". For information on how to implement a business object handler, see Request processing.

Table 120 summarizes the methods in the CWConnectorBOHandler class.

Table 120.

Member methods of the CWConnectorBOHandler class
Member method Description Page
CWConnectorBOHandler() Creates a business-object-handler object. CWConnectorBOHandler()
doVerbFor() Performs the verb processing for the active verb of a business object. doVerbFor()
getName() Retrieves the name of the business-object-handler object. getName()
setName() Sets the name of the business-object-handler object. setName()

Copyright IBM Corp. 1997, 2004