public interface GradeEntryQuery extends OsidRelationshipQuery
This is the query for searching grade entries. 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 |
clearDerivedTerms()
Clears the derived 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 |
clearGraderIdTerms()
Clears the grader
Id terms. |
void |
clearGraderTerms()
Clears the grader terms.
|
void |
clearGradeTerms()
Clears the grade terms.
|
void |
clearGradingAgentIdTerms()
Clears the grader
Id terms. |
void |
clearGradingAgentTerms()
Clears the grading agent terms.
|
void |
clearIgnoredForCalculationsTerms()
Clears the ignored for calculation entries terms.
|
void |
clearKeyResourceIdTerms()
Clears the key resource
Id terms. |
void |
clearKeyResourceTerms()
Clears the key resource terms.
|
void |
clearOverriddenGradeEntryIdTerms()
Clears the overridden grade entry
Id terms. |
void |
clearOverriddenGradeEntryTerms()
Clears the overridden grade entry terms.
|
void |
clearScoreTerms()
Clears the score terms.
|
void |
clearTimeGradedTerms()
Clears the time graded terms.
|
GradebookColumnQuery |
getGradebookColumnQuery()
Gets the query for a gradebook column.
|
GradebookQuery |
getGradebookQuery()
Gets the query for a gradebook.
|
GradeEntryQueryRecord |
getGradeEntryQueryRecord(Type gradeEntryRecordType)
Gets the grade entry query record corresponding to the given
GradeEntry record Type. |
GradeQuery |
getGradeQuery()
Gets the query for a grade.
|
ResourceQuery |
getGraderQuery()
Gets the query for an agent.
|
AgentQuery |
getGradingAgentQuery()
Gets the query for an agent.
|
ResourceQuery |
getKeyResourceQuery()
Gets the query for a key resource.
|
GradeEntryQuery |
getOverriddenGradeEntryQuery()
Gets the query for an overridden derived grade entry.
|
void |
matchAnyGrade(boolean match)
Matches grade entries with any grade.
|
void |
matchAnyGrader(boolean match)
Matches grade entries with any grader.
|
void |
matchAnyGradingAgent(boolean match)
Matches grade entries with any grading agent.
|
void |
matchAnyKeyResource(boolean match)
Matches grade entries with any key resource.
|
void |
matchAnyOverriddenGradeEntry(boolean match)
Matches grade entries overriding any calculated grade entry.
|
void |
matchAnyScore(boolean match)
Matches grade entries with any score.
|
void |
matchDerived(boolean match)
Matches derived grade entries.
|
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 |
matchGraderId(Id resourceId,
boolean match)
Sets the agent
Id for this query. |
void |
matchGradingAgentId(Id agentId,
boolean match)
Sets the grading agent
Id for this query. |
void |
matchIgnoredForCalculations(boolean match)
Matches grade entries ignored for calculations.
|
void |
matchKeyResourceId(Id resourceId,
boolean match)
Sets the key resource
Id for this query. |
void |
matchOverriddenGradeEntryId(Id gradeEntryId,
boolean match)
Sets the grade entry
Id for an overridden calculated
grade entry. |
void |
matchScore(java.math.BigDecimal start,
java.math.BigDecimal end,
boolean match)
Matches grade entries which score is between the specified score
inclusive.
|
void |
matchTimeGraded(DateTime start,
DateTime end,
boolean match)
Matches grade entries which graded time is between the specified times
inclusive.
|
boolean |
supportsGradebookColumnQuery()
Tests if a
GradebookColumnQuery is available for
querying creators. |
boolean |
supportsGradebookQuery()
Tests if a
GradebookQuery is available for querying
resources. |
boolean |
supportsGradeQuery()
Tests if a
GradeQuery is available for querying grades. |
boolean |
supportsGraderQuery()
Tests if a
ResourceQuery is available for querying
graders. |
boolean |
supportsGradingAgentQuery()
Tests if an
AgentQuery is available for querying
grading agents. |
boolean |
supportsKeyResourceQuery()
Tests if a
ResourceQUery is available for querying key
resources. |
boolean |
supportsOverriddenGradeEntryQuery()
Tests if a
GradeEntry is available for querying
overridden calculated grade entries. |
clearEndReasonIdTerms, clearEndReasonTerms, getEndReasonQuery, matchAnyEndReason, matchEndReasonId, supportsEndReasonQueryclearCommentIdTerms, 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, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeclearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDatevoid matchGradebookColumnId(Id gradebookColumnId, boolean match)
Id for this query.gradebookColumnId - a gradebook column Id match - true for a positive match, false
for a 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 for
querying creators. 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 clearGradebookColumnTerms()
mandatory - This method must be implemented. void matchKeyResourceId(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 clearKeyResourceIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsKeyResourceQuery()
ResourceQUery is available for querying key
resources. true if a resource query is available,
false otherwisemandatory - This method must be implemented. ResourceQuery getKeyResourceQuery()
OR term.UnimplementedException -
supportsKeyResourceQuery() is false optional - This method must be implemented if
supportsKeyResourceQuery() is true. void matchAnyKeyResource(boolean match)
match - true to match grade entries with any key
resource, false to match entries with no key
resourcemandatory - This method must be implemented. void clearKeyResourceTerms()
mandatory - This method must be implemented. void matchDerived(boolean match)
match - true to match derived grade entries ,
false to match manual entriesmandatory - This method must be implemented. void clearDerivedTerms()
mandatory - This method must be implemented. void matchOverriddenGradeEntryId(Id gradeEntryId, boolean match)
Id for an overridden calculated
grade entry.gradeEntryId - a grade entry Id match - true for a positive match, false
for a negative matchNullArgumentException - gradeEntryId is
null mandatory - This method must be implemented. void clearOverriddenGradeEntryIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsOverriddenGradeEntryQuery()
GradeEntry is available for querying
overridden calculated grade entries. true if a grade entry query is available,
false otherwisemandatory - This method must be implemented. GradeEntryQuery getOverriddenGradeEntryQuery()
OR term.UnimplementedException -
supportsOverriddenGradeEntryQuery() is false
optional - This method must be implemented if
supportsOverriddenGradeEntryQuery() is
true. void matchAnyOverriddenGradeEntry(boolean match)
match - true to match grade entries overriding
any grade entry, false to match entries not
overriding any entrymandatory - This method must be implemented. void clearOverriddenGradeEntryTerms()
mandatory - This method must be implemented. void matchIgnoredForCalculations(boolean match)
match - true to match grade entries ignored for
calculations, false to match entries used in
calculationsmandatory - This method must be implemented. void clearIgnoredForCalculationsTerms()
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 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 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 matchScore(java.math.BigDecimal start,
java.math.BigDecimal 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 mandatory - This method must be implemented. void matchAnyScore(boolean match)
match - true to match grade 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 matchTimeGraded(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 mandatory - This method must be implemented. void clearTimeGradedTerms()
mandatory - This method must be implemented. void matchGraderId(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 clearGraderIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsGraderQuery()
ResourceQuery is available for querying
graders. true if a resource query is available,
false otherwisemandatory - This method must be implemented. ResourceQuery getGraderQuery()
OR term.UnimplementedException - supportsResourceQuery()
is false optional - This method must be implemented if
supportsResourceQuery() is true. void matchAnyGrader(boolean match)
match - true to match grade entries with any
grader, false to match entries with no gradermandatory - This method must be implemented. void clearGraderTerms()
mandatory - This method must be implemented. void matchGradingAgentId(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 clearGradingAgentIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsGradingAgentQuery()
AgentQuery is available for querying
grading agents. true if an agent query is available,
false otherwisemandatory - This method must be implemented. AgentQuery getGradingAgentQuery()
OR term.UnimplementedException -
supportsGradingAgentQuery() is false optional - This method must be implemented if
supportsGradingAgentQuery() is true.
void matchAnyGradingAgent(boolean match)
match - true to match grade entries with any
grading agent, false to match entries with no
grading agentmandatory - This method must be implemented. void clearGradingAgentTerms()
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 a 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 for querying
resources. 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. GradeEntryQueryRecord getGradeEntryQueryRecord(Type gradeEntryRecordType) throws OperationFailedException
GradeEntry record Type. Multiple retrievals
produce a nested OR term.gradeEntryRecordType - a grade entry record typeNullArgumentException - gradeEntryRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(gradeEntryRecordType) is false
mandatory - This method must be implemented.