OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.BallotConstrainerEnablerQueryInspector
Implementsosid.OsidEnablerQueryInspector
Description

This is the query inspector for examining ballot constrainer enabler queries.

MethodgetRuledBallotConstrainerIdTerms
Description

Gets the ballot constrainer Id query terms.

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

Gets the ballot constrainer query terms.

Returnosid.voting.rules.BallotConstrainerQueryInspector[]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.
MethodgetBallotConstrainerEnablerQueryInspectorRecord
Description

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

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