Interface OfficeReceiver

All Superinterfaces:
OsidReceiver

public interface OfficeReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedChildOfOffices(Id notificationId, IdList officeIds)
    The callback for notifications of changes to children of office hierarchy nodes.
    void
    changedOffices(Id notificationId, IdList officeIds)
    The callback for notification of updated office.
    void
    deletedOffices(Id notificationId, IdList officeIds)
    The callback for notification of deleted offices.
    void
    newOffices(Id notificationId, IdList officeIds)
    The callback for notifications of new offices.

    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

    • newOffices

      void newOffices(Id notificationId, IdList officeIds)
      The callback for notifications of new offices.
      Parameters:
      notificationId - the notification Id
      officeIds - the Ids of the new Offices
      Compliance:
      mandatory - This method must be implemented.
    • changedOffices

      void changedOffices(Id notificationId, IdList officeIds)
      The callback for notification of updated office.
      Parameters:
      notificationId - the notification Id
      officeIds - the Ids of the updated Offices
      Compliance:
      mandatory - This method must be implemented.
    • deletedOffices

      void deletedOffices(Id notificationId, IdList officeIds)
      The callback for notification of deleted offices.
      Parameters:
      notificationId - the notification Id
      officeIds - the Ids of the deleted Offices
      Compliance:
      mandatory - This method must be implemented.
    • changedChildOfOffices

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