Hierarchy Developer's Guide for Oracle Billing Insight > Basic Hierarchy Manager Use Cases > Exchanging Hierarchy Data Using XML >

Exporting Hierarchies


To export a hierarchy to an XML file, use the following method of IHierarchyAccessManager:

InputStream exportXMLAsInputStream(hierarchy, newHierarchyNameStr);

When exporting a hierarchy, the period specified in the HierarchyContext is used to get the correct version of the hierarchy to export. Also, based on the current user's role, only the content that is available to view for the current user is exported, which might not be the complete hierarchy stored in the database.

Hierarchy Developer's Guide for Oracle Billing Insight Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.