OSID Logo
OSID Specifications
voting package
Version 3.1.0
Interfaceosid.voting.VoteSearchResults
Implementsosid.OsidSearchResults
Used Byosid.voting.VoteSearchSession
Description

This interface provides a means to capture results of a search.

MethodgetVotes
Description

Gets the vote list resulting from the search.

Returnosid.voting.VoteList the vote list
ErrorsILLEGAL_STATE list already retrieved
Compliancemandatory This method must be implemented.
MethodgetVoteQueryInspector
Description

Gets the inspector for the query to examine the terms used in the search.

Returnosid.voting.VoteQueryInspector the vote query inspector
Compliancemandatory This method must be implemented.
MethodgetVoteSearchResultsRecord
Description

Gets the vote search results 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.VoteSearchResultsRecord the vote search results record
ErrorsNULL_ARGUMENT voteSearchRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(voteSearchRecordType) is false
Compliancemandatory This method must be implemented.