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

This is the query inspector for examining vote 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.
MethodgetVoterIdTerms
Description

Gets the resource Id query terms.

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

Gets the resource query terms.

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

Gets the voting agent Id query terms.

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

Gets the voting agent query terms.

Returnosid.authentication.AgentQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetVotesTerms
Description

Gets the votes query terms.

Returnosid.search.terms.IntegerRangeTerm[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetMinimumVotesTerms
Description

Gets the minimum votes query terms.

Returnosid.search.terms.IntegerTerm[]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.
MethodgetVoteQueryInspectorRecord
Description

Gets the vote query inspector record corresponding to the given Vote record Type.

Parametersosid.type.TypevoteRecordTypea vote record type
Returnosid.voting.records.VoteQueryInspectorRecordthe vote query inspector record
ErrorsNULL_ARGUMENT voteRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(voteRecordType) is false
CompliancemandatoryThis method must be implemented.