Interface PressReceiver

All Superinterfaces:
OsidReceiver

public interface PressReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedChildOfPresses(Id notificationId, IdList pressIds)
    The callback for notifications of changes to children of press hierarchy nodes.
    void
    changedPress(Id notificationId, IdList pressIds)
    The callback for notification of updated press.
    void
    deletedPress(Id notificationId, IdList pressIds)
    The callback for notification of deleted presses.
    void
    newPress(Id notificationId, IdList pressIds)
    The callback for notifications of new presses.

    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

    • newPress

      void newPress(Id notificationId, IdList pressIds)
      The callback for notifications of new presses.
      Parameters:
      notificationId - the notification Id
      pressIds - the Ids of the new Presses
      Compliance:
      mandatory - This method must be implemented.
    • changedPress

      void changedPress(Id notificationId, IdList pressIds)
      The callback for notification of updated press.
      Parameters:
      notificationId - the notification Id
      pressIds - the Ids of the updated Presses
      Compliance:
      mandatory - This method must be implemented.
    • deletedPress

      void deletedPress(Id notificationId, IdList pressIds)
      The callback for notification of deleted presses.
      Parameters:
      notificationId - the notification Id
      pressIds - the Ids of the deleted Presses
      Compliance:
      mandatory - This method must be implemented.
    • changedChildOfPresses

      void changedChildOfPresses(Id notificationId, IdList pressIds)
      The callback for notifications of changes to children of press hierarchy nodes.
      Parameters:
      notificationId - the notification Id
      pressIds - the Ids of the Presses whose children have changed
      Compliance:
      mandatory - This method must be implemented.