OSID Logo
OSID Specifications
voting package
Version 3.1.0
Interfaceosid.voting.VoteSearch
Implementsosid.OsidSearch
Used Byosid.voting.VoteSearchSession
Description

VoteSearch defines the interface for specifying vote search options.

MethodsearchAmongVotes
Description

Execute this search among the given list of votes.

Parametersosid.id.IdListvoteIds a list of vote Ids
ErrorsNULL_ARGUMENT voteIds is null
Compliancemandatory This method must be implemented.
MethodorderVoteResults
Description

Specify an ordering to the search results.

Parametersosid.voting.VoteSearchOrdervoteSearchOrder a vote search order
ErrorsNULL_ARGUMENT voteSearchOrder is null
UNSUPPORTED voteSearchOrder is not of this service
Compliancemandatory This method must be implemented.
MethodgetVoteSearchRecord
Description

Gets the vote search record corresponding to the given vote search record Type. This method is used to retrieve an object implementing the requested record.

Parametersosid.type.TypevoteSearchRecordType a vote search record type
Returnosid.voting.records.VoteSearchRecord the vote search record
ErrorsNULL_ARGUMENT voteSearchRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(voteSearchRecordType) is false
Compliancemandatory This method must be implemented.