Other Methods

For Create, Change, Delete and comparable specific methods, the implementation for X is comparable to OnEvent(). But note that those are not processing scope ‘batch’ methods, so the request is not an input parameter for the on execute hook, but it must be retrieved using getRequest().

Note: 
  • Issue for Change: if the type is changed, the Change request is sent to the wrong implementation (i.e. the implementation that does not yet contain the object instance).

    Solution: try to change Y, if that fails, Show Z, merge Show response and Change request and send as a create to Y.

  • Issue for Change: the type may not be included in the request (will not occur in practice if the type is in the top-level component, because all attributes must always be available for the top-level).

    Issue for Delete: we never know the type from the request.

    Solution: try both and at least one must fail.

The ‘batch’ processing scope can also be used for the List and Show methods. For List, Show and specific comparable methods, both Y and Z must be invoked. For List, both responses must be merged, but for Show, only one business object will return a response; that response can be used. Additionally, for both methods a replaceBdeNameResponse(response, “X”, o.response) must be done.