public interface CheckQuery extends OsidRuleQuery
This is the query for searching checks. 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 |
clearEngineIdTerms()
Clears the engine
Id query terms. |
void |
clearEngineTerms()
Clears the engine query terms.
|
void |
clearFailCheckTerms()
Clears the fail check query terms.
|
void |
clearHoldCheckBlockIdTerms()
Clears the block
Id query terms. |
void |
clearHoldCheckBlockTerms()
Clears the block query terms.
|
void |
clearInquiryCheckAuditIdTerms()
Clears the audit
Id query terms. |
void |
clearInquiryCheckAuditTerms()
Clears the audit query terms.
|
void |
clearProcessCheckAgendaIdTerms()
Clears the agenda
Id query terms. |
void |
clearProcessCheckAgendaTerms()
Clears the agenda query terms.
|
void |
clearTimeCheckCyclicEventIdTerms()
Clears the cyclic event
Id query terms. |
void |
clearTimeCheckCyclicEventTerms()
Clears the cyclic event query terms.
|
void |
clearTimeCheckDateTerms()
Clears the time check date query terms.
|
void |
clearTimeCheckEndDateTerms()
Clears the time check end date query terms.
|
void |
clearTimeCheckEventIdTerms()
Clears the event
Id query terms. |
void |
clearTimeCheckEventTerms()
Clears the event query terms.
|
void |
clearTimeCheckStartDateTerms()
Clears the time check start date query terms.
|
CheckQueryRecord |
getCheckQueryRecord(Type checkRecordType)
Gets the check query record corresponding to the given
Check
record Type. |
EngineQuery |
getEngineQuery()
Gets the query for an engine.
|
BlockQuery |
getHoldCheckBlockQuery()
Gets the query for a block.
|
AuditQuery |
getInquiryCheckAuditQuery()
Gets the query for an audit.
|
AgendaQuery |
getProcessCheckAgendaQuery()
Gets the query for an agenda.
|
CyclicEventQuery |
getTimeCheckCyclicEventQuery()
Gets the query for a cyclic event.
|
EventQuery |
getTimeCheckEventQuery()
Gets the query for an event.
|
void |
matchAnyHoldCheckBlock(boolean match)
Matches any hold check with a block.
|
void |
matchAnyInquiryCheckAudit(boolean match)
Matches any inquiry check with an audit.
|
void |
matchAnyProcessCheckAgenda(boolean match)
Matches any process check with an agenda.
|
void |
matchAnyTimeCheckCyclicEvent(boolean match)
Matches any time check with a cyclic event.
|
void |
matchAnyTimeCheckEndDate(boolean match)
Matches any time check with an end date.
|
void |
matchAnyTimeCheckEvent(boolean match)
Matches any time check with an event.
|
void |
matchAnyTimeCheckStartDate(boolean match)
Matches any time check with a start date.
|
void |
matchEngineId(Id engineId,
boolean match)
Sets the engine
Id for this query to match checks
assigned to engines. |
void |
matchFailCheck(boolean match)
Matches fail checks.
|
void |
matchHoldCheckBlockId(Id blockId,
boolean match)
Sets the block
Id for this query. |
void |
matchInquiryCheckAuditId(Id auditId,
boolean match)
Sets the audit
Id for this query. |
void |
matchProcessCheckAgendaId(Id agendaId,
boolean match)
Sets the agenda
Id for this query. |
void |
matchTimeCheckCyclicEventId(Id cyclicEventId,
boolean match)
Sets the cyclic event
Id for this query. |
void |
matchTimeCheckDate(DateTime from,
DateTime to,
boolean match)
Matches time checks with dates overlapping the given date range.
|
void |
matchTimeCheckEndDate(DateTime from,
DateTime to,
boolean match)
Matches time checks with end dates within the given range inclusive.
|
void |
matchTimeCheckEventId(Id eventId,
boolean match)
Sets the event
Id for this query. |
void |
matchTimeCheckStartDate(DateTime from,
DateTime to,
boolean match)
Matches time checks with start dates within the given range inclusive.
|
boolean |
supportsEngineQuery()
Tests if a
EngineQuery is available. |
boolean |
supportsHoldCheckBlockQuery()
Tests if a
BlockQuery is available. |
boolean |
supportsInquiryCheckAuditQuery()
Tests if an
AuditQuery is available. |
boolean |
supportsProcessCheckAgendaQuery()
Tests if an
AgendaQuery is available. |
boolean |
supportsTimeCheckCyclicEventQuery()
Tests if a
CyclicEventQuery is available. |
boolean |
supportsTimeCheckEventQuery()
Tests if an
EventQuery is available. |
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
void matchFailCheck(boolean match)
match
- true
for a positive match, false
for a negative matchNullArgumentException
- resourceId
is
null
mandatory
- This method must be implemented. void clearFailCheckTerms()
mandatory
- This method must be implemented. void matchTimeCheckStartDate(DateTime from, DateTime to, boolean match)
from
- starting dateto
- ending datematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
NullArgumentException
- from
or
to
is null
mandatory
- This method must be implemented. void matchAnyTimeCheckStartDate(boolean match)
match
- true
to match any time checks with a
start date, false
to match checks with no start
datemandatory
- This method must be implemented. void clearTimeCheckStartDateTerms()
mandatory
- This method must be implemented. void matchTimeCheckEndDate(DateTime from, DateTime to, boolean match)
from
- starting dateto
- ending datematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
NullArgumentException
- from
or
to
is null
mandatory
- This method must be implemented. void matchAnyTimeCheckEndDate(boolean match)
match
- true
to match any time checks with an end
date, false
to match checks with no end datemandatory
- This method must be implemented. void clearTimeCheckEndDateTerms()
mandatory
- This method must be implemented. void matchTimeCheckDate(DateTime from, DateTime to, boolean match)
from
- starting dateto
- ending datematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
NullArgumentException
- from
or
to
is null
mandatory
- This method must be implemented. void clearTimeCheckDateTerms()
mandatory
- This method must be implemented. void matchTimeCheckEventId(Id eventId, boolean match)
Id
for this query.eventId
- the event Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- eventId
is
null
mandatory
- This method must be implemented. void clearTimeCheckEventIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsTimeCheckEventQuery()
EventQuery
is available. true
if an event query is available,
false
otherwisemandatory
- This method must be implemented. EventQuery getTimeCheckEventQuery()
OR
term.UnimplementedException
-
supportsTimeCheckEventQuery()
is false
optional
- This method must be implemented if
supportsTimeCheckEventQuery()
is true.
void matchAnyTimeCheckEvent(boolean match)
match
- true
to match any time checks with an
event, false
to match checks with no eventsmandatory
- This method must be implemented. void clearTimeCheckEventTerms()
mandatory
- This method must be implemented. void matchTimeCheckCyclicEventId(Id cyclicEventId, boolean match)
Id
for this query.cyclicEventId
- the cyclic event Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- cyclicEventId
is
null
mandatory
- This method must be implemented. void clearTimeCheckCyclicEventIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsTimeCheckCyclicEventQuery()
CyclicEventQuery
is available. true
if a cyclic event query is available,
false
otherwisemandatory
- This method must be implemented. CyclicEventQuery getTimeCheckCyclicEventQuery()
OR
term.UnimplementedException
-
supportsTimeCheckCyclicEventQuery()
is false
optional
- This method must be implemented if
supportsTimeCheckCyclicEventQuery()
is
true.
void matchAnyTimeCheckCyclicEvent(boolean match)
match
- true
to match any time checks with a
cyclic event, false
to match checks with no
cyclic eventsmandatory
- This method must be implemented. void clearTimeCheckCyclicEventTerms()
mandatory
- This method must be implemented. void matchHoldCheckBlockId(Id blockId, boolean match)
Id
for this query.blockId
- the block Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- blockId
is
null
mandatory
- This method must be implemented. void clearHoldCheckBlockIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsHoldCheckBlockQuery()
BlockQuery
is available. true
if a block query is available,
false
otherwisemandatory
- This method must be implemented. BlockQuery getHoldCheckBlockQuery()
OR
term.UnimplementedException
-
supportsHoldCheckBlockQuery()
is false
optional
- This method must be implemented if
supportsHoldCheckBlockQuery()
is true.
void matchAnyHoldCheckBlock(boolean match)
match
- true
to match any hold checks with a
block, false
to match checks with no blocksmandatory
- This method must be implemented. void clearHoldCheckBlockTerms()
mandatory
- This method must be implemented. void matchInquiryCheckAuditId(Id auditId, boolean match)
Id
for this query.auditId
- the audit Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- audirId
is
null
mandatory
- This method must be implemented. void clearInquiryCheckAuditIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsInquiryCheckAuditQuery()
AuditQuery
is available. true
if an audit query is available,
false
otherwisemandatory
- This method must be implemented. AuditQuery getInquiryCheckAuditQuery()
OR
term.UnimplementedException
-
supportsInquiryCheckAuditQuery()
is false
optional
- This method must be implemented if
supportsInquiryCheckAuditQuery()
is true.
void matchAnyInquiryCheckAudit(boolean match)
match
- true
to match any inqiiry checks with an
audit, false
to match checks with no auditsmandatory
- This method must be implemented. void clearInquiryCheckAuditTerms()
mandatory
- This method must be implemented. void matchProcessCheckAgendaId(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 clearProcessCheckAgendaIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsProcessCheckAgendaQuery()
AgendaQuery
is available. true
if an agenda query is available,
false
otherwisemandatory
- This method must be implemented. AgendaQuery getProcessCheckAgendaQuery()
OR
term.UnimplementedException
-
supportsProcessCheckAgendaQuery()
is false
optional
- This method must be implemented if
supportsProcessCheckAgendaQuery()
is true.
void matchAnyProcessCheckAgenda(boolean match)
match
- true
to match any process checks with an
agenda, false
to match checks with no agendasmandatory
- This method must be implemented. void clearProcessCheckAgendaTerms()
mandatory
- This method must be implemented. void matchEngineId(Id engineId, boolean match)
Id
for this query to match checks
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. CheckQueryRecord getCheckQueryRecord(Type checkRecordType) throws OperationFailedException, PermissionDeniedException
Check
record Type.
Multiple record retrievals produce
a nested OR
term.checkRecordType
- a check record typeNullArgumentException
- checkRecordType
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
hasRecordType(checkRecordType)
is false
mandatory
- This method must be implemented.