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

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

MethodcanRegisterForGradebookNotifications
Description

Tests if this user can register for Gradebook 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.
MethodreliableGradebookNotifications
Description

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

Compliancemandatory This method is must be implemented.
MethodunreliableGradebookNotifications
Description

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

Compliancemandatory This method is must be implemented.
MethodacknowledgeGradebookNotification
Description

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

Register for notifications of new gradebooks. GradebookReceiver.newGradebooks() is invoked when a new Gradebook is created.

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

Registers for notification of updated gradebooks. GradebookReceiver.changedGradebooks() is invoked when a gradebook is changed.

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

Registers for notification of an updated gradebook. GradebookReceiver.changedGradebooks() is invoked when the specified gradebook is changed.

Parametersosid.id.IdgradebookId the Id of the gradebook to monitor
ErrorsNULL_ARGUMENT gradebookId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedGradebooks
Description

Registers for notification of deleted gradebooks. GradebookReceiver.deletedGradebooks() is invoked when a calenedar is deleted.

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

Registers for notification of a deleted gradebook. GradebookReceiver.deletedGradebooks() is invoked when the specified gradebook is deleted.

Parametersosid.id.IdgradebookId the Id of the gradebook to monitor
ErrorsNULL_ARGUMENT gradebookId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedGradebookHierarchy
Description

Registers for notification of an updated gradebook hierarchy structure. GradebookReceiver.changedChildOfGradebooks() is invoked when a node experiences a change in its children.

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

Registers for notification of an updated gradebook hierarchy structure. GradebookReceiver.changedChildOfGradebooks() is invoked when a node experiences a change in its ancestors.

Parametersosid.id.IdgradebookId the Id of the Gradebook node to monitor
ErrorsNULL_ARGUMENT gradebookId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedGradebookHierarchyForDescendants
Description

Registers for notification of an updated gradebook hierarchy structure. GradebookReceiver.changedChildOfGradebooks() is invoked when a node experiences a change in its children.

Parametersosid.id.IdgradebookId the Id of the Gradebook node to monitor
ErrorsNULL_ARGUMENT gradebookId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.