public interface AssessmentEntryQuery extends OsidRelationshipQuery
This is the query for searching assessment entries. 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 |
clearAssessmentIdTerms()
Clears the assessment
Id terms. |
void |
clearAssessmentTerms()
Clears the assessment terms.
|
void |
clearCourseCatalogIdTerms()
Clears the course catalog
Id terms. |
void |
clearCourseCatalogTerms()
Clears the course catalog terms.
|
void |
clearCourseIdTerms()
Clears the course
Id terms. |
void |
clearCourseTerms()
Clears the course terms.
|
void |
clearDateCompletedTerms()
Clears the completed date terms.
|
void |
clearGradeIdTerms()
Clears the grade
Id terms. |
void |
clearGradeTerms()
Clears the grade terms.
|
void |
clearProgramIdTerms()
Clears the program
Id terms. |
void |
clearProgramTerms()
Clears the program terms.
|
void |
clearScoreScaleIdTerms()
Clears the grade system
Id terms. |
void |
clearScoreScaleTerms()
Clears the score scale terms.
|
void |
clearScoreTerms()
Clears the score terms.
|
void |
clearStudentIdTerms()
Clears the student
Id terms. |
void |
clearStudentTerms()
Clears the student option terms.
|
AssessmentEntryQueryRecord |
getAssessmentEntryQueryRecord(Type assessmentEntryRecordType)
Gets the assessment entry query record corresponding to the given
AssessmentEntry record Type. |
AssessmentQuery |
getAssessmentQuery()
Gets the query for an assessment entry.
|
CourseCatalogQuery |
getCourseCatalogQuery()
Gets the query for a course catalog.
|
CourseQuery |
getCourseQuery()
Gets the query for a course entry.
|
GradeQuery |
getGradeQuery()
Gets the query for a grade.
|
ProgramQuery |
getProgramQuery()
Gets the query for a program.
|
GradeSystemQuery |
getScoreScaleQuery()
Gets the query for a grade system.
|
ResourceQuery |
getStudentQuery()
Gets the query for a student option.
|
void |
matchAnyCourse(boolean match)
Matches entries that have any course.
|
void |
matchAnyDateCompleted(boolean match)
Matches entries that have any completed date.
|
void |
matchAnyGrade(boolean match)
Matches entries that have any grade.
|
void |
matchAnyProgram(boolean match)
Matches entries that have any program.
|
void |
matchAnyScore(boolean match)
Matches entries that have any score.
|
void |
matchAnyScoreScale(boolean match)
Matches entries that have any score scale.
|
void |
matchAssessmentId(Id assessmentId,
boolean match)
Sets the assessment
Id for this query to match entries
that have an entry for the given assessment. |
void |
matchCourseCatalogId(Id courseCatalogId,
boolean match)
Sets the course catalog
Id for this query to match
entries assigned to course catalogs. |
void |
matchCourseId(Id courseId,
boolean match)
Sets the course
Id for this query. |
void |
matchDateCompleted(DateTime from,
DateTime to,
boolean match)
Matches completed dates between the given dates inclusive.
|
void |
matchGradeId(Id gradeId,
boolean match)
Matches a grade
Id. |
void |
matchProgramId(Id programId,
boolean match)
Sets the program
Id for this query. |
void |
matchScore(java.math.BigDecimal from,
java.math.BigDecimal to,
boolean match)
Matches scores between the given range inclusive.
|
void |
matchScoreScaleId(Id gradeSystemId,
boolean match)
Matches a score scale
Id. |
void |
matchStudentId(Id resourceId,
boolean match)
Sets the student
Id for this query. |
boolean |
supportsAssessmentQuery()
Tests if an
AssessmentQuery is available. |
boolean |
supportsCourseCatalogQuery()
Tests if a
CourseCatalogQuery is available. |
boolean |
supportsCourseQuery()
Tests if a
CourseQuery is available. |
boolean |
supportsGradeQuery()
Tests if a
GradeQuery is available. |
boolean |
supportsProgramQuery()
Tests if a
ProgramQuery is available. |
boolean |
supportsScoreScaleQuery()
Tests if a
GradeSystemQuery is available. |
boolean |
supportsStudentQuery()
Tests if a
StudentQuery is available. |
clearEndReasonIdTerms, clearEndReasonTerms, getEndReasonQuery, matchAnyEndReason, matchEndReasonId, supportsEndReasonQuery
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
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
void matchStudentId(Id resourceId, boolean match)
Id
for this query.resourceId
- a resource Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- resourceId
is
null
mandatory
- This method must be implemented. void clearStudentIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsStudentQuery()
StudentQuery
is available. true
if a student query is available,
false
otherwisemandatory
- This method must be implemented. ResourceQuery getStudentQuery()
OR
term.UnimplementedException
- supportsStudentQuery()
is false
optional
- This method must be implemented if
supportsStudentQuery()
is true.
void clearStudentTerms()
mandatory
- This method must be implemented. void matchAssessmentId(Id assessmentId, boolean match)
Id
for this query to match entries
that have an entry for the given assessment.assessmentId
- an assessment Id
match
- true
if 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 matchDateCompleted(DateTime from, DateTime to, boolean match)
from
- starting dateto
- ending datematch
- true
if 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 matchAnyDateCompleted(boolean match)
match
- true
to match entries with any completed
date, false
to match entries with no completed
datemandatory
- This method must be implemented. void clearDateCompletedTerms()
mandatory
- This method must be implemented. void matchProgramId(Id programId, boolean match)
Id
for this query.programId
- a program Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- programId
is
null
mandatory
- This method must be implemented. void clearProgramIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsProgramQuery()
ProgramQuery
is available. true
if a program query is available,
false
otherwisemandatory
- This method must be implemented. ProgramQuery getProgramQuery()
OR
term.UnimplementedException
- supportsProgramQuery()
is false
optional
- This method must be implemented if
supportsProgramQuery()
is true.
void matchAnyProgram(boolean match)
match
- true
to match entries with any program
false
to match entries with no programmandatory
- This method must be implemented. void clearProgramTerms()
mandatory
- This method must be implemented. void matchCourseId(Id courseId, boolean match)
Id
for this query.courseId
- a course Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- courseId
is
null
mandatory
- This method must be implemented. void clearCourseIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsCourseQuery()
CourseQuery
is available. true
if a course query is available,
false
otherwisemandatory
- This method must be implemented. CourseQuery getCourseQuery()
OR
term.UnimplementedException
- supportsCourseQuery()
is false
optional
- This method must be implemented if
supportsCourseQuery()
is true.
void matchAnyCourse(boolean match)
match
- true
to match entries with any course,
false
to match entries with no coursemandatory
- This method must be implemented. void clearCourseTerms()
mandatory
- This method must be implemented. void matchGradeId(Id gradeId, boolean match)
Id.
gradeId
- a grade Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- 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 entries with any grade,
false
to match entries with no grademandatory
- This method must be implemented. void clearGradeTerms()
mandatory
- This method must be implemented. void matchScoreScaleId(Id gradeSystemId, boolean match)
Id.
gradeSystemId
- a grade system Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- gradeSystemId
is
null
mandatory
- This method must be implemented. void clearScoreScaleIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsScoreScaleQuery()
GradeSystemQuery
is available. true
if a grade system query is available,
false
otherwisemandatory
- This method must be implemented. GradeSystemQuery getScoreScaleQuery()
OR
term.UnimplementedException
-
supportsScoreScaleQuery()
is false
optional
- This method must be implemented if
supportsScoreScaleQuery()
is true.
void matchAnyScoreScale(boolean match)
match
- true
to match entries with any score
scale, false
to match entries with no score
scalemandatory
- This method must be implemented. void clearScoreScaleTerms()
mandatory
- This method must be implemented. void matchScore(java.math.BigDecimal from, java.math.BigDecimal to, boolean match)
from
- starting valueto
- ending valuematch
- true
if 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 matchAnyScore(boolean match)
match
- true
to match entries with any score,
false
to match entries with no scoremandatory
- This method must be implemented. void clearScoreTerms()
mandatory
- This method must be implemented. void matchCourseCatalogId(Id courseCatalogId, boolean match)
Id
for this query to match
entries assigned to course catalogs.courseCatalogId
- the course catalog Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- courseCatalogId
is null
mandatory
- This method must be implemented. void clearCourseCatalogIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsCourseCatalogQuery()
CourseCatalogQuery
is available. true
if a course catalog query is available,
false
otherwisemandatory
- This method must be implemented. CourseCatalogQuery getCourseCatalogQuery()
OR
term.UnimplementedException
-
supportsCourseCatalogQuery()
is false
optional
- This method must be implemented if
supportsCourseCatalogQuery()
is true.
void clearCourseCatalogTerms()
mandatory
- This method must be implemented. AssessmentEntryQueryRecord getAssessmentEntryQueryRecord(Type assessmentEntryRecordType) throws OperationFailedException
AssessmentEntry
record Type.
Multiple
record retrievals produce a nested OR
term.assessmentEntryRecordType
- an assessment entry record typeNullArgumentException
-
assessmentEntryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(assessmentEntryRecordType)
is
false
mandatory
- This method must be implemented.