OSID Logo
OSID Specifications
grading transform package
Version 3.0.0
Release Candidate Preview
Interfaceosid.grading.transform.GradeSystemTransformNotificationSession
Implementsosid.OsidSession
Description

This session defines methods to receive notifications on adds/changes to GradeSystems and the Grades defined within.This session is intended for consumers needing to synchronize their state with this service without the use of polling. Notifications are cancelled when this session is closed.

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

Tests if this user can register for GradeSystemTransform notifications. 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 notification operations.

Returnboolean false if notification methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethoduseFederatedGradebookView
Description

Federates the view for methods in this session. A federated view will include notifications for grade system transforms in gradebooks which are children of this gradebook in the gradebook hierarchy.

CompliancemandatoryThis method is must be implemented.
MethoduseIsolatedGradebookView
Description

Isolates the view for methods in this session. An isolated view restricts notifications to this gradebook only.

CompliancemandatoryThis method is must be implemented.
MethodregisterForNewGradeSystemTransforms
Description

Register for notifications of new grade system transforms. GradeSystemTransformReceiver.newGradeSystemTransforms() is invoked when a new GradeSystemTransform is created.

ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedGradeSystemTransforms
Description

Registers for notification of updated grade system transforms. GradeSystemTransformReceiver.changedGradeSystemTransforms() is invoked when a transform is changed.

ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedGradeSystemTransform
Description

Registers for notification of an updated grade system transform. GradeSystemTransformReceiver.changedGradeSystemTransforms() is invoked when the specified grade system transform is changed.

Parametersosid.id.IdgradeSystemTransformIdthe Id of the grade system transform to monitor
ErrorsNULL_ARGUMENT gradeSystemTransformId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedGradeSystemTransforms
Description

Registers for notification of deleted grade system transforms. GradeSystemTransformReceiver.deletedGradeSystemTransforms() is invoked when a grade system transform is removed from this gradebook.

ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedGradeSystemTransform
Description

Registers for notification of a deleted grade system transform. GradeSystemTransformReceiver.deletedGradeSystemTransforms() is invoked when the specified system transform is removed from this gradebook.

Parametersosid.id.IdgradeSystemTransformIdthe Id of the grade system transform to monitor
ErrorsNULL_ARGUMENT gradeSystemTransformId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.