OSID Logo
OSID Specifications
course syllabus package
Version 3.1.0
Interfaceosid.course.syllabus.ModuleNotificationSession
Implementsosid.OsidSession
Used Byosid.course.syllabus.CourseSyllabusManager
osid.course.syllabus.CourseSyllabusProxyManager
Description

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

MethodgetCourseCatalogId
Description

Gets the CourseCatalog Id associated with this session.

Returnosid.id.Id the CourseCatalog Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetCourseCatalog
Description

Gets the CourseCatalog associated with this session.

Returnosid.course.CourseCatalog the course catalog
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanRegisterForModuleNotifications
Description

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

Federates the view for methods in this session. A federated view will include modules in course catalogs which are children of this course catalog in the course catalog hierarchy.

Compliancemandatory This method is must be implemented.
MethoduseIsolatedCourseCatalogView
Description

Isolates the view for methods in this session. An isolated view restricts retrievals to this course catalog only.

Compliancemandatory This method is must be implemented.
MethodreliableModuleNotifications
Description

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

Compliancemandatory This method is must be implemented.
MethodunreliableModuleNotifications
Description

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

Compliancemandatory This method is must be implemented.
MethodacknowledgeModuleNotification
Description

Acknowledge a module 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.
MethodregisterForNewModules
Description

Register for notifications of new modules. ModuleReceiver.newModules() is invoked when a new Module is created.

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

Register for notifications of new modules for the given syllabus. ModuleReceiver.newModules() is invoked when a new Module is created.

Parametersosid.id.IdsyllabusId the Id of the Syllabus to monitor
ErrorsNULL_ARGUMENT syllabusId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedModules
Description

Registers for notification of updated modules. ModuleReceiver.changedModules() is invoked when a module is changed.

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

Registers for notification of updated modules for the given syllabus. ModuleReceiver.changedModules() is invoked when a module is changed.

Parametersosid.id.IdsyllabusId the Id of the Syllabus to monitor
ErrorsNULL_ARGUMENT syllabusId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedModule
Description

Registers for notification of an updated module. ModuleReceiver.changedModules() is invoked when the specified module is changed.

Parametersosid.id.IdmoduleId the Id of the Module to monitor
ErrorsNULL_ARGUMENT moduleId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedModules
Description

Registers for notification of deleted modules. ModuleReceiver.deletedModules() is invoked when a module in this catalog is deleted.

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

Registers for notification of deleted modules for the given syllabus. ModuleReceiver.deletedModules() is invoked when a module in this catalog is deleted.

Parametersosid.id.IdsyllabusId the Id of the Syllabus to monitor
ErrorsNULL_ARGUMENT syllabusId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedModule
Description

Registers for notification of a deleted module. ModuleReceiver.deletedModules() is invoked when the specified module in this catalog is deleted.

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