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

MethodgetRuledVoteIdTerms
Description

Gets the vote Id query terms.

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

Gets the vote query terms.

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

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

Parametersosid.type.TypevoteEnablerRecordTypea vote enabler record type
Returnosid.voting.rules.records.VoteEnablerQueryInspectorRecord[]the vote enabler query inspector record
ErrorsNULL_ARGUMENTvoteEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(voteEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.