Interface AntimatroidHierarchySession

All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession

public interface AntimatroidHierarchySession extends OsidSession

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

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 getParentAntimatroids() or getChildAntimatroids() in lieu of a PERMISSION_DENIED error that may disrupt the traversal through authorized featureways.

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

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