Removes the specified child instances to a parent/child relationship for an identity relationship belonging to the specified parent .
Syntax
void deleteMyChildren(String parentChildRelDefName, String parentParticpntDefName, BusObj parentBusObj, String childParticpntDefName, Object childBusObjList, CxExecutionContext map_ctx) void deleteMyChildren(String parentChildRefDefName, String parentParticpntDefName, BusObj parentBusObj, String childParticpntDefName, CxExecutionContext map_ctx)
Parameters
Return values
None.
Exceptions
RelationshipRuntimeException
Notes
The deleteMyChildren() method deletes child instances from a parent/child parentChildRelDefName relationship definition. It supports the following forms:
This method is useful in a custom relationship involving a parent business object with a unique key. When a parent business object has removed child objects, use deleteMyChildren() to compare the after-image (in parentBusObj) with the before-image (information in the relationship tables) to determine which child objects in the after-image have been removed. For each child object, deleteMyChildren() removes the corresponding child instance from the relationship tables for the parent and child participants (parentParticpntDefName and childParticpntDefName, respectively).
The deleteMyChildren() method requires that a parent/child relationship be defined with Relationship Designer Express. For information on how to create this kind of relationship, see "Creating the parent/child relationship definition"..
See also