OSID Logo
OSID Specifications
course syllabus package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.syllabus.SyllabusNotificationSession
Implementsosid.OsidSession
Description

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

MethodgetCourseCatalogId
Description

Gets the CourseCatalog Id associated with this session.

Returnosid.id.Idthe CourseCatalog Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetCourseCatalog
Description

Gets the CourseCatalog associated with this session.

Returnosid.course.CourseCatalogthe course catalog
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanRegisterForSyllabusNotifications
Description

Tests if this user can register for Syllabus 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
CompliancemandatoryThis method must be implemented.
MethoduseFederatedCourseCatalogView
Description

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

CompliancemandatoryThis 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.

CompliancemandatoryThis method is must be implemented.
MethodreliableSyllabusNotifications
Description

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

CompliancemandatoryThis method is must be implemented.
MethodunreliableSyllabusNotifications
Description

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

CompliancemandatoryThis method is must be implemented.
MethodacknowledgeSyllabusNotification
Description

Acknowledge a syllabus notification.

Parametersosid.id.IdnotificationIdthe Id of the notification
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForNewSyllabi
Description

Register for notifications of new syllabi. SyllabusReceiver.newSyllabi() is invoked when a new Syllabus is created.

ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForNewSyllabiForCourse
Description

Register for notifications of new syllabi for the given course . SyllabusReceiver.newSyllabi() is invoked when a new Syllabus is created.

Parametersosid.id.IdcourseIdthe Id of the course to monitor
ErrorsNULL_ARGUMENT courseId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedSyllabi
Description

Registers for notification of updated syllabi. SyllabusReceiver.changedSyllabi() is invoked when a syllabus is changed.

ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedSyllabiForCourse
Description

Register for notifications of changed syllabi for the given course Id. SyllabusReceiver.changedSyllabi() is invoked when a Syllabus for the coursein this catalog is changed.

Parametersosid.id.IdcourseIdthe Id of the course to monitor
ErrorsNULL_ARGUMENT courseId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedSyllabus
Description

Registers for notification of an updated syllabus. SyllabusReceiver.changedSyllabi() is invoked when the specified syllabus is changed.

Parametersosid.id.IdsyllabusIdthe Id of the Syllabus to monitor
ErrorsNULL_ARGUMENT syllabusId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedSyllabi
Description

Registers for notification of deleted syllabi. SyllabusReceiver.deletedSyllabi() is invoked when a syllabus is deleted.

ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedSyllabiForCourse
Description

Register for notifications of deleted syllabi for the given course Id. SyllabusReceiver.deletedSyllabi() is invoked when a Syllabus for the course in this catalog is deleted.

Parametersosid.id.IdcourseIdthe Id of the course to monitor
ErrorsNULL_ARGUMENT courseId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedSyllabus
Description

Registers for notification of a deleted syllabus. SyllabusReceiver.deletedSyllabi() is invoked when the specified syllabus is deleted.

Parametersosid.id.IdsyllabusIdthe Id of the Syllabus to monitor
ErrorsNULL_ARGUMENT syllabusId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.