OSID Logo
OSID Specifications
voting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.CandidateQueryInspector
Implementsosid.OsidRelationshipQueryInspector
Description

This is the query inspector for examining candidate queries.

MethodgetRaceIdTerms
Description

Gets the race Id query terms.

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

Gets the race query terms.

Returnosid.voting.RaceQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetResourceIdTerms
Description

Gets the resource Id query terms.

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

Gets the resource query terms.

Returnosid.resource.ResourceQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetVoteIdTerms
Description

Gets the vote Id query terms.

Returnosid.search.terms.IdTerm[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetVoteTerms
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.
MethodgetCandidateQueryInspectorRecord
Description

Gets the candidate query inspector record corresponding to the given Candidate record Type.

Parametersosid.type.TypecandidateRecordTypea candidate record type
Returnosid.voting.records.CandidateQueryInspectorRecordthe candidate query inspector record
ErrorsNULL_ARGUMENT candidateRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(candidateRecordType) is false
CompliancemandatoryThis method must be implemented.