Interface CandidateReceiver

All Superinterfaces:
OsidReceiver

public interface CandidateReceiver extends OsidReceiver

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedCandidates(Id notificationId, IdList candidateIds)
    The callback for notification of updated candidates.
    void
    deletedCandidates(Id notificationId, IdList candidateIds)
    the callback for notification of deleted candidates.
    void
    newCandidates(Id notificationId, IdList candidateIds)
    The callback for notifications of new candidates.

    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

    • newCandidates

      void newCandidates(Id notificationId, IdList candidateIds)
      The callback for notifications of new candidates.
      Parameters:
      notificationId - the notification Id
      candidateIds - the Ids of the new Candidates
      Compliance:
      mandatory - This method must be implemented.
    • changedCandidates

      void changedCandidates(Id notificationId, IdList candidateIds)
      The callback for notification of updated candidates.
      Parameters:
      notificationId - the notification Id
      candidateIds - the Ids of the updated Candidates
      Compliance:
      mandatory - This method must be implemented.
    • deletedCandidates

      void deletedCandidates(Id notificationId, IdList candidateIds)
      the callback for notification of deleted candidates.
      Parameters:
      notificationId - the notification Id
      candidateIds - the Ids of the deleted Candidates
      Compliance:
      mandatory - This method must be implemented.