OSID Logo
OSID Specifications
voting rules package
Version 3.1.0
Interfaceosid.voting.rules.BallotConstrainerQueryInspector
Implementsosid.OsidConstrainerQueryInspector
Used Byosid.voting.rules.BallotConstrainerEnablerQueryInspector
osid.voting.rules.BallotConstrainerSearchResults
osid.voting.rules.BallotConstrainerSmartPollsSession
Description

This is the query interface for examining ballot constrainer queries.

Like all OsidQueryInspectors, BallotConstrainerQueryInspector is stateful and must not be accessed by multiple processing threads.

MethodgetRuledBallotIdTerms
Description

Gets the ballot Id query terms.

Returnosid.search.terms.IdTerm[] the query terms
Compliancemandatory This method must be implemented.
MethodgetRuledBallotTerms
Description

Gets the ballot query terms.

Returnosid.voting.BallotQueryInspector[] the query terms
Compliancemandatory This method must be implemented.
MethodgetPollsIdTerms
Description

Gets the polls Id query terms.

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

Gets the polls query terms.

Returnosid.voting.PollsQueryInspector[] the query terms
Compliancemandatory This method must be implemented.
MethodgetBallotConstrainerQueryInspectorRecord
Description

Gets the ballot constrainer query inspector record corresponding to the given BallotConstrainer record Type.

Parametersosid.type.TypeballotConstrainerRecordType a ballot constrainer record type
Returnosid.voting.rules.records.BallotConstrainerQueryInspectorRecord the ballot constrainer query inspector record
ErrorsNULL_ARGUMENT ballotConstrainerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(ballotConstrainerRecordType) is false
Compliancemandatory This method must be implemented.