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

This session manages queries and sequencing to create "smart" dynamic catalogs. A GradeSystemQuery can be retrieved from this session and mapped to this Gradebook to create a virtual collection of GradeSystems. The entries may be sequenced using the GradeSystemSearchOrder from this session.

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

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 associated with this session
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 all 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 smart operations.

Returnboolean false if smart gradebook methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetGradeSystemQuery
Description

Gets a grade system query.

Returnosid.grading.GradeSystemQuery the grade system query
Compliancemandatory This method must be implemented.
MethodgetGradeSystemSearchOrder
Description

Gets a grade system search order.

Returnosid.grading.GradeSystemSearchOrder the grade system search order
Compliancemandatory This method must be implemented.
MethodapplyGradeSystemQuery
Description

Applies a grade system query to this gradebook.

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

Gets a grade system query inspector for this gradebook.

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

Applies a grade system search order to this gradebook.

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

Gets a grade system query from an inspector.

Parametersosid.grading.GradeSystemQueryInspectorgradeSystemQueryInspector a grade system query inspector
Returnosid.grading.GradeSystemQuery the grade system query
ErrorsNULL_ARGUMENT gradeSystemQueryInspector is null
UNSUPPORTED gradeSystemQueryInspector is not of this service
Compliancemandatory This method must be implemented.