Interface CategoryReceiver

All Superinterfaces:
OsidReceiver

public interface CategoryReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedCategories(Id notificationId, IdList categoryIds)
    The callback for notification of updated categories.
    void
    deletedCategories(Id notificationId, IdList categoryIds)
    The callback for notification of deleted categories.
    void
    newCategories(Id notificationId, IdList categoryIds)
    The callback for notifications of new categories.

    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

    • newCategories

      void newCategories(Id notificationId, IdList categoryIds)
      The callback for notifications of new categories.
      Parameters:
      notificationId - the notification Id
      categoryIds - the Id of the new Categories
      Compliance:
      mandatory - This method must be implemented.
    • changedCategories

      void changedCategories(Id notificationId, IdList categoryIds)
      The callback for notification of updated categories.
      Parameters:
      notificationId - the notification Id
      categoryIds - the Id of the updated Categories
      Compliance:
      mandatory - This method must be implemented.
    • deletedCategories

      void deletedCategories(Id notificationId, IdList categoryIds)
      The callback for notification of deleted categories.
      Parameters:
      notificationId - the notification Id
      categoryIds - the Id of the deleted Categories
      Compliance:
      mandatory - This method must be implemented.