Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Hierarchy Developer's Guide for Oracle Self-Service E-Billing > Basic Hierarchy Manager Use Cases > Taking the User's Role into Consideration > Creating HierarchiesIHierarchyContext hierarchyContext = new HierarchyContext(); //hierarchyContext can be set through web appflow layer hierarchyContext.setUser(user); hierarchyContext.setSubject(subject); LookupService lookup = LookupServiceFactory.getInstance(); IHierarchyService hierarchyServices = (IHierarchyService)lookup.getModule("hierarchy"); IHierarchyAccessManager haMgr = hierarchyServices.createHierarchyAccessManager(hierarchyContext); haMgr.createHierarchy (hierarchyname, hierarchy_type, hierarchyDesc); Use
|
![]() |
![]() ![]() |
Hierarchy Developer's Guide for Oracle Self-Service E-Billing | Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |