Bookshelf Home | Contents | Index | PDF |
Hierarchy Developer's Guide for Oracle Billing Insight > Basic Hierarchy Manager Use Cases > Searching and Filtering Hierarchies > Searching and Filter Hierarchies Using IHierarchyManagerYou can search and filter hierarchies using IHierarchyManager, as shown in the following examples. Code Example: Retrieving Hierarchies for a User, and by Hierarchy TypeThe following code shows an example of retrieving hierarchies for a user, and by hierarchy type: IHierarchy[] getHierarchies(IUser user) Code Example: Retrieving Hierarchies by Company, and by Hierarchy TypeThe following code shows an example of retrieving hierarchies by company, and by hierarchy: IHierarchy[] getHierarchiesForDomain(String domainId) Code Example: Locating a HierarchyThe following code shows an example of locating a hierarchy: IHierarchy findHierarchy(String hName, String domainId) Code Example: Finding the Containing Hierarchy for an ObjectThe following code shows an example of finding the containing hierarchy for an object: IHierarchy[] findHierarchyForLinkTargetURI(IHierarchyType type, String linkTargetURI) |
Hierarchy Developer's Guide for Oracle Billing Insight | Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |