Interface ValueEnablerQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidEnablerQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, OsidRuleQuery, OsidTemporalQuery, Suppliable
This is the query for searching value enablers. Each method match
specifies an AND term while multiple invocations of the same
method produce a nested OR.
Like all OsidQueries, ValueEnablerQuery is stateful
and must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the configurationIdquery terms.voidClears the configuration query terms.voidClears the valueIdquery terms.voidClears the value query terms.Gets the query for a configuration.Gets the query for a value.getValueEnablerQueryRecord(Type valueEnablerRecordType) Gets the value enabler query record corresponding to the givenValueEnablerrecordType.voidmatchAnyRuledValue(boolean match) Matches enablers mapped to any value.voidmatchConfigurationId(Id configurationId, boolean match) Matches enablers mapped to the configuration.voidmatchRuledValueId(Id valueId, boolean match) Matches enablers mapped to the value.booleanTests if aConfigurationQueryis available.booleanTests if aValueQueryis 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
-
matchRuledValueId
Matches enablers mapped to the value.- Parameters:
valueId- the valueIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-valueIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearRuledValueIdTerms
void clearRuledValueIdTerms()Clears the valueIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsRuledValueQuery
boolean supportsRuledValueQuery()Tests if aValueQueryis available.- Returns:
trueif a value query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRuledValueQuery
ValueQuery getRuledValueQuery()Gets the query for a value. Multiple retrievals produce a nestedORterm.- Returns:
- the value query
- Throws:
UnimplementedException-supportsRuleValueQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRuledValueQuery()} is {@code true}.
-
matchAnyRuledValue
void matchAnyRuledValue(boolean match) Matches enablers mapped to any value.- Parameters:
match-truefor enablers mapped to any value,falseto match enablers mapped to no value- Compliance:
mandatory- This method must be implemented.
-
clearRuledValueTerms
void clearRuledValueTerms()Clears the value query terms.- Compliance:
mandatory- This method must be implemented.
-
matchConfigurationId
Matches enablers mapped to the configuration.- Parameters:
configurationId- the configurationIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-configurationIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearConfigurationIdTerms
void clearConfigurationIdTerms()Clears the configurationIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsConfigurationQuery
boolean supportsConfigurationQuery()Tests if aConfigurationQueryis available.- Returns:
trueif a configuration query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getConfigurationQuery
ConfigurationQuery getConfigurationQuery()Gets the query for a configuration. Multiple retrievals produce a nestedORterm.- Returns:
- the configuration query
- Throws:
UnimplementedException-supportsConfigurationQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsConfigurationQuery()} is {@code true}.
-
clearConfigurationTerms
void clearConfigurationTerms()Clears the configuration query terms.- Compliance:
mandatory- This method must be implemented.
-
getValueEnablerQueryRecord
ValueEnablerQueryRecord getValueEnablerQueryRecord(Type valueEnablerRecordType) throws OperationFailedException Gets the value enabler query record corresponding to the givenValueEnablerrecordType. Multiple record retrievals produce a nestedORterm.- Parameters:
valueEnablerRecordType- a value enabler record type- Returns:
- the value enabler query record
- Throws:
NullArgumentException-valueEnablerRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(valueEnablerRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-