public interface GradeSystemQuery extends OsidObjectQuery, OsidAggregateableQuery
This is the query for searching grade systems. 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 |
clearBasedOnGradesTerms()
Clears the grade
based terms. |
void |
clearGradebookColumnIdTerms()
Clears the gradebook column
Id terms. |
void |
clearGradebookColumnTerms()
Clears the gradebook column terms.
|
void |
clearGradebookIdTerms()
Clears the gradebook
Id terms. |
void |
clearGradebookTerms()
Clears the gradebook terms.
|
void |
clearGradeIdTerms()
Clears the grade
Id terms. |
void |
clearGradeTerms()
Clears the grade terms.
|
void |
clearHighestNumericScoreTerms()
Clears the highest numeric score terms.
|
void |
clearLowestNumericScoreTerms()
Clears the lowest numeric score terms.
|
void |
clearNumericScoreIncrementTerms()
Clears the numeric score increment terms.
|
GradebookColumnQuery |
getGradebookColumnQuery()
Gets the query for a gradebook column.
|
GradebookQuery |
getGradebookQuery()
Gets the query for a gradebook.
|
GradeQuery |
getGradeQuery()
Gets the query for a grade.
|
GradeSystemQueryRecord |
getGradeSystemQueryRecord(Type gradeSystemRecordType)
Gets the grade system query record corresponding to the given
GradeSystem record Type. |
void |
matchAnyGrade(boolean match)
Matches grade systems with any grade.
|
void |
matchAnyGradebookColumn(boolean match)
Matches grade systems assigned to any gradebook column.
|
void |
matchBasedOnGrades(boolean match)
Matches grade systems based on grades.
|
void |
matchGradebookColumnId(Id gradebookColumnId,
boolean match)
Sets the gradebook column
Id for this query. |
void |
matchGradebookId(Id gradebookId,
boolean match)
Sets the gradebook
Id for this query. |
void |
matchGradeId(Id gradeId,
boolean match)
Sets the grade
Id for this query. |
void |
matchHighestNumericScore(java.math.BigDecimal start,
java.math.BigDecimal end,
boolean match)
Matches grade systems whose high end score falls in the specified
range inclusive.
|
void |
matchLowestNumericScore(java.math.BigDecimal start,
java.math.BigDecimal end,
boolean match)
Matches grade systems whose low end score falls in the specified range
inclusive.
|
void |
matchNumericScoreIncrement(java.math.BigDecimal start,
java.math.BigDecimal end,
boolean match)
Matches grade systems numeric score increment is between the specified
range inclusive.
|
boolean |
supportsGradebookColumnQuery()
Tests if a
GradebookColumnQuery is available. |
boolean |
supportsGradebookQuery()
Tests if a
GradebookQuery is available . |
boolean |
supportsGradeQuery()
Tests if a
GradeQuery is available for querying grades. |
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 matchBasedOnGrades(boolean match)
match
- true
for a positive match, false
for negative matchmandatory
- This method must be implemented. void clearBasedOnGradesTerms()
based
terms.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 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 for querying grades. 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 grade systems with any
grade, false
to match systems with no grademandatory
- This method must be implemented. void clearGradeTerms()
mandatory
- This method must be implemented. void matchLowestNumericScore(java.math.BigDecimal start, java.math.BigDecimal end, boolean match)
start
- low end of rangeend
- high end of rangematch
- true
for a positive match, false
for negative matchInvalidArgumentException
- end
is less
than start
NullArgumentException
- gradeId
is
null
mandatory
- This method must be implemented. void clearLowestNumericScoreTerms()
mandatory
- This method must be implemented. void matchNumericScoreIncrement(java.math.BigDecimal start, java.math.BigDecimal end, boolean match)
start
- low end of rangeend
- high end of rangematch
- true
for a positive match, false
for negative matchInvalidArgumentException
- end
is less
than start
NullArgumentException
- gradeId
is
null
mandatory
- This method must be implemented. void clearNumericScoreIncrementTerms()
mandatory
- This method must be implemented. void matchHighestNumericScore(java.math.BigDecimal start, java.math.BigDecimal end, boolean match)
start
- low end of rangeend
- high end of rangematch
- true
for a positive match, false
for negative matchInvalidArgumentException
- end
is less
than start
NullArgumentException
- gradeId
is
null
mandatory
- This method must be implemented. void clearHighestNumericScoreTerms()
mandatory
- This method must be implemented. void matchGradebookColumnId(Id gradebookColumnId, boolean match)
Id
for this query.gradebookColumnId
- a gradebook column Id
match
- true
for a positive match, false
for negative matchNullArgumentException
- gradebookColumnId
is null
mandatory
- This method must be implemented. void clearGradebookColumnIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsGradebookColumnQuery()
GradebookColumnQuery
is available. true
if a gradebook column query is available,
false
otherwisemandatory
- This method must be implemented. GradebookColumnQuery getGradebookColumnQuery()
OR
term.UnimplementedException
-
supportsGradebookColumnQuery()
is false
optional
- This method must be implemented if
supportsGradebookColumnQuery()
is true.
void matchAnyGradebookColumn(boolean match)
match
- true
to match grade systems mapped to any
column, false
to match systems mapped to no
columnsmandatory
- This method must be implemented. void clearGradebookColumnTerms()
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
supportsGradebookQuery()
is true.
void clearGradebookTerms()
mandatory
- This method must be implemented. GradeSystemQueryRecord getGradeSystemQueryRecord(Type gradeSystemRecordType) throws OperationFailedException
GradeSystem
record Type.
Multiple retrievals
produce a nested OR
term.gradeSystemRecordType
- a grade system record typeNullArgumentException
- gradeSystemRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(gradeSystemRecordType)
is false
mandatory
- This method must be implemented.