OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradebookQuery
Implementsosid.OsidCatalogQuery
Used Byosid.grading.GradeEntryQuery
osid.grading.GradeQuery
osid.grading.GradeSystemQuery
osid.grading.GradebookColumnQuery
osid.grading.GradebookColumnSummaryQuery
osid.grading.GradebookQuery
osid.grading.GradebookQuerySession
osid.grading.GradebookSearchSession
Description

This is the query for searching gradebooks. Each method specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchGradeId
Description

Sets the grade Id for this query.

Parametersosid.id.IdgradeId a grade Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearGradeIdTerms
Description

Clears the grade Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradeQuery
Description

Tests if a GradeQuery is available.

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

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

Returnosid.grading.GradeQuery the grade query
ErrorsUNIMPLEMENTED supportsGradeQuery() is false
Complianceoptional This method must be implemented if supportsGradeQuery() is true.
MethodmatchAnyGrade
Description

Matches gradebooks that have any grade.

Parametersbooleanmatch true to match gradebooks with any grade, false to match gradebooks with no grade
Compliancemandatory This method must be implemented.
MethodclearGradeTerms
Description

Clears the grade terms.

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

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 gradebooks that have any grade system.

Parametersbooleanmatch true to match gradebooks with any grade system, false to match gradebooks 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.

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 gradebooks that have any grade entry.

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

Clears the grade entry terms.

Compliancemandatory This method must be implemented.
MethodmatchGradebookColumnId
Description

Sets the gradebook column Id for this query.

Parametersosid.id.IdgradebookColumnId a gradebook column Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradebookColumnId is null
Compliancemandatory This method must be implemented.
MethodclearGradebookColumnIdTerms
Description

Clears the gradebook column Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsGradebookColumnQuery
Description

Tests if a GradebookColumnQuery is available.

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

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

Returnosid.grading.GradebookColumnQuery the gradebook column query
ErrorsUNIMPLEMENTED supportsGradebookColumnQuery() is false
Complianceoptional This method must be implemented if supportsGradebookColumnQuery() is true.
MethodmatchAnyGradebookColumn
Description

Matches gradebooks that have any column.

Parametersbooleanmatch true to match gradebooks with any column, false to match gradebooks with no column
Compliancemandatory This method must be implemented.
MethodclearGradebookColumnTerms
Description

Clears the gradebook column terms.

Compliancemandatory This method must be implemented.
MethodmatchAncestorGradebookId
Description

Sets the gradebook Id for this query to match gradebooks that have the specified gradebook as an ancestor.

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.
MethodclearAncestorGradebookIdTerms
Description

Clears the ancestor gradebook Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorGradebookQuery
Description

Tests if a GradebookQuery is available.

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

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

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

Matches gradebook with any ancestor.

Parametersbooleanmatch true to match gradebooks with any ancestor, false to match root gradebooks
Compliancemandatory This method must be implemented.
MethodclearAncestorGradebookTerms
Description

Clears the ancestor gradebook terms.

Compliancemandatory This method must be implemented.
MethodmatchDescendantGradebookId
Description

Sets the gradebook Id for this query to match gradebooks that have the specified gradebook as a descendant.

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.
MethodclearDescendantGradebookIdTerms
Description

Clears the descendant gradebook Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantGradebookQuery
Description

Tests if a GradebookQuery is available.

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

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

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

Matches gradebook with any descendant.

Parametersbooleanmatch true to match gradebooks with any descendant, false to match leaf gradebooks
Compliancemandatory This method must be implemented.
MethodclearDescendantGradebookTerms
Description

Clears the descendant gradebook terms.

Compliancemandatory This method must be implemented.
MethodgetGradebookQueryRecord
Description

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

Parametersosid.type.TypegradebookRecordType a gradebook record type
Returnosid.grading.records.GradebookQueryRecord the gradebook query record
ErrorsNULL_ARGUMENT gradebookRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(gradebookRecordType) is false
Compliancemandatory This method must be implemented.