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

This session defines methods to receive asynchronous notifications on adds/changes to GradebookColumn objects. 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.

The views defined in this session correspond to the views in the GradebookColumnLookupSession.

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

Tests if this user can register for GradebookColumn 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 gradebook columns 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.
MethodreliableGradebookColumnNotifications
Description

Reliable notifications are desired. In reliable mode, notifications are to be acknowledged using acknowledgeGradebookColumnNotification().

Compliancemandatory This method is must be implemented.
MethodunreliableGradebookColumnNotifications
Description

Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.

Compliancemandatory This method is must be implemented.
MethodacknowledgeGradebookColumnNotification
Description

Acknowledge a gradebook column 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.
MethodregisterForNewGradebookColumns
Description

Register for notifications of new gradebook columns. GradebookColumnReceiver.newGradebookColumns() is invoked when a new column is created.

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

Registers for notification of updated gradebook columns. GradebookColumnReceiver.changedGradebookColumns() is invoked when a gradebook column is changed.

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

Registers for notification of an updated gradebook column. GradebookColumnReceiver.changedGradebookColumns() is invoked when the specified gradebook column is changed.

Parametersosid.id.IdgradebookColumnId the Id of the GradebookColumn to monitor
ErrorsNULL_ARGUMENT gradebookColumnId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedGradebookColumns
Description

Registers for notification of deleted gradebook columns. GradebookColumnReceiver.deletedGradebookColumns() is invoked when a gradebook column is removed from this gradebook.

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

Registers for notification of a deleted gradebook column. GradebookColumnReceiver.deletedGradebookColumns() is invoked when the specified column is removed from thia gradebook.

Parametersosid.id.IdgradebookColumnId the Id of the GradebookColumn to monitor
ErrorsNULL_ARGUMENT gradebookColumnId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.