OSID Logo
OSID Specifications
course registration package
Version 3.1.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.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.
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.

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

Compliancemandatory This method is must be implemented.
MethodreliableCourseRegistrationNotifications
Description

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

Compliancemandatory This method is must be implemented.
MethodunreliableCourseRegistrationNotifications
Description

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

Compliancemandatory This method is must be implemented.
MethodacknowledgeCourseRegistrationNotification
Description

Acknowledge a course registration 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.
MethodregisterForNewCourseRegistrations
Description

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

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdregistrationId the Id of the Registration to monitor
ErrorsNULL_ARGUMENT registrationId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdcourseOfferingId the Id of the CourseOffering to monitor
ErrorsNULL_ARGUMENT courseOfferingId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdresourceId the Id of the Resource to monitor
ErrorsNULL_ARGUMENT resourceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdregistrationId the Id of the Registration to monitor
ErrorsNULL_ARGUMENT registrationId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdcourseOfferingId the Id of the CourseOffering to monitor
ErrorsNULL_ARGUMENT courseOfferingId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdresourceId the Id of the Resource to monitor
ErrorsNULL_ARGUMENT resourceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdcourseRegistrationId the Id of the CourseRegistration to monitor
ErrorsNULL_ARGUMENT courseRegistrationId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdregistrationId the Id of the Registration to monitor
ErrorsNULL_ARGUMENT registrationId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdcourseOfferingId the Id of the CourseOffering to monitor
ErrorsNULL_ARGUMENT courseOfferingId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdresourceId the Id of the Resource to monitor
ErrorsNULL_ARGUMENT resourceId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.IdcourseRegistrationId the Id of the CourseRegistration to monitor
ErrorsNULL_ARGUMENT courseRegistrationId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.