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.

Like all OsidReceivers, notifications are delivered to CategoryReceiver serially and a receiver method is not invoked again until any previous invocation has returned.

  • 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
  • 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.