Interface DemographicReceiver

All Superinterfaces:
OsidReceiver

public interface DemographicReceiver extends OsidReceiver

The demographic receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted demographics.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedDemographics(Id notificationId, IdList demographicIds)
    The callback for notification of updated demographics.
    void
    deletedDemographics(Id notificationId, IdList demographicIds)
    The callback for notification of deleted demographics.
    void
    newDemographics(Id notificationId, IdList demographicIds)
    The callback for notifications of new demographics.

    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

    • newDemographics

      void newDemographics(Id notificationId, IdList demographicIds)
      The callback for notifications of new demographics.
      Parameters:
      notificationId - the notification Id
      demographicIds - the Ids of the new Demographics
      Compliance:
      mandatory - This method must be implemented.
    • changedDemographics

      void changedDemographics(Id notificationId, IdList demographicIds)
      The callback for notification of updated demographics.
      Parameters:
      notificationId - the notification Id
      demographicIds - the Ids of the updated Demographics
      Compliance:
      mandatory - This method must be implemented.
    • deletedDemographics

      void deletedDemographics(Id notificationId, IdList demographicIds)
      The callback for notification of deleted demographics.
      Parameters:
      notificationId - the notification Id
      demographicIds - the Ids of the deleted Demographics
      Compliance:
      mandatory - This method must be implemented.