OSID Logo
OSID Specifications
grading transform package
Version 3.1.0
Interfaceosid.grading.transform.GradeSystemTransformNotificationSession
Implementsosid.OsidSession
Used Byosid.grading.transform.GradingTransformManager
osid.grading.transform.GradingTransformProxyManager
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.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.
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
Compliancemandatory This 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.

Compliancemandatory This method is must be implemented.
MethoduseIsolatedGradebookView
Description

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

Compliancemandatory This method is must be implemented.
MethodacknowledgeGradeSystemTransformNotification
Description

Acknowledge a grade system transform notification.

Parametersosid.id.IdnotificationId the Id of the notification
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewGradeSystemTransforms
Description

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

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedGradeSystemTransforms
Description

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

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdgradeSystemTransformId the Id of the grade system transform to monitor
ErrorsNULL_ARGUMENT gradeSystemTransformId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdgradeSystemTransformId the Id of the grade system transform to monitor
ErrorsNULL_ARGUMENT gradeSystemTransformId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.