Bookshelf Home | Contents | Index | PDF |
Hierarchy Developer's Guide for Oracle Self-Service E-Billing > Basic Hierarchy Manager Use Cases > Searching and Filtering Hierarchies > Searching Nodes within a HierarchyYou can search for hierarchy nodes across all hierarchies to which you have access, within a single hierarchy, or within a subtree of a hierarchy. Based on the type of search, you can use methods defined in Code Example: Finding a Root Node for User within a HierarchyThe following code shows an example of finding a root node for a user within a hierarchy: IHierarchyNode[] IHierarchy.findRootNodeForUser(IUser) IHierarchyNode[] IHierarchy.findRootNodeForUser(String uid) IHierarchyNode[] IHierarchy.findRootNodeForUser2(String userID) IHierarchyNode[] IHierarchy.findRootNodes2(IUser user) throws DataStoreException Code Example: Find Node within a Hierarchy, or a Section of HierarchyThe following code shows an example of finding a node within a hierarchy, or a section of hierarchy |
Hierarchy Developer's Guide for Oracle Self-Service E-Billing | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |