Interface ProductReceiver

All Superinterfaces:
OsidReceiver

public interface ProductReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedProducts(Id notificationId, IdList productIds)
    The callback for notification of updated products.
    void
    deletedProducts(Id notificationId, IdList productIds)
    the callback for notification of deleted products.
    void
    newProducts(Id notificationId, IdList productIds)
    The callback for notifications of new products.

    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

    • newProducts

      void newProducts(Id notificationId, IdList productIds)
      The callback for notifications of new products.
      Parameters:
      notificationId - the notification Id
      productIds - the Ids of the new Products
      Compliance:
      mandatory - This method must be implemented.
    • changedProducts

      void changedProducts(Id notificationId, IdList productIds)
      The callback for notification of updated products.
      Parameters:
      notificationId - the notification Id
      productIds - the Ids of the updated Products
      Compliance:
      mandatory - This method must be implemented.
    • deletedProducts

      void deletedProducts(Id notificationId, IdList productIds)
      the callback for notification of deleted products.
      Parameters:
      notificationId - the notification Id
      productIds - the Ids of the registered Products
      Compliance:
      mandatory - This method must be implemented.