OSID Logo
OSID Specifications
voting package
Version 3.1.0
Interfaceosid.voting.PollsSearchResults
Implementsosid.OsidSearchResults
Used Byosid.voting.PollsSearchSession
Description

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

MethodgetPolls
Description

Gets the polls list resulting from the search.

Returnosid.voting.PollsList the polls list
ErrorsILLEGAL_STATE list already retrieved
Compliancemandatory This method must be implemented.
MethodgetPollsQueryInspector
Description

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

Returnosid.voting.PollsQueryInspector the polls query inspector
Compliancemandatory This method must be implemented.
MethodgetPollsSearchResultsRecord
Description

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

Parametersosid.type.TypepollsSearchRecordType a polls search record type
Returnosid.voting.records.PollsSearchResultsRecord the polls search results record
ErrorsNULL_ARGUMENT pollsSearchRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(pollsSearchRecordType) is false
Compliancemandatory This method must be implemented.