70 WebSphere Business Integration Adapters
Outcome status for Delete verb processing
The Delete operation should return one of the outcome status values as shown
in Table 6-7.
Table 6-7 Possible outcome status for Delete verb processing
6.7 Business object processing and cardinality
A business object handler’s role is to deconstruct a request business object,
process the request, and perform the requested operation in the application. To
do this, a business object handler extracts verb and attribute information from the
request business object and generates an API call, SQL statement, or other type
of application interaction to perform the operation.
Basic business object processing involves extracting metadata from the
business object’s application-specific information (if it exists) and accessing the
attribute values. The actions to take on the attribute value depend on whether the
business object is
flat or hierarchical. This section provides an overview of how
a business object handler can process these types of business objects.
6.7.1 Processing flat business objects
If a business object does not contain any other business objects (called child
business objects), it is called a
flat business object. All the attributes in a flat
business object are simple attributes (that is, each attribute contains an actual
value, not a reference to another business object).
After the verb operation has accessed the information that it needs within the
business object definition, it often needs to access information about attributes.
Attribute properties include the cardinality, key or foreign key designation, and
maximum length. For example, the Create method might need to obtain the
attribute’s application-specific information. A connector business object handler
Delete condition Outcome status
InterChange Server only: In most cases, the
connector returns a “Value Changed” outcome status
to enable the system to clean up the relationship
tables after a delete operation.
VALCHANGE
All integration brokers: If the Delete operation is
unsuccessful, it:
Fills a return-status descriptor with additional
information about the cause of the delete error.
Returns a “Fail” outcome status.
FAIL