| Interface | osid.ordering.PriceSmartStoreSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.ordering.OrderingManager | ||
osid.ordering.OrderingProxyManager | |||
| Description |
This session manages queries and sequencing to create
"smart" dynamic catalogs. A This 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 associated with this session | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageSmartStores | ||
| Description |
Tests if this user can manage smart stores. A return
of true does not guarantee successful authorization. A
return of false indicates that it is known methods in this
session will result in a | ||
| Return | boolean | false if smart store management is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPriceQuery | ||
| Description |
Gets a price query. | ||
| Return | osid.ordering.PriceQuery | the price query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPriceSearchOrder | ||
| Description |
Gets a price search order. | ||
| Return | osid.ordering.PriceSearchOrder | the price search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyPriceQuery | ||
| Description |
Applies a price query to this store. | ||
| Parameters | osid.ordering.PriceQuery | priceQuery | the price query |
| Errors | NULL_ARGUMENT | priceQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | priceQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectPriceQuery | ||
| Description |
Gets a price query inspector for this store. | ||
| Return | osid.ordering.PriceQueryInspector | the price query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyPriceSequencing | ||
| Description |
Applies a price search order to this store. | ||
| Parameters | osid.ordering.PriceSearchOrder | priceSearchOrder | the price search order |
| Errors | NULL_ARGUMENT | priceSearchOrder is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | priceSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPriceQueryFromInspector | ||
| Description |
Gets a price query from an inspector. | ||
| Parameters | osid.ordering.PriceQueryInspector | priceQueryInspector | a query inspector |
| Return | osid.ordering.PriceQuery | the price query | |
| Errors | NULL_ARGUMENT | priceQueryInspector is null | |
| UNSUPPORTED | priceQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |