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

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

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

MethodgetGradebookId
Description

Gets the Gradebook Id associated with this session.

Returnosid.id.Idthe Gradebook Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetGradebook
Description

Gets the Gradebook associated with this session.

Returnosid.grading.Gradebookthe Gradebook associated with this session
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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.

Returnbooleanfalse if smart gradebook methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGradeEntryQuery
Description

Gets a grade entry query.

Returnosid.grading.GradeEntryQuerythe grade entry query
CompliancemandatoryThis method must be implemented.
MethodgetGradeEntrySearchOrder
Description

Gets a grade entry search order.

Returnosid.grading.GradeEntrySearchOrderthe grade entry search order
CompliancemandatoryThis method must be implemented.
MethodapplyGradeEntryQuery
Description

Applies a grade entry query to this gradebook.

Parametersosid.grading.GradeEntryQuerygradeEntryQuerythe grade entry query
ErrorsNULL_ARGUMENTgradeEntryQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDgradeEntryQuery didi not originate from getGradeEntryQuery()
CompliancemandatoryThis method must be implemented.
MethodinspectGradeEntryQuery
Description

Gets a grade entry query inspector for this gradebook.

Returnosid.grading.GradeEntryQueryInspectorthe grade entry query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyGradeEntrySequencing
Description

Applies a grade entry search order to this gradebook.

Parametersosid.grading.GradeEntrySearchOrdergradeEntrySearchOrderthe grade entry search order
ErrorsNULL_ARGUMENTgradeEntrySearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDgradeEntrySearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetGradeEntryQueryFromInspector
Description

Gets a grade entry query from an inspector.

Parametersosid.grading.GradeEntryQueryInspectorgradeEntryQueryInspectora grade entry query inspector
Returnosid.grading.GradeEntryQuerythe grade entry query
ErrorsNULL_ARGUMENTgradeEntryQueryInspector is null
UNSUPPORTEDgradeEntryQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.