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

This session defines methods to receive notifications on adds/changes to RegistrationTa rgets in this CourseCatalog . This also includes existing registration targets 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 RegistrationTargetLookupSessi 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.
MethodcanRegisterForRegistrationTargetNotifications
Description

Tests if this user can register for RegistrationT arget 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 registration targets 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.
MethodreliableRegistrationTargetNotifications
Description

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

CompliancemandatoryThis method is must be implemented.
MethodunreliableRegistrationTargetNotifications
Description

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

CompliancemandatoryThis method is must be implemented.
MethodacknowledgeRegistrationTargetNotification
Description

Acknowledge a registration target notification.

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

Register for notifications of new registration targets. RegistrationTargetReceiver.newRegistrationTargets() is invoked when a new RegistrationTarget appears in this course catalog.

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

Register for notifications of new registration targets for the given course offering. RegistrationTargetReceiver.newRegistrationTargets() is invoked when a new RegistrationTarget appears in this course catalog.

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

Register for notifications of new registration targets for the given activity. RegistrationTargetReceiver.newRegistrationTargets() is invoked when a new RegistrationTarget appears in this course catalog.

Parametersosid.id.IdactivityIdthe Id of an activity
ErrorsNULL_ARGUMENTactivityId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedRegistrationTargets
Description

Register for notifications of updated registration targets. RegistrationTargetReceiver.changedRegistrationTargets() is invoked when a RegistrationTarget in this course catalog is changed.

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

Register for notifications of updated registration targets for the given course offering. RegistrationTargetReceiver.changedRegistrationTargets() is invoked when a RegistrationTarget in this course catalog is changed.

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

Register for notifications of updated registration targets for the given activity. RegistrationTargetReceiver.changedRegistrationTargets() is invoked when a RegistrationTarget in this course catalog is changed.

Parametersosid.id.IdactivityIdthe Id of an activity
ErrorsNULL_ARGUMENTactivityId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForChangedRegistrationTarget
Description

Register for notifications of an updated registration target. RegistrationTargetReceiver.changedRegistrationTargets() is invoked when the specified RegistrationTarget in this course catalog is changed.

Parametersosid.id.IdregistrationTargetIdthe Id of the RegistrationTarget to monitor
ErrorsNULL_ARGUMENTregistrationTargetId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedRegistrationTargets
Description

Registers for notification of deleted registration targets. RegistrationTargetReceiver.deletedRegistrationTargets() is invoked when a registration target is deleted or removed from this course catalog.

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

Registers for notification of deleted registration targets for the given course offering. RegistrationTargetReceiver.deletedRegistrationTargets() is invoked when a registration target is deleted or removed from this course catalog.

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

Registers for notification of deleted registration targets for the given activity. RegistrationTargetReceiver.deletedRegistrationTargets() is invoked when a registration target is deleted or removed from this course catalog.

Parametersosid.id.IdactivityIdthe Id of an activity
ErrorsNULL_ARGUMENTactivityId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedRegistrationTarget
Description

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

Parametersosid.id.IdregistrationTargetIdthe Id of the RegistrationTarget to monitor
ErrorsNULL_ARGUMENTregistrationTargetId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.