public interface SequenceRuleQuery extends OsidRuleQuery
This is the query for searching sequence rules. Each method match
specifies a AND
term while multiple invocations of the same
method produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearAppliedAssessmentPartIdTerms()
Clears all assessment part
Id terms. |
void |
clearAppliedAssessmentPartTerms()
Clears all assessment part terms.
|
void |
clearAssessmentPartIdTerms()
Clears all assessment part
Id terms. |
void |
clearAssessmentPartTerms()
Clears all assessment part terms.
|
void |
clearBankIdTerms()
Clears the bank
Id query terms. |
void |
clearBankTerms()
Clears the bank query terms.
|
void |
clearCumulativeTerms()
Clears all cumulative terms.
|
void |
clearMaximumScoreTerms()
Clears all maximum score terms.
|
void |
clearMinimumScoreTerms()
Clears all minimum score terms.
|
void |
clearNextAssessmentPartIdTerms()
Clears all assessment part
Id terms. |
void |
clearNextAssessmentPartTerms()
Clears all assessment part terms.
|
AssessmentPartQuery |
getAppliedAssessmentPartQuery()
Gets the query for an assessment part.
|
AssessmentPartQuery |
getAssessmentPartQuery()
Gets the query for an assessment part.
|
BankQuery |
getBankQuery()
Gets the query for a bank.
|
AssessmentPartQuery |
getNextAssessmentPartQuery()
Gets the query for an assessment part.
|
SequenceRuleQueryRecord |
getSequenceRuleQueryRecord(Type sequenceRuleRecordType)
Gets the sequence rule query record corresponding to the given
SequenceRule record Type. |
void |
matchAnyAppliedAssessmentPart(boolean match)
Matches assessment parts with any applied assessment part.
|
void |
matchAnyMaximumScore(boolean match)
Matches assessment parts with any maximum score assigned.
|
void |
matchAnyMinimumScore(boolean match)
Matches assessment parts with any minimum score assigned.
|
void |
matchAppliedAssessmentPartId(Id assessmentPartId,
boolean match)
Sets the assessment part
Id for this query. |
void |
matchAssessmentPartId(Id assessmentPartId,
boolean match)
Sets the assessment part
Id for this query. |
void |
matchBankId(Id bankId,
boolean match)
Matches constrainers mapped to the bank.
|
void |
matchCumulative(boolean match)
Matches cumulative rules.
|
void |
matchMaximumScore(long low,
long high,
boolean match)
Matches maximum scores that fall in between the given scores
inclusive.
|
void |
matchMinimumScore(long low,
long high,
boolean match)
Matches minimum scores that fall in between the given scores
inclusive.
|
void |
matchNextAssessmentPartId(Id assessmentPartId,
boolean match)
Sets the assessment part
Id for this query. |
boolean |
supportsAppliedAssessmentPartQuery()
Tests if an
AssessmentPartQuery is available. |
boolean |
supportsAssessmentPartQuery()
Tests if an
AssessmentPartQuery is available. |
boolean |
supportsBankQuery()
Tests if an
BankQuery is available. |
boolean |
supportsNextAssessmentPartQuery()
Tests if an
AssessmentPartQuery 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 matchAssessmentPartId(Id assessmentPartId, boolean match)
Id
for this query.assessmentPartId
- an assessment part Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- assessmentPartId
is null
mandatory
- This method must be implemented. void clearAssessmentPartIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsAssessmentPartQuery()
AssessmentPartQuery
is available. true
if an assessment part query is available,
false
otherwisemandatory
- This method must be implemented. AssessmentPartQuery getAssessmentPartQuery()
OR
term.UnimplementedException
-
supportsAssessmentPartQuery()
is false
optional
- This method must be implemented if
supportsAssessmentPartQuery()
is true.
void clearAssessmentPartTerms()
mandatory
- This method must be implemented. void matchNextAssessmentPartId(Id assessmentPartId, boolean match)
Id
for this query.assessmentPartId
- an assessment part Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- assessmentPartId
is null
mandatory
- This method must be implemented. void clearNextAssessmentPartIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsNextAssessmentPartQuery()
AssessmentPartQuery
is available. true
if an assessment part query is available,
false
otherwisemandatory
- This method must be implemented. AssessmentPartQuery getNextAssessmentPartQuery()
OR
term.UnimplementedException
-
supportsNextAssessmentPartQuery()
is false
optional
- This method must be implemented if
supportsNextAssessmentPartQuery()
is true.
void clearNextAssessmentPartTerms()
mandatory
- This method must be implemented. void matchMinimumScore(long low, long high, boolean match)
low
- low end of rangehigh
- high end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- high
is less
than low
mandatory
- This method must be implemented. void matchAnyMinimumScore(boolean match)
match
- true
to match assessment parts with any
minimum score, false
to match assessment parts
with no minimum scoremandatory
- This method must be implemented. void clearMinimumScoreTerms()
mandatory
- This method must be implemented. void matchMaximumScore(long low, long high, boolean match)
low
- low end of rangehigh
- high end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- high
is less
than low
mandatory
- This method must be implemented. void matchAnyMaximumScore(boolean match)
match
- true
to match assessment parts with any
maximum score, false
to match assessment parts
with no maximum scoremandatory
- This method must be implemented. void clearMaximumScoreTerms()
mandatory
- This method must be implemented. void matchCumulative(boolean match)
match
- true
for a positive match, false
for a negative matchmandatory
- This method must be implemented. void clearCumulativeTerms()
mandatory
- This method must be implemented. void matchAppliedAssessmentPartId(Id assessmentPartId, boolean match)
Id
for this query.assessmentPartId
- an assessment part Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- assessmentPartId
is null
mandatory
- This method must be implemented. void clearAppliedAssessmentPartIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsAppliedAssessmentPartQuery()
AssessmentPartQuery
is available. true
if an assessment part query is available,
false
otherwisemandatory
- This method must be implemented. AssessmentPartQuery getAppliedAssessmentPartQuery()
OR
term.UnimplementedException
-
supportsAppliedAssessmentPartQuery()
is false
optional
- This method must be implemented if
supportsAppliedAssessmentPartQuery()
is
true.
void matchAnyAppliedAssessmentPart(boolean match)
match
- true
to match assessment parts with any
applied assessment part, false
to match
assessment parts with no applied assessment partsmandatory
- This method must be implemented. void clearAppliedAssessmentPartTerms()
mandatory
- This method must be implemented. void matchBankId(Id bankId, boolean match)
bankId
- the bank Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- bankId
is
null
mandatory
- This method must be implemented. void clearBankIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsBankQuery()
BankQuery
is available. true
if a bank query is available, false
otherwisemandatory
- This method must be implemented. BankQuery getBankQuery()
OR
term.UnimplementedException
- supportsBankQuery()
is false
optional
- This method must be implemented if
supportsBankQuery()
is true.
void clearBankTerms()
mandatory
- This method must be implemented. SequenceRuleQueryRecord getSequenceRuleQueryRecord(Type sequenceRuleRecordType) throws OperationFailedException
SequenceRule
record Type.
Multiple record
retrievals produce a nested OR
term.sequenceRuleRecordType
- a sequence rule record typeNullArgumentException
- sequenceRuleRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(sequenceRuleRecordType)
is false
mandatory
- This method must be implemented.