| Interface | osid.voting.VoteSearch | ||
|---|---|---|---|
| Implements | osid.OsidSearch | ||
| Description | 
                 
  | ||
| Method | searchAmongVotes | ||
| Description | 
                     Execute this search among the given list of votes.  | ||
| Parameters | osid.id.IdList | voteIds | a list of vote  Ids   | 
| Errors | NULL_ARGUMENT |  voteIds  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | orderVoteResults | ||
| Description | 
                     Specify an ordering to the search results.  | ||
| Parameters | osid.voting.VoteSearchOrder | voteSearchOrder | a vote search order | 
| Errors | NULL_ARGUMENT |  voteSearchOrder  is  null   |                 |
| UNSUPPORTED |  voteSearchOrder  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getVoteSearchRecord | ||
| Description | 
                     Gets the vote search record corresponding to the given 
                    vote search record   | ||
| Parameters | osid.type.Type | voteSearchRecordType | a vote search record type | 
| Return | osid.voting.records.VoteSearchRecord | the vote search record | |
| Errors | NULL_ARGUMENT |  voteSearchRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED |  hasRecordType(voteSearchRecordType)  is  false   |                 ||
| Compliance | mandatory | This method must be implemented. | |