Interface OsidRuleApplicatorQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidEnablerQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, OsidRuleQuery, OsidTemporalQuery, Suppliable
- All Known Subinterfaces:
InstructionQuery
This is the query interface for searching OsidRuleApplicators.
Each method specifies an AND term while multiple invocations of
the same method produce a nested OR.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears all resourceIdterms.voidClears all resource terms.getResourceQuery(boolean match) Gets the query for the resource.voidmatchAnyResource(boolean match) Match any associated resource.voidmatchResourceId(Id resourceId, boolean match) Match theIdof the resource.booleanTests if aResourceQueryis available.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface OsidEnablerQuery
clearCyclicEventIdTerms, clearCyclicEventTerms, clearCyclicTimePeriodIdTerms, clearCyclicTimePeriodTerms, clearEventIdTerms, clearEventTerms, clearRequirementTerms, clearScheduleIdTerms, clearScheduleTerms, clearTimePeriodIdTerms, clearTimePeriodTerms, getCyclicEventQuery, getCyclicTimePeriodQuery, getEventQuery, getScheduleQuery, getTimePeriodQuery, matchAnyCyclicEvent, matchAnyCyclicTimePeriod, matchAnyEvent, matchAnyRequirement, matchAnySchedule, matchAnyTimePeriod, matchCyclicEventId, matchCyclicTimePeriodId, matchEventId, matchRequirement, matchScheduleId, matchTimePeriodId, supportsCyclicEventQuery, supportsCyclicTimePeriodQuery, supportsEventQuery, supportsScheduleQuery, supportsTimePeriodQueryMethods inherited from interface OsidExtensibleQuery
clearRecordTerms, matchAnyRecord, matchRecordTypeMethods inherited from interface OsidIdentifiableQuery
clearIdTerms, matchIdMethods inherited from interface OsidObjectQuery
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, supportsSubjectRelevancyQueryMethods inherited from interface OsidOperableQuery
clearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalMethods inherited from interface OsidQuery
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeMethods inherited from interface OsidRuleQuery
clearConditionRecordTypeTerms, clearRuleIdTerms, clearRuleTerms, getRuleQuery, matchAnyConditionRecordType, matchAnyRule, matchConditionRecordType, matchRuleId, supportsRuleQueryMethods inherited from interface OsidTemporalQuery
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
-
Method Details
-
matchResourceId
Match theIdof the resource.- Parameters:
resourceId-Idto matchmatch-trueif for a positive match,falsefor a negative match- Throws:
NullArgumentException-resourceIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearResourceIdTerms
void clearResourceIdTerms()Clears all resourceIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsResourceQuery
boolean supportsResourceQuery()Tests if aResourceQueryis available.- Returns:
trueif a resource query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getResourceQuery
Gets the query for the resource. Each retrieval performs a booleanOR.- Parameters:
match-trueif for a positive match,falsefor a negative match- Returns:
- the resource query
- Throws:
UnimplementedException-supportsResourceQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceQuery()} is {@code true}.
-
matchAnyResource
void matchAnyResource(boolean match) Match any associated resource.- Parameters:
match-trueto match any resource,falseto match no resources- Compliance:
mandatory- This method must be implemented.
-
clearResourceTerms
void clearResourceTerms()Clears all resource terms.- Compliance:
mandatory- This method must be implemented.
-