public interface AssessmentOfferedQuery extends OsidObjectQuery, OsidSubjugateableQuery
This is the query for searching assessments. Each method match request
produces an AND
term while multiple invocations of a method
produces a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearAssessmentIdTerms()
Clears all assessment
Id terms. |
void |
clearAssessmentTakenIdTerms()
Clears all assessment taken
Id terms. |
void |
clearAssessmentTakenTerms()
Clears all assessment taken terms.
|
void |
clearAssessmentTerms()
Clears all assessment terms.
|
void |
clearBankIdTerms()
Clears all bank
Id terms. |
void |
clearBankTerms()
Clears all bank terms.
|
void |
clearDeadlineTerms()
Clears all deadline terms.
|
void |
clearDurationTerms()
Clears all duration terms.
|
void |
clearGradeSystemIdTerms()
Clears all grade system
Id terms. |
void |
clearGradeSystemTerms()
Clears all grade system terms.
|
void |
clearItemsSequentialTerms()
Clears all sequential terms.
|
void |
clearItemsShuffledTerms()
Clears all shuffled terms.
|
void |
clearLevelIdTerms()
Clears all level
Id terms. |
void |
clearLevelTerms()
Clears all level terms.
|
void |
clearRubricIdTerms()
Clears all rubric assessment offered
Id terms. |
void |
clearRubricTerms()
Clears all rubric assessment terms.
|
void |
clearScoreSystemIdTerms()
Clears all grade system
Id terms. |
void |
clearScoreSystemTerms()
Clears all grade system terms.
|
void |
clearStartTimeTerms()
Clears all scheduled terms.
|
AssessmentOfferedQueryRecord |
getAssessmentOfferedQueryRecord(Type assessmentOfferedRecordType)
Gets the assessment offered query record corresponding to the given
AssessmentOffered record Type. |
AssessmentQuery |
getAssessmentQuery()
Gets the query for an assessment.
|
AssessmentTakenQuery |
getAssessmentTakenQuery()
Gets the query for an assessment taken.
|
BankQuery |
getBankQuery()
Gets the query for a bank.
|
GradeSystemQuery |
getGradeSystemQuery()
Gets the query for a grade system.
|
GradeQuery |
getLevelQuery()
Gets the query for a grade.
|
AssessmentOfferedQuery |
getRubricQuery()
Gets the query for a rubric assessment.
|
GradeSystemQuery |
getScoreSystemQuery()
Gets the query for a grade system.
|
void |
matchAnyAssessmentTaken(boolean match)
Matches offerings that have any taken assessment version.
|
void |
matchAnyDeadline(boolean match)
Matches offerings that have any deadline assigned.
|
void |
matchAnyDuration(boolean match)
Matches offerings that have any duration assigned.
|
void |
matchAnyGradeSystem(boolean match)
Matches taken assessments that have any grade system assigned.
|
void |
matchAnyLevel(boolean match)
Matches an assessment offered that has any level assigned.
|
void |
matchAnyRubric(boolean match)
Matches an assessment offered that has any rubric assessment assigned.
|
void |
matchAnyScoreSystem(boolean match)
Matches taken assessments that have any grade system assigned.
|
void |
matchAnyStartTime(boolean match)
Matches offerings that has any start time assigned.
|
void |
matchAssessmentId(Id assessmentId,
boolean match)
Sets the assessment
Id for this query. |
void |
matchAssessmentTakenId(Id assessmentTakenId,
boolean match)
Sets the assessment taken
Id for this query. |
void |
matchBankId(Id bankId,
boolean match)
Sets the bank
Id for this query. |
void |
matchDeadline(DateTime start,
DateTime end,
boolean match)
Matches assessments whose end time falls between the specified range
inclusive.
|
void |
matchDuration(Duration low,
Duration high,
boolean match)
Matches assessments whose duration falls between the specified range
inclusive.
|
void |
matchGradeSystemId(Id gradeSystemId,
boolean match)
Sets the grade system
Id for this query. |
void |
matchItemsSequential(boolean match)
Match sequential assessments.
|
void |
matchItemsShuffled(boolean match)
Match shuffled item assessments.
|
void |
matchLevelId(Id gradeId,
boolean match)
Sets the level grade
Id for this query. |
void |
matchRubricId(Id assessmentOfferedId,
boolean match)
Sets the rubric assessment offered
Id for this query. |
void |
matchScoreSystemId(Id gradeSystemId,
boolean match)
Sets the grade system
Id for this query. |
void |
matchStartTime(DateTime start,
DateTime end,
boolean match)
Matches assessments whose start time falls between the specified range
inclusive.
|
boolean |
supportsAssessmentQuery()
Tests if an
AssessmentQuery is available. |
boolean |
supportsAssessmentTakenQuery()
Tests if an
AssessmentTakenQuery is available. |
boolean |
supportsBankQuery()
Tests if a
BankQuery is available. |
boolean |
supportsGradeSystemQuery()
Tests if a
GradeSystemQuery is available. |
boolean |
supportsLevelQuery()
Tests if a
GradeQuery is available. |
boolean |
supportsRubricQuery()
Tests if an
AssessmentOfferedQuery is available. |
boolean |
supportsScoreSystemQuery()
Tests if a
GradeSystemQuery is available. |
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
void matchAssessmentId(Id assessmentId, boolean match)
Id
for this query.assessmentId
- an assessment Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- assessmentId
is
null
mandatory
- This method must be implemented. void clearAssessmentIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsAssessmentQuery()
AssessmentQuery
is available. true
if an assessment query is available,
false
otherwisemandatory
- This method must be implemented. AssessmentQuery getAssessmentQuery()
OR
term.UnimplementedException
-
supportsAssessmentQuery()
is false
optional
- This method must be implemented if
supportsAssessmentQuery()
is true.
void clearAssessmentTerms()
mandatory
- This method must be implemented. void matchLevelId(Id gradeId, boolean match)
Id
for this query.gradeId
- a grade Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- gradeId
is
null
mandatory
- This method must be implemented. void clearLevelIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsLevelQuery()
GradeQuery
is available. true
if a grade query is available,
false
otherwisemandatory
- This method must be implemented. GradeQuery getLevelQuery()
OR
term.UnimplementedException
- supportsLevelQuery()
is false
optional
- This method must be implemented if
supportsLevelQuery()
is true.
void matchAnyLevel(boolean match)
match
- true
to match offerings with any level,
false
to match offerings with no levslsmandatory
- This method must be implemented. void clearLevelTerms()
mandatory
- This method must be implemented. void matchItemsSequential(boolean match)
match
- true
for a positive match, false
for a negative matchmandatory
- This method must be implemented. void clearItemsSequentialTerms()
mandatory
- This method must be implemented. void matchItemsShuffled(boolean match)
match
- true
for a positive match, false
for a negative matchmandatory
- This method must be implemented. void clearItemsShuffledTerms()
mandatory
- This method must be implemented. void matchStartTime(DateTime start, DateTime end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- end
is less
than start
mandatory
- This method must be implemented. void matchAnyStartTime(boolean match)
match
- true
to match offerings with any start
time, false
to match offerings with no start
timemandatory
- This method must be implemented. void clearStartTimeTerms()
mandatory
- This method must be implemented. void matchDeadline(DateTime start, DateTime end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- end
is less
than start
NullArgumentException
- start
or
end
is null
mandatory
- This method must be implemented. void matchAnyDeadline(boolean match)
match
- true
to match offerings with any
deadline, false
to match offerings with no
deadlinemandatory
- This method must be implemented. void clearDeadlineTerms()
mandatory
- This method must be implemented. void matchDuration(Duration low, Duration high, boolean match)
low
- start range of durationhigh
- end range of durationmatch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- end
is less
than start
NullArgumentException
- start
or
end
is null
mandatory
- This method must be implemented. void matchAnyDuration(boolean match)
match
- true
to match offerings with any
duration, false
to match offerings with no
durationmandatory
- This method must be implemented. void clearDurationTerms()
mandatory
- This method must be implemented. void matchScoreSystemId(Id gradeSystemId, boolean match)
Id
for this query.gradeSystemId
- a grade system Id
match
- true for a positive match, false for a negative
match
NullArgumentException
- gradeSystemId
is
null
mandatory
- This method must be implemented. void clearScoreSystemIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsScoreSystemQuery()
GradeSystemQuery
is available. true
if a grade system query is available,
false
otherwisemandatory
- This method must be implemented. GradeSystemQuery getScoreSystemQuery()
OR
term.UnimplementedException
-
supportsScoreSystemQuery()
is false
optional
- This method must be implemented if
supportsScoreSystemQuery()
is true.
void matchAnyScoreSystem(boolean match)
match
- true
to match assessments with any grade
system, false
to match assessments with no
grade systemmandatory
- This method must be implemented. void clearScoreSystemTerms()
mandatory
- This method must be implemented. void matchGradeSystemId(Id gradeSystemId, boolean match)
Id
for this query.gradeSystemId
- a grade system Id
match
- true for a positive match, false for a negative
match
NullArgumentException
- gradeSystemId
is
null
mandatory
- This method must be implemented. void clearGradeSystemIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsGradeSystemQuery()
GradeSystemQuery
is available. true
if a grade system query is available,
false
otherwisemandatory
- This method must be implemented. GradeSystemQuery getGradeSystemQuery()
OR
term.UnimplementedException
-
supportsScoreSystemQuery()
is false
optional
- This method must be implemented if
supportsScoreSystemQuery()
is true.
void matchAnyGradeSystem(boolean match)
match
- true
to match assessments with any grade
system, false
to match assessments with no
grade systemmandatory
- This method must be implemented. void clearGradeSystemTerms()
mandatory
- This method must be implemented. void matchRubricId(Id assessmentOfferedId, boolean match)
Id
for this query.assessmentOfferedId
- an assessment offered Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- assessmentOfferedId
is null
mandatory
- This method must be implemented. void clearRubricIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsRubricQuery()
AssessmentOfferedQuery
is available. true
if a rubric assessment offered query is
available, false
otherwisemandatory
- This method must be implemented. AssessmentOfferedQuery getRubricQuery()
OR
term.UnimplementedException
- supportsRubricQuery()
is false
optional
- This method must be implemented if
supportsRubricQuery()
is true.
void matchAnyRubric(boolean match)
match
- true
to match assessments offered with
any rubric, false
to match assessments offered
with no rubricmandatory
- This method must be implemented. void clearRubricTerms()
mandatory
- This method must be implemented. void matchAssessmentTakenId(Id assessmentTakenId, boolean match)
Id
for this query.assessmentTakenId
- an assessment taken Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- assessmentTakenId
is null
mandatory
- This method must be implemented. void clearAssessmentTakenIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsAssessmentTakenQuery()
AssessmentTakenQuery
is available. true
if an assessment taken query is available,
false
otherwisemandatory
- This method must be implemented. AssessmentTakenQuery getAssessmentTakenQuery()
OR
term.UnimplementedException
-
supportsAssessmentTakenQuery()
is false
optional
- This method must be implemented if
supportsAssessmentTakenQuery()
is true.
void matchAnyAssessmentTaken(boolean match)
match
- true
to match offerings with any taken
assessment, false
to match offerings with no
assessmen takenmandatory
- This method must be implemented. void clearAssessmentTakenTerms()
mandatory
- This method must be implemented. void matchBankId(Id bankId, boolean match)
Id
for this query.bankId
- a 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
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. AssessmentOfferedQueryRecord getAssessmentOfferedQueryRecord(Type assessmentOfferedRecordType) throws OperationFailedException
AssessmentOffered
record Type.
Multiple
retrievals produce a nested OR
term.assessmentOfferedRecordType
- an assessment offered record typeNullArgumentException
-
assessmentOfferedRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(assessmentOfferedRecordType)
is
false
mandatory
- This method must be implemented.