public interface BallotReceiver extends OsidReceiver
The candidate receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Ballot
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedCandidate(Id ballotId)
The callback for notification of updated ballots.
|
void |
deletedCandidate(Id ballotId)
the callback for notification of deleted ballots.
|
void |
newBallot(Id ballotId)
The callback for notifications of new candidates.
|
down, up
void newBallot(Id ballotId)
ballotId
- the Id
of the new Ballot
mandatory
- This method must be implemented. void changedCandidate(Id ballotId)
ballotId
- the Id
of the updated Ballot
mandatory
- This method must be implemented. void deletedCandidate(Id ballotId)
ballotId
- the Id
of the deleted Ballot
mandatory
- This method must be implemented.