| Interface | osid.ordering.rules.PriceEnablerNotificationSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| 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 | 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 | canRegisterForPriceEnablerNotifications | ||
| 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 enablers in stores which are children of this store in the store hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedStoreView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts notifications to this store only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | reliablePriceEnablerNotifications | ||
| Description | 
                     Reliable notifications are desired. In reliable mode, 
                    notifications are to be acknowledged using   | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | unreliablePriceEnablerNotifications | ||
| Description | 
                     Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | acknowledgePriceEnablerNotification | ||
| Description | 
                     Acknowledge a price enabelr 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 | registerForNewPriceEnablers | ||
| Description | 
                     Register for notifications of new price enablers. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPriceEnablers | ||
| Description | 
                     Registers for notification of updated store enabelrs. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForChangedPriceEnabler | ||
| Description | 
                     Registers for notification of an updated price enabler. 
                      | ||
| Parameters | osid.id.Id | priceEnablerId | the  Id  of the  PriceEnabler  to monitor  | 
| Errors | NULL_ARGUMENT |  priceEnablerId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedPriceEnablers | ||
| Description | 
                     Registers for notification of deleted price enablers. 
                      | ||
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | registerForDeletedPriceEnabler | ||
| Description | 
                     Registers for notification of a deleted price enabler. 
                      | ||
| Parameters | osid.id.Id | priceEnablerId | the  Id  of the  PriceEnabler  to monitor  | 
| Errors | NULL_ARGUMENT |  priceEnablerId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |