OSID Logo
OSID Specifications
voting package
Version 3.0.0
Interfaceosid.voting.BallotSearchResults
Implementsosid.OsidSearchResults
Used Byosid.voting.BallotSearchSession
Description

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

MethodgetBallots
Description

Gets the ballot list resulting from a search.

Returnosid.voting.BallotListthe ballot list
ErrorsILLEGAL_STATElist already retrieved
CompliancemandatoryThis method must be implemented.
MethodgetBallotQueryInspector
Description

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

Returnosid.voting.BallotQueryInspectorthe ballot query inspector
CompliancemandatoryThis method must be implemented.
MethodgetBallotSearchResultsRecord
Description

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

Parametersosid.type.TypeballotSearchRecordTypea ballot search record type
Returnosid.voting.records.BallotSearchResultsRecordthe ballot search results record
ErrorsNULL_ARGUMENTballotSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordTypeType(ballotSearchRecordType) is false
CompliancemandatoryThis method must be implemented.