OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradeSmartGradebookSession
Implementsosid.OsidSession
Used Byosid.grading.GradingManager
osid.grading.GradingProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A GradeQuery can be retrieved from this session and mapped to this Gradebook to create a virtual collection of Grades. The grades may be sequenced using the GradeSearchOrder from this session.

This Gradebook has a default query that matches any grade and a default search order that specifies no sequencing. The queries may be examined using a GradeQueryInspector. The query may be modified by converting the inspector back to a GradeQuery.

MethodgetGradebookId
Description

Gets the Gradebook Id associated with this session.

Returnosid.id.Id the Gradebook Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetGradebook
Description

Gets the Gradebook associated with this session.

Returnosid.grading.Gradebook the gradebook
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartGradebooks
Description

Tests if this user can manage smart gradebooks. A return of true does not guarantee successful authorization. A return of false indicates that it is known methods in this session will result in a PERMISSION_DENIED.This is intended as a hint to an application that may opt not to offer operations to unauthorized users.

Returnboolean false if smart gradebook management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetGradeQuery
Description

Gets a grade query.

Returnosid.grading.GradeQuery the grade query
Compliancemandatory This method must be implemented.
MethodgetGradeSearchOrder
Description

Gets a grade search order.

Returnosid.grading.GradeSearchOrder the grade search order
Compliancemandatory This method must be implemented.
MethodapplyGradeQuery
Description

Applies a grade query to this gradebook.

Parametersosid.grading.GradeQuerygradeQuery the grade query
ErrorsNULL_ARGUMENT gradeQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED gradeQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectGradeQuery
Description

Gets a grade query inspector for this gradebook.

Returnosid.grading.GradeQueryInspector the grade query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyGradeSequencing
Description

Applies a grade search order to this gradebook.

Parametersosid.grading.GradeSearchOrdergradeSearchOrder the grade search order
ErrorsNULL_ARGUMENT gradeSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED gradeSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetGradeQueryFromInspector
Description

Gets a grade query from an inspector.

Parametersosid.grading.GradeQueryInspectorgradeQueryInspector a grade query inspector
Returnosid.grading.GradeQuery the grade query
ErrorsNULL_ARGUMENT gradeQueryInspector is null
UNSUPPORTED gradeQueryInspector is not of this service
Compliancemandatory This method must be implemented.