| Interface | osid.course.plan.LessonNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session defines methods to receive notifications on
adds/changes to Notifications are triggered with changes to the | ||
| Method | getCourseCatalogId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the CourseCatalog Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseCatalog | ||
| Description |
Gets the | ||
| Return | osid.course.CourseCatalog | the course catalog | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForLessonNotifications | ||
| Description |
Tests if this user can register for | ||
| Return | boolean | false if notification methods are not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useFederatedCourseCatalogView | ||
| Description |
Federates the view for methods in this session. A federated view will include lessonsin course catalogs which are children of this course catalog in the course catalog hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedCourseCatalogView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts retrievals to this course catalog only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableLessonNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableLessonNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeLessonNotification | ||
| Description |
Acknowledge a lesson notification. | ||
| Parameters | osid.id.Id | notificationId | the Id of the notification |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewLessons | ||
| Description |
Register for notifications of new lessons. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewLessonsForPlan | ||
| Description |
Registers for notification of new lessons of the given
plan. | ||
| Parameters | osid.id.Id | planId | the Id of the Plan to monitor |
| Errors | NULL_ARGUMENT | planId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForNewLessonsForDocet | ||
| Description |
Registers for notification of new lessons of the given
docet. | ||
| Parameters | osid.id.Id | docetId | the Id of the Docet to monitor |
| Errors | NULL_ARGUMENT | docetId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedLessons | ||
| Description |
Registers for notification of updated lessons. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedLessonsForPlan | ||
| Description |
Registers for notification of updated lessons of the
given plan. | ||
| Parameters | osid.id.Id | planId | the Id of the Plan to monitor |
| Errors | NULL_ARGUMENT | planId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedLessonsForDocet | ||
| Description |
Registers for notification of updated lessons of the
given docet. | ||
| Parameters | osid.id.Id | docetId | the Id of the Docet to monitor |
| Errors | NULL_ARGUMENT | docetId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedLesson | ||
| Description |
Registers for notification of an updated lesson. | ||
| Parameters | osid.id.Id | lessonId | the Id of the Lesson to monitor |
| Errors | NULL_ARGUMENT | lessonId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedLessons | ||
| Description |
Registers for notification of deleted lessons. | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedLessonsForPlan | ||
| Description |
Registers for notification of deleted lessons of the
given plan. | ||
| Parameters | osid.id.Id | planId | the Id of the Plan to monitor |
| Errors | NULL_ARGUMENT | planId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedLessonsForDocet | ||
| Description |
Registers for notification of deleted lessons of the
given docet. | ||
| Parameters | osid.id.Id | docetId | the Id of the Docet to monitor |
| Errors | NULL_ARGUMENT | docetId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedLesson | ||
| Description |
Registers for notification of a deleted lesson. | ||
| Parameters | osid.id.Id | lessonId | the Id of the Lesson to monitor |
| Errors | NULL_ARGUMENT | lessonId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |