OSID Logo
OSID Specifications
voting package
Version 3.0.0
Interfaceosid.voting.PollsQueryInspector
Implementsosid.OsidCatalogQueryInspector
Used Byosid.voting.BallotQueryInspector
osid.voting.CandidateQueryInspector
osid.voting.PollsQueryInspector
osid.voting.PollsSearchResults
osid.voting.RaceQueryInspector
osid.voting.VoteQueryInspector
osid.voting.rules.BallotConstrainerEnablerQueryInspector
osid.voting.rules.BallotConstrainerQueryInspector
osid.voting.rules.RaceConstrainerEnablerQueryInspector
osid.voting.rules.RaceConstrainerQueryInspector
show 3 more…
osid.voting.rules.RaceProcessorEnablerQueryInspector
osid.voting.rules.RaceProcessorQueryInspector
osid.voting.rules.VoteEnablerQueryInspector
Description

This is the query inspector for examining poll queries.

MethodgetCandidateIdTerms
Description

Gets the candidate Id query terms.

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

Gets the candidate query terms.

Returnosid.voting.CandidateQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetAncestorPollsIdTerms
Description

Gets the ancestor polls Id query terms.

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

Gets the ancestor polls query terms.

Returnosid.voting.PollsQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetDescendantPollsIdTerms
Description

Gets the descendant polls Id query terms.

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

Gets the descendant polls query terms.

Returnosid.voting.PollsQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetPollsQueryInspectorRecord
Description

Gets the polls query inspector record corresponding to the given Polls record Type .

Parametersosid.type.TypepollsRecordTypea polls record type
Returnosid.voting.records.PollsQueryInspectorRecordthe polls query inspector record
ErrorsNULL_ARGUMENTpollsRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(pollsRecordType) is false
CompliancemandatoryThis method must be implemented.