| Interface | osid.ordering.PriceNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.ordering.OrderingManager | ||
osid.ordering.OrderingProxyManager | |||
| Description |
This session defines methods to receive notifications on
adds/changes to Notifications are triggered with changes to the
Like all | ||
| Method | getStoreId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Store Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getStore | ||
| Description |
Gets the | ||
| Return | osid.ordering.Store | the store | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canRegisterForPriceNotifications | ||
| 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 | useFederatedStoreView | ||
| Description |
Federates the view for methods in this session. A federated view will include prices in stores which are children of this store in the store hierarchy. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | useIsolatedStoreView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts searches to this store only. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reliablePriceNotifications | ||
| Description |
Reliable notifications are desired. In reliable mode,
notifications are to be acknowledged using
| ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unreliablePriceNotifications | ||
| Description |
Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged. | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | acknowledgePriceNotification | ||
| Description |
Acknowledge a billing 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 | registerForNewPrices | ||
| Description |
Register for notifications of new prices.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPrices | ||
| Description |
Registers for notification of updated prices.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPrice | ||
| Description |
Registers for notification of an updated price.
| ||
| Parameters | osid.id.Id | priceId | the Id of the Price to monitor |
| Errors | NOT_FOUND | a price was not found identified by the given Id | |
| NULL_ARGUMENT | priceId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedPrices | ||
| Description |
Registers for notification of deleted prices.
| ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedPrice | ||
| Description |
Registers for notification of a deleted price.
| ||
| Parameters | osid.id.Id | priceId | the Id of the Price to monitor |
| Errors | NOT_FOUND | s price was not found identified by the given Id | |
| NULL_ARGUMENT | priceId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |