OSID Logo
OSID Specifications
voting package
Version 3.0.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.IdListvoteIdsa list of vote Ids
ErrorsNULL_ARGUMENTvoteIds is null
CompliancemandatoryThis method must be implemented.
MethodorderVoteResults
Description

Specify an ordering to the search results.

Parametersosid.voting.VoteSearchOrdervoteSearchOrdera vote search order
ErrorsNULL_ARGUMENTvoteSearchOrder is null
UNSUPPORTEDvoteSearchOrder is not of this service
CompliancemandatoryThis 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.TypevoteSearchRecordTypea vote search record type
Returnosid.voting.records.VoteSearchRecordthe vote search record
ErrorsNULL_ARGUMENTvoteSearchRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDhasRecordType(voteSearchRecordType) is false
CompliancemandatoryThis method must be implemented.