OSID Logo
OSID Specifications
voting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.PollsSearchResults
Implementsosid.OsidSearchResults
Description

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

MethodgetPolls
Description

Gets the polls list resulting from the search.

Returnosid.voting.PollsListthe polls list
ErrorsILLEGAL_STATElist already retrieved
CompliancemandatoryThis method must be implemented.
MethodgetPollsQueryInspector
Description

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

Returnosid.voting.PollsQueryInspectorthe polls query inspector
CompliancemandatoryThis 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.TypepollsSearchRecordTypea polls search record type
Returnosid.voting.records.PollsSearchResultsRecordthe polls search results record
ErrorsNULL_ARGUMENT pollsSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(pollsSearchRecordType) is false
CompliancemandatoryThis method must be implemented.