OSID Logo
OSID Specifications
voting rules package
Version 3.1.0
Interfaceosid.voting.rules.VoteEnablerQueryInspector
Implementsosid.OsidEnablerQueryInspector
Used Byosid.voting.rules.VoteEnablerSearchResults
osid.voting.rules.VoteEnablerSmartPollsSession
Description

This is the query inspector for examining vote enabler queries.

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

MethodgetRuledVoteIdTerms
Description

Gets the vote Id query terms.

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

Gets the vote query terms.

Returnosid.voting.VoteQueryInspector[] 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.
MethodgetVoteEnablerQueryInspectorRecord
Description

Gets the vote enabler query inspector record corresponding to the given VoteEnabler record Type.

Parametersosid.type.TypevoteEnablerRecordType a vote enabler record type
Returnosid.voting.rules.records.VoteEnablerQueryInspectorRecord[] the vote enabler query inspector record
ErrorsNULL_ARGUMENT voteEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(voteEnablerRecordType) is false
Compliancemandatory This method must be implemented.