public interface AssessmentQuery 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 |
clearAssessmentOfferedIdTerms()
Clears all assessment offered
Id terms. |
void |
clearAssessmentOfferedTerms()
Clears all assessment offered terms.
|
void |
clearAssessmentTakenIdTerms()
Clears all assessment taken
Id terms. |
void |
clearAssessmentTakenTerms()
Clears all assessment taken terms.
|
void |
clearBankIdTerms()
Clears all bank
Id terms. |
void |
clearBankTerms()
Clears all bank terms.
|
void |
clearItemIdTerms()
Clears all item
Id terms. |
void |
clearItemTerms()
Clears all item terms.
|
void |
clearLevelIdTerms()
Clears all level
Id terms. |
void |
clearLevelTerms()
Clears all level terms.
|
void |
clearRubricIdTerms()
Clears all rubric assessment
Id terms. |
void |
clearRubricTerms()
Clears all rubric assessment terms.
|
AssessmentOfferedQuery |
getAssessmentOfferedQuery()
Gets the query for an assessment offered.
|
AssessmentQueryRecord |
getAssessmentQueryRecord(Type assessmentRecordType)
Gets the assessment query record corresponding to the given
Assessment record Type. |
AssessmentTakenQuery |
getAssessmentTakenQuery()
Gets the query for an assessment taken.
|
BankQuery |
getBankQuery()
Gets the query for a bank.
|
ItemQuery |
getItemQuery()
Gets the query for an item.
|
GradeQuery |
getLevelQuery()
Gets the query for a grade.
|
AssessmentQuery |
getRubricQuery()
Gets the query for a rubric assessment.
|
void |
matchAnyAssessmentOffered(boolean match)
Matches an assessment that has any offering.
|
void |
matchAnyAssessmentTaken(boolean match)
Matches an assessment that has any taken version.
|
void |
matchAnyItem(boolean match)
Matches an assessment that has any item.
|
void |
matchAnyLevel(boolean match)
Matches an assessment that has any level assigned.
|
void |
matchAnyRubric(boolean match)
Matches an assessment that has any rubric assessment assigned.
|
void |
matchAssessmentOfferedId(Id assessmentOfferedId,
boolean match)
Sets the assessment offered
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 |
matchItemId(Id itemId,
boolean match)
Sets the item
Id for this query. |
void |
matchLevelId(Id gradeId,
boolean match)
Sets the level grade
Id for this query. |
void |
matchRubricId(Id assessmentId,
boolean match)
Sets the rubric assessment
Id for this query. |
boolean |
supportsAssessmentOfferedQuery()
Tests if an
AssessmentOfferedQuery is available. |
boolean |
supportsAssessmentTakenQuery()
Tests if an
AssessmentTakenQuery is available. |
boolean |
supportsBankQuery()
Tests if a
BankQuery is available. |
boolean |
supportsItemQuery()
Tests if an
ItemQuery is available. |
boolean |
supportsLevelQuery()
Tests if a
GradeQuery is available. |
boolean |
supportsRubricQuery()
Tests if an
AssessmentQuery 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 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 assessments with any level,
false
to match assessments with no levelmandatory
- This method must be implemented. void clearLevelTerms()
mandatory
- This method must be implemented. void matchRubricId(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 clearRubricIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsRubricQuery()
AssessmentQuery
is available. true
if a rubric assessment query is available,
false
otherwisemandatory
- This method must be implemented. AssessmentQuery 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 with any
rubric, false
to match assessments with no
rubricmandatory
- This method must be implemented. void clearRubricTerms()
mandatory
- This method must be implemented. void matchItemId(Id itemId, boolean match)
Id
for this query.itemId
- an item Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- itemId
is
null
mandatory
- This method must be implemented. void clearItemIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsItemQuery()
ItemQuery
is available. true
if an item query is available,
false
otherwisemandatory
- This method must be implemented. ItemQuery getItemQuery()
OR
term.UnimplementedException
- supportsItemQuery()
is false
optional
- This method must be implemented if
supportsItemQuery()
is true.
void matchAnyItem(boolean match)
match
- true
to match assessments with any item,
false
to match assessments with no itemsmandatory
- This method must be implemented. void clearItemTerms()
mandatory
- This method must be implemented. void matchAssessmentOfferedId(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 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 matchAnyAssessmentOffered(boolean match)
match
- true
to match assessments with any
offering, false
to match assessments with no
offeringsmandatory
- This method must be implemented. void clearAssessmentOfferedTerms()
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 assessments with any taken
assessments, false
to match assessments with no
taken assessmentsmandatory
- 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. AssessmentQueryRecord getAssessmentQueryRecord(Type assessmentRecordType) throws OperationFailedException
Assessment
record Type.
Multiple retrievals
produce a nested OR
term.assessmentRecordType
- an assessment record typeNullArgumentException
- assessmentRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(assessmentRecordType)
is false
mandatory
- This method must be implemented.