OSID Logo
OSID Specifications
voting package
Version 3.0.0
Interfaceosid.voting.BallotQueryInspector
Implementsosid.OsidGovernatorQueryInspector
osid.OsidTemporalQueryInspector
Used Byosid.voting.BallotSearchResults
osid.voting.BallotSmartPollsSession
osid.voting.RaceQueryInspector
osid.voting.rules.BallotConstrainerQueryInspector
Description

This is the query inspector for examining ballot queries.

MethodgetCommissionerIdTerms
Description

Gets the commissioner Id query terms.

Returnosid.search.terms.IdTerm[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetCommissionerTerms
Description

Gets the commissioner query terms.

Returnosid.resource.ResourceQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetRevoteTerms
Description

Gets the revote query terms.

Returnosid.search.terms.BooleanTerm[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetRaceIdTerms
Description

Gets the race Id query terms.

Returnosid.search.terms.IdTerm[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetRaceTerms
Description

Gets the race query terms.

Returnosid.voting.RaceQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetPollsIdTerms
Description

Gets the polls Id query terms.

Returnosid.search.terms.IdTerm[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetPollsTerms
Description

Gets the polls query terms.

Returnosid.voting.PollsQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetBallotQueryInspectorRecord
Description

Gets the ballot query inspector record corresponding to the given Ballot record Type .

Parametersosid.type.TypeballotRecordTypea ballot record type
Returnosid.voting.records.BallotQueryInspectorRecordthe ballot query inspector record
ErrorsNULL_ARGUMENTballotRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(ballotRecordType) is false
CompliancemandatoryThis method must be implemented.