| Interface | osid.subscription.rules.DispatchProcessorNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.subscription.rules.SubscriptionRulesManager | ||
osid.subscription.rules.SubscriptionRulesProxyManager | |||
| Description |
This session defines methods to receive notifications on
adds/changes to The two views defined in this session correspond to the
views in the | ||
| Method | getPublisherId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Publisher Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPublisher | ||
| Description |
Gets the | ||
| Return | osid.subscription.Publisher | the publisher | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForDispatchProcessorNotifications | ||
| 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 | useFederatedPublisherView | ||
| Description |
Federates the view for methods in this session. A federated view will include dispatch processors in publishers which are children of this publisher in the publisher hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedPublisherView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this publisher only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliableDispatchProcessorNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliableDispatchProcessorNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgeDispatchProcessorNotification | ||
| Description |
Acknowledge a dispatch processor 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 | registerForNewDispatchProcessors | ||
| Description |
Register for notifications of new dispatch processors.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedDispatchProcessors | ||
| Description |
Register for notifications of updated dispatch
processors.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedDispatchProcessor | ||
| Description |
Register for notifications of an updated dispatch
processor.
| ||
| Parameters | osid.id.Id | dispatchProcessorId | the Id of the DispatchProcessor to monitor |
| Errors | NULL_ARGUMENT | dispatchProcessorId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedDispatchProcessors | ||
| Description |
Registers for notification of deleted dispatch
processors.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedDispatchProcessor | ||
| Description |
Registers for notification of a deleted dispatch
processor.
| ||
| Parameters | osid.id.Id | dispatchProcessorId | the Id of the DispatchProcessor to monitor |
| Errors | NULL_ARGUMENT | dispatchProcessorId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |