Hierarchy Developer's Guide for Oracle Self-Service E-Billing > APIs for Customizing <ProductName> Hierarchy Manager >

IHierarchyTypeManager Interface


This object is used to manage hierarchy types. You can get an instance of this object through IHierarchyService.

Table 15. IHierarchyTypeManager Methods
Method
Description

boolean canContain(IHierarchyType hierarchyType, OMFTypeProperty parentType, OMFTypeProperty childType)

Returns true if the given type of parent and child can form a valid relationship in the specified type of hierarchy.

IHierarchyType getHierarchyType(java.lang.String code)

Gets an instance of IHierarchy by its unique code

java.util.List getHierarchyTypes()

Gets all the supported hierarchy types.

java.lang.String getOMFObjectTypeName(java.lang.String omfType)

Gets the name of the link target with the specified object type

java.util.List getOMFObjectTypes(IHierarchyType hierarchyType)

Each hierarchy type allows a list of link target objects to be linked to it.

java.util.List getOMFTypePropertyList(IHierarchyType hierarchyType)

This function calls the getOMFObjectTypes(IHierarchyType hierarchyType) internally, and return OMF type and the type name pairs in a list

Hierarchy Developer's Guide for Oracle Self-Service E-Billing Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices.