OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradebookColumnQuery
Implementsosid.OsidObjectQuery
Used Byosid.grading.GradeEntryQuery
osid.grading.GradeSystemQuery
osid.grading.GradebookColumnQuerySession
osid.grading.GradebookColumnSearchSession
osid.grading.GradebookColumnSmartGradebookSession
osid.grading.GradebookColumnSummaryQuery
osid.grading.GradebookQuery
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 a 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.
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
Compliancemandatory This method must be implemented.
MethodclearGradeSystemTerms
Description

Clears the grade system 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 a 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 gradebook columns with any grade entry assigned.

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

Clears the grade entry terms.

Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetGradebookColumnSummaryQuery
Description

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

Returnosid.grading.GradebookColumnSummaryQuery the gradebook column summary query
ErrorsUNIMPLEMENTED supportsGradebookColumnSummaryQuery() is false
Complianceoptional This method must be implemented if supportsGradebookColumnSummaryQuery() is true.
MethodclearGradebookColumnSummaryTerms
Description

Clears the gradebook column summary 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 a 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 for querying grade systems.

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

Gets the query interface 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 supportsGradebookQuery() is true.
MethodclearGradebookTerms
Description

Clears the gradebook terms.

Compliancemandatory This 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.TypegradebookColumnRecordType a gradebook column record type
Returnosid.grading.records.GradebookColumnQueryRecord the gradebook column query record
ErrorsNULL_ARGUMENT gradebookColumnRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(gradebookColumnRecordType) is false
Compliancemandatory This method must be implemented.