Interface CommissionEnablerQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidEnablerQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, OsidRuleQuery, OsidTemporalQuery, Suppliable
This is the query for searching commission enablers. Each method match
specifies an AND term while multiple invocations of the same
method produce a nested OR.
Like all OsidQueries, CommissionEnablerQuery is
stateful and must not be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the foundryIdquery terms.voidClears the foundry query terms.voidClears the commissionIdquery terms.voidClears the commission query terms.getCommissionEnablerQueryRecord(Type commissionEnablerRecordType) Gets the commission enabler query record corresponding to the givenCommissionEnablerrecordType.Gets the query for a foundry.Gets the query for a commission.voidmatchAnyRuledCommission(boolean match) Matches mapped to any commission.voidmatchFoundryId(Id foundryId, boolean match) Matches mapped to the foundry.voidmatchRuledCommissionId(Id foundryId, boolean match) Matches mapped to a commission.booleanTests if aFoundryQueryis available.booleanTests if aCommissionQueryis 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
-
matchRuledCommissionId
Matches mapped to a commission.- Parameters:
foundryId- the commissionIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-foundryIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearRuledCommissionIdTerms
void clearRuledCommissionIdTerms()Clears the commissionIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsRuledCommissionQuery
boolean supportsRuledCommissionQuery()Tests if aCommissionQueryis available.- Returns:
trueif a commission query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRuledCommissionQuery
CommissionQuery getRuledCommissionQuery()Gets the query for a commission. Multiple retrievals produce a nestedORterm.- Returns:
- the commission query
- Throws:
UnimplementedException-supportsRuledCommissionQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRuledCommissionQuery()} is {@code true}.
-
matchAnyRuledCommission
void matchAnyRuledCommission(boolean match) Matches mapped to any commission.- Parameters:
match-truefor mapped to any commission,falseto match mapped to no commissions- Compliance:
mandatory- This method must be implemented.
-
clearRuledCommissionTerms
void clearRuledCommissionTerms()Clears the commission query terms.- Compliance:
mandatory- This method must be implemented.
-
matchFoundryId
Matches mapped to the foundry.- Parameters:
foundryId- the foundryIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-foundryIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearFoundryIdTerms
void clearFoundryIdTerms()Clears the foundryIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsFoundryQuery
boolean supportsFoundryQuery()Tests if aFoundryQueryis available.- Returns:
trueif a foundry query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getFoundryQuery
FoundryQuery getFoundryQuery()Gets the query for a foundry. Multiple retrievals produce a nestedORterm.- Returns:
- the foundry query
- Throws:
UnimplementedException-supportsFoundryQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsFoundryQuery()} is {@code true}.
-
clearFoundryTerms
void clearFoundryTerms()Clears the foundry query terms.- Compliance:
mandatory- This method must be implemented.
-
getCommissionEnablerQueryRecord
CommissionEnablerQueryRecord getCommissionEnablerQueryRecord(Type commissionEnablerRecordType) throws OperationFailedException Gets the commission enabler query record corresponding to the givenCommissionEnablerrecordType. Multiple record retrievals produce a nestedORterm.- Parameters:
commissionEnablerRecordType- a commission enabler record type- Returns:
- the commission enabler query record
- Throws:
NullArgumentException-commissionEnablerRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(commissionEnablerRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-