OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.BallotConstrainerQueryInspector
Implementsosid.OsidConstrainerQueryInspector
Description

This is the query interface for examining ballot constrainer queries.

MethodgetRuledBallotIdTerms
Description

Gets the ballot Id query terms.

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

Gets the ballot query terms.

Returnosid.voting.BallotQueryInspector[]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.
MethodgetBallotConstrainerQueryInspectorRecord
Description

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

Parametersosid.type.TypeballotConstrainerRecordTypea ballot constrainer record type
Returnosid.voting.rules.records.BallotConstrainerQueryInspectorRecordthe ballot constrainer query inspector record
ErrorsNULL_ARGUMENT ballotConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(ballotConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.