OSID Logo
OSID Specifications
course registration package
Version 3.0.0
Interfaceosid.course.registration.CourseRegistrationNotificationSession
Implementsosid.OsidSession
Used Byosid.course.registration.CourseRegistrationManager
osid.course.registration.CourseRegistrationProxyManager
Description

This session defines methods to receive notifications on adds/changes to CourseRegistra tions in this CourseCatalog . This also includes existing course registrations that may appear or disappear due to changes in the CourseCatalog hierarchy, 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 two views defined in this session correspond to the views in the CourseRegistrationLookupSessi on.

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

Tests if this user can register for CourseRegistr ation 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.

Returnbooleanfalse 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 course registrations 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 notifications to this course catalog only.

CompliancemandatoryThis method is must be implemented.
MethodreliableCourseRegistrationNotifications
Description

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

CompliancemandatoryThis method is must be implemented.
MethodunreliableCourseRegistrationNotifications
Description

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

CompliancemandatoryThis method is must be implemented.
MethodacknowledgeCourseRegistrationNotification
Description

Acknowledge a course registration notification.

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

Register for notifications of new course registrations. CourseRegistrationReceiver.newCourseRegistrations() is invoked when a new CourseRegistration appears in this course catalog.

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

Register for notifications of new course registrations for the given registration. CourseRegistrationReceiver.newCourseRegistrations() is invoked when a new CourseRegistration appears in this course catalog.

Parametersosid.id.IdregistrationIdthe Id of the Registration to monitor
ErrorsNULL_ARGUMENTregistrationId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForNewCourseRegistrationsForCourseOffering
Description

Register for notifications of new course registrations for the given course offering. CourseRegistrationReceiver.newCourseRegistrations() is invoked when a new CourseRegistration appears in this course catalog.

Parametersosid.id.IdcourseOfferingIdthe Id of the CourseOffering to monitor
ErrorsNULL_ARGUMENTcourseOfferingId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForNewCourseRegistrationsForStudent
Description

Register for notifications of new course registrations for the given student. CourseRegistrationReceiver.newCourseRegistrations() is invoked when a new CourseRegistration appears in this course catalog.

Parametersosid.id.IdresourceIdthe Id of the Resource to monitor
ErrorsNULL_ARGUMENTresourceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedCourseRegistrations
Description

Register for notifications of updated course registrations. CourseRegistrationReceiver.changedCourseRegistrations() is invoked when a CourseRegistration in this course catalog is changed.

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

Register for notifications of updated course registrations for the given registration. CourseRegistrationReceiver.changedCourseRegistrations() is invoked when a CourseRegistration in this course catalog is changed.

Parametersosid.id.IdregistrationIdthe Id of the Registration to monitor
ErrorsNULL_ARGUMENTregistrationId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedCourseRegistrationsForCourseOffering
Description

Register for notifications of updated course registrations for the given course offering. CourseRegistrationReceiver.changedCourseRegistrations() is invoked when a CourseRegistration in this course catalog is changed.

Parametersosid.id.IdcourseOfferingIdthe Id of the CourseOffering to monitor
ErrorsNULL_ARGUMENTcourseOfferingId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedCourseRegistrationsForStudent
Description

Register for notifications of updated course registrations for the given student. CourseRegistrationReceiver.changedCourseRegistrations() is invoked when a CourseRegistration in this course catalog is changed.

Parametersosid.id.IdresourceIdthe Id of the Resource to monitor
ErrorsNULL_ARGUMENTresourceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedCourseRegistration
Description

Register for notifications of an updated course registration. CourseRegistrationReceiver.changedCourseRegistrations() is invoked when the specified CourseRegistration in this course catalog is changed.

Parametersosid.id.IdcourseRegistrationIdthe Id of the CourseRegistration to monitor
ErrorsNULL_ARGUMENTcourseRegistrationId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedCourseRegistrations
Description

Registers for notification of deleted course registrations. CourseRegistrationReceiver.deletedCourseRegistrations() is invoked when a course registration is deleted or removed from this course catalog.

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

Registers for notification of deleted course registrations for thegiven registration. CourseRegistrationReceiver.deletedCourseRegistrations() is invoked when a course registration is deleted or removed from this course catalog.

Parametersosid.id.IdregistrationIdthe Id of the Registration to monitor
ErrorsNULL_ARGUMENTregistrationId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedCourseRegistrationsForCourseOffering
Description

Registers for notification of deleted course registrations for the given course offering. CourseRegistrationReceiver.deletedCourseRegistrations() is invoked when a course registration is deleted or removed from this course catalog.

Parametersosid.id.IdcourseOfferingIdthe Id of the CourseOffering to monitor
ErrorsNULL_ARGUMENTcourseOfferingId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedCourseRegistrationsForStudent
Description

Registers for notification of deleted course registrations for the given student. CourseRegistrationReceiver.deletedCourseRegistrations() is invoked when a course registration is deleted or removed from this course catalog.

Parametersosid.id.IdresourceIdthe Id of the Resource to monitor
ErrorsNULL_ARGUMENTresourceId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedCourseRegistration
Description

Registers for notification of a deleted course registration. CourseRegistrationReceiver.deletedCourseRegistrations() is invoked when the specified course registration is deleted or removed from this course catalog.

Parametersosid.id.IdcourseRegistrationIdthe Id of the CourseRegistration to monitor
ErrorsNULL_ARGUMENTcourseRegistrationId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.