OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradeQuery
Implementsosid.OsidObjectQuery
osid.OsidSubjugateableQuery
Used Byosid.assessment.AssessmentOfferedQuery
osid.assessment.AssessmentQuery
osid.assessment.AssessmentTakenQuery
osid.commenting.CommentQuery
osid.course.CourseOfferingQuery
osid.course.CourseQuery
osid.course.chronicle.AssessmentEntryQuery
osid.course.chronicle.CourseEntryQuery
osid.course.chronicle.ProgramEntryQuery
osid.course.requisite.CourseRequirementQuery
show 10 more…
osid.grading.GradeEntryQuery
osid.grading.GradeQuerySession
osid.grading.GradeSearchSession
osid.grading.GradeSmartGradebookSession
osid.grading.GradeSystemQuery
osid.grading.GradebookQuery
osid.learning.ObjectiveQuery
osid.learning.ProficiencyQuery
osid.offering.ResultQuery
osid.personnel.PositionQuery
Description

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.

MethodmatchGradeSystemId
Description

Sets the grade system Id for this query.

Parametersosid.id.IdgradeSystemId a grade system Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT gradeSystemId is null
Compliancemandatory This method must be implemented.
MethodclearGradeSystemIdTerms
Description

Clears the grade system Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradeSystemQuery
Description

Tests if a GradeSystemQuery is available for querying grade systems.

Returnboolean true if a grade system query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradeSystemQuery
Description

Gets the query for a grade system. Multiple retrievals produce a nested OR term.

Returnosid.grading.GradeSystemQuery the grade system query
ErrorsUNIMPLEMENTED supportsGradeSystemQuery() is false
Complianceoptional This method must be implemented if supportsGradeSystemQuery() is true.
MethodclearGradeSystemTerms
Description

Clears the grade system terms.

Compliancemandatory This method must be implemented.
MethodmatchInputScoreStartRange
Description

Matches grades with the start input score inclusive.

Parametersdecimalstart start of range
decimalend end of range
booleanmatch true for a positive match, false for negative match
ErrorsINVALID_ARGUMENT start is greater than end
Compliancemandatory This method must be implemented.
MethodclearInputScoreStartRangeTerms
Description

Clears the nput score start range terms.

Compliancemandatory This method must be implemented.
MethodmatchInputScoreEndRange
Description

Matches grades with the end input score inclusive.

Parametersdecimalstart start of range
decimalend end of range
booleanmatch true for a positive match, false for negative match
ErrorsINVALID_ARGUMENT start is greater than end
Compliancemandatory This method must be implemented.
MethodclearInputScoreEndRangeTerms
Description

Clears the nput score start range terms.

Compliancemandatory This method must be implemented.
MethodmatchInputScore
Description

Matches grades with the input score range contained within the given range inclusive.

Parametersdecimalstart start of range
decimalend end of range
booleanmatch true for a positive match, false for negative match
ErrorsINVALID_ARGUMENT start is greater than end
Compliancemandatory This method must be implemented.
MethodclearInputScoreTerms
Description

Clears the input score start range terms.

Compliancemandatory This method must be implemented.
MethodmatchOutputScore
Description

Matches grades with the output score contained within the given range inclusive.

Parametersdecimalstart start of range
decimalend end of range
booleanmatch true for a positive match, false for negative match
ErrorsINVALID_ARGUMENT start is greater than end
Compliancemandatory This method must be implemented.
MethodclearOutputScoreTerms
Description

Clears the output score terms.

Compliancemandatory This method must be implemented.
MethodmatchGradeEntryId
Description

Sets the grade entry Id for this query.

Parametersosid.id.IdgradeEntryId a grade entry Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT gradeEntryId is null
Compliancemandatory This method must be implemented.
MethodclearGradeEntryIdTerms
Description

Clears the grade entry Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradeEntryQuery
Description

Tests if a GradeEntryQuery is available for querying grade entries.

Returnboolean true if a grade entry query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradeEntryQuery
Description

Gets the query for a grade entry. Multiple retrievals produce a nested OR term.

Returnosid.grading.GradeEntryQuery the grade entry query
ErrorsUNIMPLEMENTED supportsGradeEntryQuery() is false
Complianceoptional This method must be implemented if supportsGradeEntryQuery() is true.
MethodmatchAnyGradeEntry
Description

Matches grades that are assigned to any grade entry.

Parametersbooleanmatch true to match grades used in any grade entry, false to match grades that are not used in any grade entries
Compliancemandatory This method must be implemented.
MethodclearGradeEntryTerms
Description

Clears the grade entry terms.

Compliancemandatory This method must be implemented.
MethodmatchGradebookId
Description

Sets the gradebook Id for this query.

Parametersosid.id.IdgradebookId a gradebook Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT gradebookId is null
Compliancemandatory This method must be implemented.
MethodclearGradebookIdTerms
Description

Clears the gradebook Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradebookQuery
Description

Tests if a GradebookQuery is available.

Returnboolean true if a gradebook query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetGradebookQuery
Description

Gets the query for a gradebook. Multiple retrievals produce a nested OR term.

Returnosid.grading.GradebookQuery the gradebook query
ErrorsUNIMPLEMENTED supportsGradebookQuery() is false
Complianceoptional This method must be implemented if supportsGradebookColumnQuery() is true.
MethodclearGradebookTerms
Description

Clears the gradebook terms.

Compliancemandatory This method must be implemented.
MethodgetGradeQueryRecord
Description

Gets the grade query record corresponding to the given Grade record Type.Multiple retrievals produce a nested OR term.

Parametersosid.type.TypegradeRecordType a grade record type
Returnosid.grading.records.GradeQueryRecord the grade query record
ErrorsNULL_ARGUMENT gradeRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(gradeRecordType) is false
Compliancemandatory This method must be implemented.