OSID Logo
OSID Specifications
voting package
Version 3.1.0
Interfaceosid.voting.PollsSearch
Implementsosid.OsidSearch
Used Byosid.voting.PollsSearchSession
Description

The interface for governing polls searches.

MethodsearchAmongPolls
Description

Execute this search among the given list of polls.

Parametersosid.id.IdListpollsIds list of polls
ErrorsNULL_ARGUMENT pollsIds is null
Compliancemandatory This method must be implemented.
MethodorderPollsResults
Description

Specify an ordering to the search results.

Parametersosid.voting.PollsSearchOrderpollsSearchOrder polls search order
ErrorsNULL_ARGUMENT pollsSearchOrder is null
UNSUPPORTED pollsSearchOrder is not of this service
Compliancemandatory This method must be implemented.
MethodgetPollsSearchRecord
Description

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