OSID Logo
OSID Specifications
voting rules package
Version 3.0.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.

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_ARGUMENTballotConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(ballotConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.