| Interface | osid.ordering.PriceScheduleStoreAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods to re-assign Adding a reference of a | ||
| Method | canAssignPriceSchedules | ||
| Description |
Tests if this user can alter price schedule/store
mappings. A return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canAssignPriceSchedulesToStore | ||
| Description |
Tests if this user can alter price schedule/store
mappings. A return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
| Parameters | osid.id.Id | storeId | the Id of the Store |
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Errors | NULL_ARGUMENT | storeId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableStoreIds | ||
| Description |
Gets a list of stores including and under the given store node in which any price schedule can be assigned. | ||
| Parameters | osid.id.Id | storeId | the Id of the Store |
| Return | osid.id.IdList | list of assignable store Ids | |
| Errors | NULL_ARGUMENT | storeId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableStoreIdsForPriceSchedule | ||
| Description |
Gets a list of stores including and under the given store node in which a specific price schedule can be assigned. | ||
| Parameters | osid.id.Id | storeId | the Id of the Store |
osid.id.Id | priceScheduleId | the Id of the PriceSchedule | |
| Return | osid.id.IdList | list of assignable store Ids | |
| Errors | NULL_ARGUMENT | storeId or priceScheduleId is null
| |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignPriceScheduleToStore | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | pricScheduleeId | the Id of the PriceSchedule |
osid.id.Id | storeId | the Id of the Store | |
| Errors | ALREADY_EXISTS | priceScheduleId is already assigned to storeId
| |
| NOT_FOUND | priceScheduleId or storeId not found | ||
| NULL_ARGUMENT | priceScheduleId or storeId is null
| ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignPriceScheduleFromStore | ||
| Description |
Removes a | ||
| Parameters | osid.id.Id | priceScheduleId | the Id of the PriceSchedule |
osid.id.Id | storeId | the Id of the Store | |
| Errors | NOT_FOUND | priceScheduleId or storeId not found or
priceScheduleId not assigned to storeId | |
| NULL_ARGUMENT | priceScheduleId or storeId is null
| ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |