Interface RecipeReceiver

All Superinterfaces:
OsidReceiver

public interface RecipeReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedRecipes(Id notificationId, IdList recipeIds)
    The callback for notification of updated recipes.
    void
    deletedRecipes(Id notificationId, IdList recipeIds)
    The callback for notification of deleted recipes.
    void
    newRecipes(Id notificationId, IdList recipeIds)
    The callback for notifications of new recipes.

    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

    • newRecipes

      void newRecipes(Id notificationId, IdList recipeIds)
      The callback for notifications of new recipes.
      Parameters:
      notificationId - the notification Id
      recipeIds - the Ids of the new Recipes
      Compliance:
      mandatory - This method must be implemented.
    • changedRecipes

      void changedRecipes(Id notificationId, IdList recipeIds)
      The callback for notification of updated recipes.
      Parameters:
      notificationId - the notification Id
      recipeIds - the Ids of the updated Recipes
      Compliance:
      mandatory - This method must be implemented.
    • deletedRecipes

      void deletedRecipes(Id notificationId, IdList recipeIds)
      The callback for notification of deleted recipes.
      Parameters:
      notificationId - the notification Id
      recipeIds - the Ids of the deleted Recipes
      Compliance:
      mandatory - This method must be implemented.