public interface AssessmentTakenQuery extends OsidObjectQuery
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 |
clearActualStartTimeTerms()
Clears all start time terms.
|
void |
clearAssessmentOfferedIdTerms()
Clears all assessment offered
Id terms. |
void |
clearAssessmentOfferedTerms()
Clears all assessment offered terms.
|
void |
clearBankIdTerms()
Clears all bank
Id terms. |
void |
clearBankTerms()
Clears all bank terms.
|
void |
clearCompletionTimeTerms()
Clears all in completion time terms.
|
void |
clearFeedbackTerms()
Clears all comment terms.
|
void |
clearGradeIdTerms()
Clears all grade
Id terms. |
void |
clearGradeTerms()
Clears all grade terms.
|
void |
clearRubricIdTerms()
Clears all rubric assessment taken
Id terms. |
void |
clearRubricTerms()
Clears all rubric assessment taken terms.
|
void |
clearScoreSystemIdTerms()
Clears all grade system
Id terms. |
void |
clearScoreSystemTerms()
Clears all grade system terms.
|
void |
clearScoreTerms()
Clears all score terms.
|
void |
clearTakerIdTerms()
Clears all resource
Id terms. |
void |
clearTakerTerms()
Clears all resource terms.
|
void |
clearTakingAgentIdTerms()
Clears all agent
Id terms. |
void |
clearTakingAgentTerms()
Clears all taking agent terms.
|
void |
clearTimeSpentTerms()
Clears all in time spent terms.
|
AssessmentOfferedQuery |
getAssessmentOfferedQuery()
Gets the query for an assessment.
|
AssessmentTakenQueryRecord |
getAssessmentTakenQueryRecord(Type assessmentTakenRecordType)
Gets the assessment taken query record corresponding to the given
AssessmentTaken record Type. |
BankQuery |
getBankQuery()
Gets the query for a bank.
|
GradeQuery |
getGradeQuery()
Gets the query for a grade.
|
AssessmentTakenQuery |
getRubricQuery()
Gets the query for a rubric assessment.
|
GradeSystemQuery |
getScoreSystemQuery()
Gets the query for a grade system.
|
ResourceQuery |
getTakerQuery()
Gets the query for a resource.
|
AgentQuery |
getTakingAgentQuery()
Gets the query for an agent.
|
void |
matchActualStartTime(DateTime start,
DateTime end,
boolean match)
Matches assessments whose start time falls between the specified range
inclusive.
|
void |
matchAnyActualStartTime(boolean match)
Matches taken assessments taken that have begun.
|
void |
matchAnyCompletionTime(boolean match)
Matches taken assessments taken that have completed.
|
void |
matchAnyFeedback(boolean match)
Matches taken assessments that have any comments.
|
void |
matchAnyGrade(boolean match)
Matches taken assessments that have any grade assigned.
|
void |
matchAnyRubric(boolean match)
Matches an assessment taken that has any rubric assessment assigned.
|
void |
matchAnyScore(boolean match)
Matches taken assessments that have any score assigned.
|
void |
matchAnyScoreSystem(boolean match)
Matches taken assessments that have any grade system assigned.
|
void |
matchAssessmentOfferedId(Id assessmentOfferedId,
boolean match)
Sets the assessment offered
Id for this query. |
void |
matchBankId(Id bankId,
boolean match)
Sets the bank
Id for this query. |
void |
matchCompletionTime(DateTime start,
DateTime end,
boolean match)
Matches assessments whose completion time falls between the specified
range inclusive.
|
void |
matchFeedback(java.lang.String comments,
Type stringMatchType,
boolean match)
Sets the comment string for this query.
|
void |
matchGradeId(Id gradeId,
boolean match)
Sets the grade
Id for this query. |
void |
matchRubricId(Id assessmentTakenId,
boolean match)
Sets the rubric assessment taken
Id for this query. |
void |
matchScore(java.math.BigDecimal low,
java.math.BigDecimal high,
boolean match)
Matches assessments whose score falls between the specified range
inclusive.
|
void |
matchScoreSystemId(Id gradeSystemId,
boolean match)
Sets the grade system
Id for this query. |
void |
matchTakerId(Id resourceId,
boolean match)
Sets the resource
Id for this query. |
void |
matchTakingAgentId(Id agentId,
boolean match)
Sets the agent
Id for this query. |
void |
matchTimeSpent(Duration low,
Duration high,
boolean match)
Matches assessments where the time spent falls between the specified
range inclusive.
|
boolean |
supportsAssessmentOfferedQuery()
Tests if an
AssessmentOfferedQuery is available. |
boolean |
supportsBankQuery()
Tests if a
BankQuery is available. |
boolean |
supportsGradeQuery()
Tests if a
GradeQuery is available. |
boolean |
supportsRubricQuery()
Tests if an
AssessmentTakenQuery is available. |
boolean |
supportsScoreSystemQuery()
Tests if a
GradeSystemQuery is available. |
boolean |
supportsTakerQuery()
Tests if a
ResourceQuery is available. |
boolean |
supportsTakingAgentQuery()
Tests if an
AgentQuery 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 matchAssessmentOfferedId(Id assessmentOfferedId, boolean match)
Id
for this query.assessmentOfferedId
- an assessment Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- assessmentOfferedId
is null
mandatory
- This method must be implemented. void clearAssessmentOfferedIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsAssessmentOfferedQuery()
AssessmentOfferedQuery
is available. true
if an assessment offered query is
available, false
otherwisemandatory
- This method must be implemented. AssessmentOfferedQuery getAssessmentOfferedQuery()
OR
term.UnimplementedException
-
supportsAssessmentOfferedQuery()
is false
optional
- This method must be implemented if
supportsAssessmentOfferedQuery()
is true.
void clearAssessmentOfferedTerms()
mandatory
- This method must be implemented. void matchTakerId(Id resourceId, boolean match)
Id
for this query.resourceId
- a resource Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- resourceId
is
null
mandatory
- This method must be implemented. void clearTakerIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsTakerQuery()
ResourceQuery
is available. true
if a resource query is available,
false
otherwisemandatory
- This method must be implemented. ResourceQuery getTakerQuery()
OR
term.UnimplementedException
- supportsTakerQuery()
is false
optional
- This method must be implemented if
supportsTakerQuery()
is true.
void clearTakerTerms()
mandatory
- This method must be implemented. void matchTakingAgentId(Id agentId, boolean match)
Id
for this query.agentId
- an agent Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- agentId
is
null
mandatory
- This method must be implemented. void clearTakingAgentIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsTakingAgentQuery()
AgentQuery
is available. true
if an agent query is available,
false
otherwisemandatory
- This method must be implemented. AgentQuery getTakingAgentQuery()
OR
term.UnimplementedException
-
supportsTakingAgentQuery()
is false
optional
- This method must be implemented if
supportsTakingAgentQuery()
is true.
void clearTakingAgentTerms()
mandatory
- This method must be implemented. void matchActualStartTime(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 matchAnyActualStartTime(boolean match)
match
- true
to match assessments taken started,
false
to match assessments taken that have not
begunmandatory
- This method must be implemented. void clearActualStartTimeTerms()
mandatory
- This method must be implemented. void matchCompletionTime(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 matchAnyCompletionTime(boolean match)
match
- true
to match assessments taken
completed, false
to match assessments taken
that are incompletemandatory
- This method must be implemented. void clearCompletionTimeTerms()
mandatory
- This method must be implemented. void matchTimeSpent(Duration low, Duration high, boolean match)
low
- start of duration rangehigh
- end of duration rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- high
is less
than low
NullArgumentException
- low
or
high
is null
mandatory
- This method must be implemented. void clearTimeSpentTerms()
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 matchScore(java.math.BigDecimal low, java.math.BigDecimal high, boolean match)
low
- start of rangehigh
- end of rangematch
- true
for a positive match, false
for negative matchInvalidArgumentException
- high
is less
than low
mandatory
- This method must be implemented. void matchAnyScore(boolean match)
match
- true
to match assessments with any score,
false
to match assessments with no scoremandatory
- This method must be implemented. void clearScoreTerms()
mandatory
- This method must be implemented. void matchGradeId(Id gradeId, boolean match)
Id
for this query.gradeId
- a grade Id
match
- true for a positive match, false for a negative
match
NullArgumentException
- gradeId
is
null
mandatory
- This method must be implemented. void clearGradeIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsGradeQuery()
GradeQuery
is available. true
if a grade query is available,
false
otherwisemandatory
- This method must be implemented. GradeQuery getGradeQuery()
OR
term.UnimplementedException
- supportsGradeQuery()
is false
optional
- This method must be implemented if
supportsGradeQuery()
is true.
void matchAnyGrade(boolean match)
match
- true
to match assessments with any grade,
false
to match assessments with no grademandatory
- This method must be implemented. void clearGradeTerms()
mandatory
- This method must be implemented. void matchFeedback(java.lang.String comments, Type stringMatchType, boolean match)
comments
- comment stringstringMatchType
- the string match typematch
- true
for a positive match, false
for negative matchInvalidArgumentException
- comments is
not of stringMatchType
NullArgumentException
- comments
or
stringMatchType
is null
UnsupportedException
-
supportsStringMatchType(stringMatchType)
is
false
mandatory
- This method must be implemented. void matchAnyFeedback(boolean match)
match
- true
to match assessments with any
comments, false
to match assessments with no
commentsmandatory
- This method must be implemented. void clearFeedbackTerms()
mandatory
- This method must be implemented. void matchRubricId(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 clearRubricIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsRubricQuery()
AssessmentTakenQuery
is available. true
if a rubric assessment taken query is
available, false
otherwisemandatory
- This method must be implemented. AssessmentTakenQuery 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 taken with any
rubric, false
to match assessments taken with
no rubricmandatory
- This method must be implemented. void clearRubricTerms()
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. AssessmentTakenQueryRecord getAssessmentTakenQueryRecord(Type assessmentTakenRecordType) throws OperationFailedException
AssessmentTaken
record Type.
Multiple
retrievals produce a nested OR
term.assessmentTakenRecordType
- an assessment taken record typeNullArgumentException
-
assessmentTakenRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(assessmentTakenRecordType)
is
false
mandatory
- This method must be implemented.