public interface VoteReceiver extends OsidReceiver
The vote receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Votes.
Modifier and Type | Method and Description |
---|---|
void |
changedVote(Id voteId)
The callback for notification of updated votes.
|
void |
deletedVote(Id voteId)
The callback for notification of deleted votes.
|
void |
newVote(Id voteId)
The callback for notifications of new votes.
|
down, up
void newVote(Id voteId)
voteId
- the Id
of the new Vote
mandatory
- This method must be implemented. void changedVote(Id voteId)
voteId
- the Id
of the updated Vote
mandatory
- This method must be implemented. void deletedVote(Id voteId)
voteId
- the Id
of the deleted Vote
mandatory
- This method must be implemented.