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

IHierarchyTypeManager Interface


The IHierarchyTypeManager object is used to manage hierarchy types. You can get an instance of this object through IHierarchyService. Table 19 describes the methods available for the IHierarchyTypeManager API.

Table 19. 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)

Retrieves an instance of IHierarchy by its unique code

java.util.List getHierarchyTypes()

Retrieves all the supported hierarchy types.

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

Retrieves 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)

A function that 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 © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.