Integration Platform Technologies: Siebel Enterprise Application Integration > EAI UI Data Adapter > EAI UI Data Adapter Methods >

DeleteLeaves Method


The DeleteLeaves method deletes leaf nodes only. If the Cascade Delete on the Link object is set to TRUE, then child records are also deleted. Row Ids are required for both internal nodes and leaf nodes. DeleteLeaves does not return a value when the operation is successful.

Method Arguments for DeleteLeaves

Table 33 lists the method arguments used with DeleteLeaves. For descriptions of the arguments, see EAI UI Data Adapter Method Arguments.

Table 33. Method Arguments for DeleteLeaves
Method Argument Name
Input or Output

IntObjectName

Input

SiebelMessage

Input or Output

LOVLanguageMode

Input

Example of Deleting a Root Component

This example demonstrates deleting a root component.

<SiebelMessage MessageType="Integration Object" IntObjectName="Account" IntObjectFormat="Siebel Hierarchical">
   <ListOfAccount>
      <Account>
         <Id>P-5NA84</Id>
      </Account>
   </ListOfAccount>
</SiebelMessage>

Example of Deleting a Child Component

This example demonstrates deleting a child component.

<SiebelMessage MessageType="Integration Object" IntObjectName="Account" IntObjectFormat="Siebel Hierarchical">
   <ListOfAccount>
      <Account>
         <Id>P-5NA84</Id>
         <ListOfBusiness_Address>
            <Business_Address>
            <Id>P-5NA8B</Id>
            </Business_Address>
         </ListOfBusiness_Address>
      </Account>
   </ListOfAccount>
</SiebelMessage>

Integration Platform Technologies: Siebel Enterprise Application Integration Copyright © 2008, Oracle and/or its affiliates. All rights reserved. Legal Notices.