public interface InstructionQuery extends OsidRelationshipQuery, OsidEnablerQuery
This is the query for searching instructions. Each method match
specifies an AND
term while multiple invocations of the
same method produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearAgendaIdTerms()
Clears the agenda
Id query terms. |
void |
clearAgendaTerms()
Clears the agenda query terms.
|
void |
clearCheckIdTerms()
Clears the check
Id query terms. |
void |
clearCheckTerms()
Clears the check query terms.
|
void |
clearContinueOnFailTerms()
Clears the continue-on-fail query terms.
|
void |
clearEngineIdTerms()
Clears the engine
Id query terms. |
void |
clearEngineTerms()
Clears the engine query terms.
|
void |
clearMessageTerms()
Clears the message query terms.
|
void |
clearWarningTerms()
Clears the warning query terms.
|
AgendaQuery |
getAgendaQuery()
Gets the query for an agenda.
|
CheckQuery |
getCheckQuery()
Gets the query for a check.
|
EngineQuery |
getEngineQuery()
Gets the query for an engine.
|
InstructionQueryRecord |
getInstructionQueryRecord(Type instructionRecordType)
Gets the instruction query record corresponding to the given
Instruction record Type. |
void |
matchAgendaId(Id agendaId,
boolean match)
Sets the agenda
Id for this query. |
void |
matchAnyMessage(boolean match)
Matches instructions that have any message.
|
void |
matchCheckId(Id checkId,
boolean match)
Sets the check
Id for this query. |
void |
matchContinueOnFail(boolean match)
Matches continue-on-fail instructions.
|
void |
matchEngineId(Id engineId,
boolean match)
Sets the engine
Id for this query to match instructions
assigned to engines. |
void |
matchMessage(java.lang.String message,
Type stringMatchType,
boolean match)
Matches messages.
|
void |
matchWarning(boolean match)
Matches warning instructions.
|
boolean |
supportsAgendaQuery()
Tests if an
AgendaQuery is available. |
boolean |
supportsCheckQuery()
Tests if a
CheckQuery is available. |
boolean |
supportsEngineQuery()
Tests if a
EngineQuery is available. |
clearEndReasonIdTerms, clearEndReasonTerms, getEndReasonQuery, matchAnyEndReason, matchEndReasonId, supportsEndReasonQuery
clearCyclicEventIdTerms, clearCyclicEventTerms, clearDemographicIdTerms, clearDemographicTerms, clearEventIdTerms, clearEventTerms, clearScheduleIdTerms, clearScheduleTerms, getCyclicEventQuery, getDemographicQuery, getEventQuery, getScheduleQuery, matchAnyCyclicEvent, matchAnyDemographic, matchAnyEvent, matchAnySchedule, matchCyclicEventId, matchDemographicId, matchEventId, matchScheduleId, supportsCyclicEventQuery, supportsDemographicQuery, supportsEventQuery, supportsScheduleQuery
clearRuleIdTerms, clearRuleTerms, getRuleQuery, matchAnyRule, matchRuleId, supportsRuleQuery
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, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
clearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperational
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
void matchAgendaId(Id agendaId, boolean match)
Id
for this query.agendaId
- the agenda Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- agendaId
is
null
mandatory
- This method must be implemented. void clearAgendaIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsAgendaQuery()
AgendaQuery
is available. true
if an agenda query is available,
false
otherwisemandatory
- This method must be implemented. AgendaQuery getAgendaQuery()
OR
term.UnimplementedException
- supportsAgendaQuery()
is false
optional
- This method must be implemented if
supportsAgendaQuery()
is true.
void clearAgendaTerms()
mandatory
- This method must be implemented. void matchCheckId(Id checkId, boolean match)
Id
for this query.checkId
- the check Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- checkId
is
null
mandatory
- This method must be implemented. void clearCheckIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsCheckQuery()
CheckQuery
is available. true
if a check query is available,
false
otherwisemandatory
- This method must be implemented. CheckQuery getCheckQuery()
OR
term.UnimplementedException
- supportsCheckQuery()
is false
optional
- This method must be implemented if
supportsCheckQuery()
is true.
void clearCheckTerms()
mandatory
- This method must be implemented. void matchMessage(java.lang.String message, Type stringMatchType, boolean match)
message
- text to matchstringMatchType
- the string match typematch
- true
for a positive match, false
for a negative matchNullArgumentException
- message or
stringMatchType
is null
UnsupportedException
-
supportsStringMatchType(stringMatchType)
is
false
mandatory
- This method must be implemented. void matchAnyMessage(boolean match)
match
- true
to match instructions with any
message, false
to match instructions with no
messagemandatory
- This method must be implemented. void clearMessageTerms()
mandatory
- This method must be implemented. void matchWarning(boolean match)
match
- true
to match warning instructions,
false
to match hard error instructionsmandatory
- This method must be implemented. void clearWarningTerms()
mandatory
- This method must be implemented. void matchContinueOnFail(boolean match)
match
- true
to match continue-on-fail
instructions, false
otherwisemandatory
- This method must be implemented. void clearContinueOnFailTerms()
mandatory
- This method must be implemented. void matchEngineId(Id engineId, boolean match)
Id
for this query to match instructions
assigned to engines.engineId
- the engine Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- engineId
is
null
mandatory
- This method must be implemented. void clearEngineIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsEngineQuery()
EngineQuery
is available. true
if an engine query is available,
false
otherwisemandatory
- This method must be implemented. EngineQuery getEngineQuery()
OR
term.UnimplementedException
- supportsEngineQuery()
is false
optional
- This method must be implemented if
supportsEngineQuery()
is true.
void clearEngineTerms()
mandatory
- This method must be implemented. InstructionQueryRecord getInstructionQueryRecord(Type instructionRecordType) throws OperationFailedException, PermissionDeniedException
Instruction
record Type.
Multiple record
retrievals produce a nested OR
term.instructionRecordType
- an instruction record typeNullArgumentException
- instructionRecordType
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
hasRecordType(instructionRecordType)
is false
mandatory
- This method must be implemented.