Interface TermReceiver

All Superinterfaces:
OsidReceiver

public interface TermReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedChildOfTerms(Id notificationId, IdList termIds)
    The callback for notifications of changes to children of term hierarchy nodes.
    void
    changedTerms(Id notificationId, IdList termIds)
    The callback for notification of updated terms.
    void
    deletedTerms(Id notificationId, IdList termIds)
    The callback for notification of deleted terms.
    void
    newTerms(Id notificationId, IdList termIds)
    The callback for notifications of new terms.

    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

    • newTerms

      void newTerms(Id notificationId, IdList termIds)
      The callback for notifications of new terms.
      Parameters:
      notificationId - the notification Id
      termIds - the Ids of the new Terms
      Compliance:
      mandatory - This method must be implemented.
    • changedTerms

      void changedTerms(Id notificationId, IdList termIds)
      The callback for notification of updated terms.
      Parameters:
      notificationId - the notification Id
      termIds - the Ids of the updated Terms
      Compliance:
      mandatory - This method must be implemented.
    • deletedTerms

      void deletedTerms(Id notificationId, IdList termIds)
      The callback for notification of deleted terms.
      Parameters:
      notificationId - the notification Id
      termIds - the Ids of the deleted Terms
      Compliance:
      mandatory - This method must be implemented.
    • changedChildOfTerms

      void changedChildOfTerms(Id notificationId, IdList termIds)
      The callback for notifications of changes to children of term hierarchy nodes.
      Parameters:
      notificationId - the notification Id
      termIds - the Ids of the Terms whose children have changed
      Compliance:
      mandatory - This method must be implemented.