Interface SubjectReceiver

All Superinterfaces:
OsidReceiver

public interface SubjectReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedChildOfSubjects(Id notificationId, IdList subjectIds)
    The callback for notifications of changes to children of subjects hierarchy nodes.
    void
    changedSubjects(Id notificationId, IdList subjectIds)
    The callback for notification of updated subjects.
    void
    deletedSubjects(Id notificationId, IdList subjectIds)
    The callback for notification of deleted subjects.
    void
    newSubjects(Id notificationId, IdList subjectIds)
    The callback for notifications of new subjects.

    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

    • newSubjects

      void newSubjects(Id notificationId, IdList subjectIds)
      The callback for notifications of new subjects.
      Parameters:
      notificationId - the notification Id
      subjectIds - the Ids of the new Subjects
      Compliance:
      mandatory - This method must be implemented.
    • changedSubjects

      void changedSubjects(Id notificationId, IdList subjectIds)
      The callback for notification of updated subjects.
      Parameters:
      notificationId - the notification Id
      subjectIds - the Ids of the updated Subjects
      Compliance:
      mandatory - This method must be implemented.
    • deletedSubjects

      void deletedSubjects(Id notificationId, IdList subjectIds)
      The callback for notification of deleted subjects.
      Parameters:
      notificationId - the notification Id
      subjectIds - the Ids of the deleted Subjects
      Compliance:
      mandatory - This method must be implemented.
    • changedChildOfSubjects

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