OSID Logo
OSID Specifications
voting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.BallotQueryInspector
Implementsosid.OsidGovernatorQueryInspector
osid.OsidTemporalQueryInspector
Description

This is the query inspector for examining ballot queries.

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_ARGUMENT ballotRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(ballotRecordType) is false
CompliancemandatoryThis method must be implemented.