Hierarchy Developer's Guide for Oracle Self-Service E-Billing > Basic Hierarchy Manager Use Cases > Taking the User's Role into Consideration >

Finding Unassigned Link Targets or OMF Objects


The following code shows finding unassigned link targets or OMF objects:

IOMFObject[] unassignedOMF =
findUnassignedOMFObjects(hierarchy, omfType, searchCriteria);

This method returns a list of OMF objects that: qualify the search criteria, the current user has access to, and have not been linked into the current hierarchy yet.

To determine the list of objects that the current user has access to typically involves interaction with other hierarchies, or even to another data rule set in Hierarchy Manager to determine what objects are available for current user to access.

Hierarchy Manager is used as a master access control hierarchy. When searching for an unassigned account or unassigned service agreement, Hierarchy Manager can return a list of accounts or service agreements that are granted access to the current user but have not been assigned to the current hierarchy.

The IUnAssignedObjectProvider interface can implement specific rules for retrieving unassigned objects based on the application business logic. It could be necessary to communicate with an external system for the access information.

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