OSID Logo
OSID Specifications
grading package
Version 3.0.0
Release Candidate Preview
Interfaceosid.grading.GradebookColumnQuery
Implementsosid.OsidObjectQuery
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.IdgradeSystemIda grade system Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradeSystemId is null
CompliancemandatoryThis method must be implemented.
MethodclearGradeSystemIdTerms
Description

Clears the grade system Id terms.

CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetGradeSystemQuery
Description

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

Returnosid.grading.GradeSystemQuerythe grade system query
ErrorsUNIMPLEMENTED supportsGradeSystemQuery() is false
ComplianceoptionalThis method must be implemented if supportsGradeSystemQuery() is true.
MethodmatchAnyGradeSystem
Description

Matches gradebook columns with any grade system assigned.

Parametersbooleanmatch true to match columns with any grade system, false to match columns with no grade system
CompliancemandatoryThis method must be implemented.
MethodclearGradeSystemTerms
Description

Clears the grade system terms.

CompliancemandatoryThis method must be implemented.
MethodmatchGradeEntryId
Description

Sets the grade entry Id for this query.

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

Clears the grade entry Id terms.

CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetGradeEntryQuery
Description

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

Returnosid.grading.GradeEntryQuerythe grade entry query
ErrorsUNIMPLEMENTED supportsGradeEntryQuery() is false
ComplianceoptionalThis method must be implemented if supportsGradeEntryQuery() is true.
MethodmatchAnyGradeEntry
Description

Matches gradebook columns with any grade entry assigned.

Parametersbooleanmatch true to match columns with any grade entry, false to match columns with no grade entries
CompliancemandatoryThis method must be implemented.
MethodclearGradeEntryTerms
Description

Clears the grade entry terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsGradebookColumnSummaryQuery
Description

Tests if a GradebookColumnSummaryQuery is available for querying grade systems.

Returnboolean true if a gradebook column summary query interface is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGradebookColumnSummaryQuery
Description

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

Returnosid.grading.GradebookColumnSummaryQuerythe gradebook column summary query
ErrorsUNIMPLEMENTED supportsGradebookColumnSummaryQuery() is false
ComplianceoptionalThis method must be implemented if supportsGradebookColumnSummaryQuery() is true.
MethodclearGradebookColumnSummaryTerms
Description

Clears the gradebook column summary terms.

CompliancemandatoryThis method must be implemented.
MethodmatchGradebookId
Description

Sets the gradebook Id for this query.

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

Clears the gradebook Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsGradebookQuery
Description

Tests if a GradebookQuery is available for querying grade systems.

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

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

Returnosid.grading.GradebookQuerythe gradebook query
ErrorsUNIMPLEMENTED supportsGradebookQuery() is false
ComplianceoptionalThis method must be implemented if supportsGradebookQuery() is true.
MethodclearGradebookTerms
Description

Clears the gradebook terms.

CompliancemandatoryThis method must be implemented.
MethodgetGradebookColumnQueryRecord
Description

Gets the gradebook column query record corresponding to the given GradebookColumn record Type. Multiple retrievals produce a nested OR term.

Parametersosid.type.TypegradebookColumnRecordTypea gradebook column record type
Returnosid.grading.records.GradebookColumnQueryRecordthe gradebook column query record
ErrorsNULL_ARGUMENT gradebookColumnRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(gradebookColumnRecordType) is false
CompliancemandatoryThis method must be implemented.