public interface PollsQuery extends OsidCatalogQuery
This is the query for searching polls. Each method specifies an
AND term while multiple invocations of the same method produce a
nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearAncestorPollsIdTerms()
Clears the ancestor polls
Id terms. |
void |
clearAncestorPollsTerms()
Clears the ancestor polls terms.
|
void |
clearCandidateIdTerms()
Clears the candidate
Id terms. |
void |
clearCandidateTerms()
Clears the candidate terms.
|
void |
clearDescendantPollsIdTerms()
Clears the descendant polls
Id terms. |
void |
clearDescendantPollsTerms()
Clears the descendant polls terms.
|
PollsQuery |
getAncestorPollsQuery()
Gets the query for a polls.
|
CandidateQuery |
getCandidateQuery()
Gets the query for a candidate.
|
PollsQuery |
getDescendantPollsQuery()
Gets the query for a polls.
|
PollsQueryRecord |
getPollsQueryRecord(Type pollsRecordType)
Gets the polls query record corresponding to the given
Polls
record Type. |
void |
matchAncestorPollsId(Id pollsid,
boolean match)
Sets the polls
Id for this query to match polls that
have the specified polls as an ancestor. |
void |
matchAnyAncestorPolls(boolean match)
Matches polls with any ancestor.
|
void |
matchAnyCandidate(boolean match)
Matches polls with any candidate.
|
void |
matchAnyDescendantPolls(boolean match)
Matches polls with any descendant.
|
void |
matchCandidateId(Id candidateId,
boolean match)
Sets the candidate
Id for this query. |
void |
matchDescendantPollsId(Id pollsid,
boolean match)
Sets the polls
Id for this query to match polls that
have the specified polls as a descendant. |
boolean |
supportsAncestorPollsQuery()
Tests if a
PollsQuery is available. |
boolean |
supportsCandidateQuery()
Tests if a
CandidateQuery is available. |
boolean |
supportsDescendantPollsQuery()
Tests if a
PollsQuery is available. |
clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeclearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQueryvoid matchCandidateId(Id candidateId, boolean match)
Id for this query.candidateId - a candidate Id match - true for a positive match, false
for a negative matchNullArgumentException - candidateId is
null mandatory - This method must be implemented. void clearCandidateIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsCandidateQuery()
CandidateQuery is available. true if a candidate query is available,
false otherwisemandatory - This method must be implemented. CandidateQuery getCandidateQuery()
OR term.UnimplementedException -
supportsCandidateQuery() is false optional - This method must be implemented if
supportsCandidateQuery() is true. void matchAnyCandidate(boolean match)
match - true to match polls with any candidate,
false to match polls with no candidatesmandatory - This method must be implemented. void clearCandidateTerms()
mandatory - This method must be implemented. void matchAncestorPollsId(Id pollsid, boolean match)
Id for this query to match polls that
have the specified polls as an ancestor.pollsid - a polls Id match - true for a positive match, false
for a negative matchNullArgumentException - pollsId is
null mandatory - This method must be implemented. void clearAncestorPollsIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsAncestorPollsQuery()
PollsQuery is available. true if a polls query is available,
false otherwisemandatory - This method must be implemented. PollsQuery getAncestorPollsQuery()
OR term.UnimplementedException -
supportsAncestorPollsQuery() is false optional - This method must be implemented if
supportsAncestorPollsQuery() is true.
void matchAnyAncestorPolls(boolean match)
match - true to match polls with any ancestor,
false to match root pollsmandatory - This method must be implemented. void clearAncestorPollsTerms()
mandatory - This method must be implemented. void matchDescendantPollsId(Id pollsid, boolean match)
Id for this query to match polls that
have the specified polls as a descendant.pollsid - a polls Id match - true for a positive match, false
for a negative matchNullArgumentException - pollsId is
null mandatory - This method must be implemented. void clearDescendantPollsIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsDescendantPollsQuery()
PollsQuery is available. true if a polls query is available,
false otherwisemandatory - This method must be implemented. PollsQuery getDescendantPollsQuery()
OR term.UnimplementedException -
supportsDescendantPollsQuery() is false optional - This method must be implemented if
supportsDescendantPollsQuery() is true.
void matchAnyDescendantPolls(boolean match)
match - true to match polls with any descendant,
false to match leaf pollsmandatory - This method must be implemented. void clearDescendantPollsTerms()
mandatory - This method must be implemented. PollsQueryRecord getPollsQueryRecord(Type pollsRecordType) throws OperationFailedException
Polls
record Type. Multiple retrievals produce a
nested OR term.pollsRecordType - a polls record typeNullArgumentException - pollsRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(pollsRecordType) is false mandatory - This method must be implemented.