Interface DistributorHierarchySession

All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession

public interface DistributorHierarchySession extends OsidSession

This session defines methods for traversing a hierarchy of Distributor objects. Each node in the hierarchy is a unique Distributor . The hierarchy may be traversed recursively to establish the tree structure through getParentDistributors() and getChildDistributors() . To relate these Ids to another OSID, getDistributorNodes() can be used for retrievals that can be used for bulk lookups in other OSIDs. Any Distributor available in the Provisioning OSID is known to this hierarchy but does not appear in the hierarchy traversal until added as a root distributor or a child of another distributor.

A user may not be authorized to traverse the entire hierarchy. Parts of the hierarchy may be made invisible through omission from the returns of getParentDistributors() or getChildDistributors() in lieu of a PERMISSION_DENIED error that may disrupt the traversal through authorized provisionways.

This session defines views that offer differing behaviors when retrieving multiple objects.

  • comparative distributor view: distributor elements may be silently omitted or re-ordered
  • plenary distributor view: provides a complete set or is an error condition