public interface OsidRuleQuery extends OsidObjectQuery, OsidOperableQuery
This is the query interface for searching rules. Each method specifies
an AND term while multiple invocations of the same method
produce a nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearRuleIdTerms()
Clears all rule
Id terms. |
void |
clearRuleTerms()
Clears all rule terms.
|
RuleQuery |
getRuleQuery(boolean match)
Gets the query for the rule.
|
void |
matchAnyRule(boolean match)
Match any associated rule.
|
void |
matchRuleId(Id ruleId,
boolean match)
Match the
Id of the rule. |
boolean |
supportsRuleQuery()
Tests if a
RuleQuery for the rule 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, supportsStringMatchTypeclearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalvoid matchRuleId(Id ruleId, boolean match)
Id of the rule.ruleId - Id to matchmatch - true if for a positive match,
false for a negative matchNullArgumentException - ruleId is
null mandatory - This method must be implemented. void clearRuleIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsRuleQuery()
RuleQuery for the rule is available. true if a rule query is available, false
otherwisemandatory - This method must be implemented. RuleQuery getRuleQuery(boolean match)
OR. match - true if for a positive match,
false for a negative matchUnimplementedException - supportsRuleQuery()
is false optional - This method must be implemented if
supportsRuleQuery() is true. void matchAnyRule(boolean match)
match - true to match any rule, false
to match no rulesmandatory - This method must be implemented. void clearRuleTerms()
mandatory - This method must be implemented.