Interface JobProcessorEnablerQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidEnablerQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, OsidRuleQuery, OsidTemporalQuery, Suppliable
This is the query for searching job processor enablers. Each method
match specifies an AND term while multiple invocations of the same
method produce a nested OR.
Like all OsidQueries, JobProcessorEnablerQuery 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 job processorIdquery terms.voidClears the job processor query terms.Gets the query for a foundry.getJobProcessorEnablerQueryRecord(Type jobProcessorEnablerRecordType) Gets the job processor enabler query record corresponding to the givenJobProcessorEnablerrecordType.Gets the query for a job processor.voidmatchAnyRuledJobProcessor(boolean match) Matches enablers mapped to any job processor.voidmatchFoundryId(Id foundryId, boolean match) Matches enablers mapped to the foundry.voidmatchRuledJobProcessorId(Id jobProcessorId, boolean match) Matches enablers mapped to the job processor.booleanTests if aFoundryQueryis available.booleanTests if anJobProcessorQueryis 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
-
matchRuledJobProcessorId
Matches enablers mapped to the job processor.- Parameters:
jobProcessorId- the job processorIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-jobProcessorIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearRuledJobProcessorIdTerms
void clearRuledJobProcessorIdTerms()Clears the job processorIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsRuledJobProcessorQuery
boolean supportsRuledJobProcessorQuery()Tests if anJobProcessorQueryis available.- Returns:
trueif a job processor query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRuledJobProcessorQuery
JobProcessorQuery getRuledJobProcessorQuery()Gets the query for a job processor. Multiple retrievals produce a nestedORterm.- Returns:
- the job processor query
- Throws:
UnimplementedException-supportsRuledJobProcessorQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRuledJobProcessorQuery()} is {@code true}.
-
matchAnyRuledJobProcessor
void matchAnyRuledJobProcessor(boolean match) Matches enablers mapped to any job processor.- Parameters:
match-truefor enablers mapped to any job processor,falseto match enablers mapped to no job processors- Compliance:
mandatory- This method must be implemented.
-
clearRuledJobProcessorTerms
void clearRuledJobProcessorTerms()Clears the job processor query terms.- Compliance:
mandatory- This method must be implemented.
-
matchFoundryId
Matches enablers 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.
-
getJobProcessorEnablerQueryRecord
JobProcessorEnablerQueryRecord getJobProcessorEnablerQueryRecord(Type jobProcessorEnablerRecordType) throws OperationFailedException Gets the job processor enabler query record corresponding to the givenJobProcessorEnablerrecordType. Multiple record retrievals produce a nestedORterm.- Parameters:
jobProcessorEnablerRecordType- a job processor enabler record type- Returns:
- the job processor enabler query record
- Throws:
NullArgumentException-jobProcessorEnablerRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(jobProcessorEnablerRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-