OSID Logo
OSID Specifications
voting rules package
Version 3.1.0
Interfaceosid.voting.rules.BallotConstrainerEnablerQueryInspector
Implementsosid.OsidEnablerQueryInspector
Used Byosid.voting.rules.BallotConstrainerEnablerSearchResults
osid.voting.rules.BallotConstrainerEnablerSmartPollsSession
Description

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

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

MethodgetRuledBallotConstrainerIdTerms
Description

Gets the ballot constrainer Id query terms.

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

Gets the ballot constrainer query terms.

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

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

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