Interface HierarchyReceiver

All Superinterfaces:
OsidReceiver

public interface HierarchyReceiver extends OsidReceiver

The hierarchy receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted Hierarchy objects.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedHierarchies(Id notificationId, IdList hierarchyIds)
    The callback for notification of updated hierarchies.
    void
    deletedHierarchies(Id notificationId, IdList hierarchyIds)
    the callback for notification of deleted hierarchies.
    void
    newHierarchies(Id notificationId, IdList hierarchyIds)
    The callback for notifications of new hierarchies.

    Methods inherited from interface OsidReceiver

    down, up
    Modifier and Type
    Method
    Description
    void
    The callback for notifications that the notification bus is not operating.
    void
    up()
    The callback for notifications that the notification bus is operational.
  • Method Details

    • newHierarchies

      void newHierarchies(Id notificationId, IdList hierarchyIds)
      The callback for notifications of new hierarchies.
      Parameters:
      notificationId - the notification Id
      hierarchyIds - the Ids of the new Hierarchies
      Compliance:
      mandatory - This method must be implemented.
    • changedHierarchies

      void changedHierarchies(Id notificationId, IdList hierarchyIds)
      The callback for notification of updated hierarchies.
      Parameters:
      notificationId - the notification Id
      hierarchyIds - the Ids of the updated Hierarchies
      Compliance:
      mandatory - This method must be implemented.
    • deletedHierarchies

      void deletedHierarchies(Id notificationId, IdList hierarchyIds)
      the callback for notification of deleted hierarchies.
      Parameters:
      notificationId - the notification Id
      hierarchyIds - the Ids of the deleted Hierarchies
      Compliance:
      mandatory - This method must be implemented.