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

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

MethodgetCandidateIdTerms
Description

Gets the candidate Id query terms.

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

Gets the candidate query terms.

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

Gets the ancestor polls Id query terms.

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

Gets the ancestor polls query terms.

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

Gets the descendant polls Id query terms.

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

Gets the descendant polls query terms.

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

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

Parametersosid.type.TypepollsRecordType a polls record type
Returnosid.voting.records.PollsQueryInspectorRecord the polls query inspector record
ErrorsNULL_ARGUMENT pollsRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(pollsRecordType) is false
Compliancemandatory This method must be implemented.