OSID Logo
OSID Specifications
voting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.PollsQueryInspector
Implementsosid.OsidCatalogQueryInspector
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_ARGUMENT pollsRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(pollsRecordType) is false
CompliancemandatoryThis method must be implemented.