public interface GradeQuery extends OsidObjectQuery, OsidSubjugateableQuery
This is the query for searching gradings. 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 |
clearGradebookIdTerms()
Clears the gradebook
Id terms. |
void |
clearGradebookTerms()
Clears the gradebook terms.
|
void |
clearGradeEntryIdTerms()
Clears the grade entry
Id terms. |
void |
clearGradeEntryTerms()
Clears the grade entry terms.
|
void |
clearGradeSystemIdTerms()
Clears the grade system
Id terms. |
void |
clearGradeSystemTerms()
Clears the grade system terms.
|
void |
clearInputScoreEndRangeTerms()
Clears the nput score start range terms.
|
void |
clearInputScoreStartRangeTerms()
Clears the nput score start range terms.
|
void |
clearInputScoreTerms()
Clears the input score start range terms.
|
void |
clearOutputScoreTerms()
Clears the output score terms.
|
GradebookQuery |
getGradebookQuery()
Gets the query for a gradebook.
|
GradeEntryQuery |
getGradeEntryQuery()
Gets the query for a grade entry.
|
GradeQueryRecord |
getGradeQueryRecord(Type gradeRecordType)
Gets the grade query record corresponding to the given
Grade
record Type. |
GradeSystemQuery |
getGradeSystemQuery()
Gets the query for a grade system.
|
void |
matchAnyGradeEntry(boolean match)
Matches grades that are assigned to any grade entry.
|
void |
matchGradebookId(Id gradebookId,
boolean match)
Sets the gradebook
Id for this query. |
void |
matchGradeEntryId(Id gradeEntryId,
boolean match)
Sets the grade entry
Id for this query. |
void |
matchGradeSystemId(Id gradeSystemId,
boolean match)
Sets the grade system
Id for this query. |
void |
matchInputScore(java.math.BigDecimal start,
java.math.BigDecimal end,
boolean match)
Matches grades with the input score range contained within the given
range inclusive.
|
void |
matchInputScoreEndRange(java.math.BigDecimal start,
java.math.BigDecimal end,
boolean match)
Matches grades with the end input score inclusive.
|
void |
matchInputScoreStartRange(java.math.BigDecimal start,
java.math.BigDecimal end,
boolean match)
Matches grades with the start input score inclusive.
|
void |
matchOutputScore(java.math.BigDecimal start,
java.math.BigDecimal end,
boolean match)
Matches grades with the output score contained within the given range
inclusive.
|
boolean |
supportsGradebookQuery()
Tests if a
GradebookQuery is available . |
boolean |
supportsGradeEntryQuery()
Tests if a
GradeEntryQuery is available for querying
grade entries. |
boolean |
supportsGradeSystemQuery()
Tests if a
GradeSystemQuery is available for querying
grade systems. |
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 matchGradeSystemId(Id gradeSystemId, boolean match)
Id
for this query.gradeSystemId
- a grade system Id
match
- true
for a positive match, false
for negative matchNullArgumentException
- gradeSystemId
is
null
mandatory
- This method must be implemented. void clearGradeSystemIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsGradeSystemQuery()
GradeSystemQuery
is available for querying
grade systems. true
if a grade system query is available,
false
otherwisemandatory
- This method must be implemented. GradeSystemQuery getGradeSystemQuery()
OR
term.UnimplementedException
-
supportsGradeSystemQuery()
is false
optional
- This method must be implemented if
supportsGradeSystemQuery()
is true.
void clearGradeSystemTerms()
mandatory
- This method must be implemented. void matchInputScoreStartRange(java.math.BigDecimal start, java.math.BigDecimal end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for negative matchInvalidArgumentException
- start
is
greater than end
mandatory
- This method must be implemented. void clearInputScoreStartRangeTerms()
mandatory
- This method must be implemented. void matchInputScoreEndRange(java.math.BigDecimal start, java.math.BigDecimal end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for negative matchInvalidArgumentException
- start
is
greater than end
mandatory
- This method must be implemented. void clearInputScoreEndRangeTerms()
mandatory
- This method must be implemented. void matchInputScore(java.math.BigDecimal start, java.math.BigDecimal end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for negative matchInvalidArgumentException
- start
is
greater than end
mandatory
- This method must be implemented. void clearInputScoreTerms()
mandatory
- This method must be implemented. void matchOutputScore(java.math.BigDecimal start, java.math.BigDecimal end, boolean match)
start
- start of rangeend
- end of rangematch
- true
for a positive match, false
for negative matchInvalidArgumentException
- start
is
greater than end
mandatory
- This method must be implemented. void clearOutputScoreTerms()
mandatory
- This method must be implemented. void matchGradeEntryId(Id gradeEntryId, boolean match)
Id
for this query.gradeEntryId
- a grade entry Id
match
- true
for a positive match, false
for negative matchNullArgumentException
- gradeEntryId
is
null
mandatory
- This method must be implemented. void clearGradeEntryIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsGradeEntryQuery()
GradeEntryQuery
is available for querying
grade entries. true
if a grade entry query is available,
false
otherwisemandatory
- This method must be implemented. GradeEntryQuery getGradeEntryQuery()
OR
term.UnimplementedException
-
supportsGradeEntryQuery()
is false
optional
- This method must be implemented if
supportsGradeEntryQuery()
is true.
void matchAnyGradeEntry(boolean match)
match
- true
to match grades used in any grade
entry, false
to match grades that are not used
in any grade entriesmandatory
- This method must be implemented. void clearGradeEntryTerms()
mandatory
- This method must be implemented. void matchGradebookId(Id gradebookId, boolean match)
Id
for this query.gradebookId
- a gradebook Id
match
- true
for a positive match, false
for negative matchNullArgumentException
- gradebookId
is
null
mandatory
- This method must be implemented. void clearGradebookIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsGradebookQuery()
GradebookQuery
is available . true
if a gradebook query is available,
false
otherwisemandatory
- This method must be implemented. GradebookQuery getGradebookQuery()
OR
term.UnimplementedException
-
supportsGradebookQuery()
is false
optional
- This method must be implemented if
supportsGradebookColumnQuery()
is true.
void clearGradebookTerms()
mandatory
- This method must be implemented. GradeQueryRecord getGradeQueryRecord(Type gradeRecordType) throws OperationFailedException
Grade
record Type.
Multiple retrievals produce a
nested OR
term.gradeRecordType
- a grade record typeNullArgumentException
- gradeRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(gradeRecordType)
is false
mandatory
- This method must be implemented.