Interface PressHierarchySession

All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession

public interface PressHierarchySession extends OsidSession

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

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

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

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