Interface | osid.ordering.PriceScheduleLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
| ||
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 | canLookupPriceSchedules | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativePriceScheduleView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryPriceScheduleView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedStoreView | ||
Description |
Federates the view for methods in this session. A federated view will include price schedules 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 retrievals to this store only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getPriceSchedule | ||
Description |
Gets the | ||
Parameters | osid.id.Id | priceScheduleId | Id of the PriceSchedule |
Return | osid.ordering.PriceSchedule | the price schedule | |
Errors | NOT_FOUND | priceScheduleId not found | |
NULL_ARGUMENT | priceScheduleId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getPriceScheduleByPrice | ||
Description |
Gets the | ||
Parameters | osid.id.Id | priceId | Id of a Price |
Return | osid.ordering.PriceSchedule | the price schedule | |
Errors | NOT_FOUND | priceId not found | |
NULL_ARGUMENT | priceId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getPriceSchedulesByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | priceScheduleIds | the list of Ids to retrieve |
Return | osid.ordering.PriceScheduleList | the returned PriceSchedule list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | priceScheduleIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPriceSchedulesByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | priceScheduleGenusType | a price schedule genus type |
Return | osid.ordering.PriceScheduleList | the returned PriceSchedule list | |
Errors | NULL_ARGUMENT | priceScheduleGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPriceSchedulesByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | priceScheduleGenusType | a price schedule genus type |
Return | osid.ordering.PriceScheduleList | the returned PriceSchedule list | |
Errors | NULL_ARGUMENT | priceScheduleGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPriceSchedulesByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | priceScheduleRecordType | a price schedule record type |
Return | osid.ordering.PriceScheduleList | the returned PriceSchedule list | |
Errors | NULL_ARGUMENT | priceScheduleRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPriceSchedules | ||
Description |
Gets all | ||
Return | osid.ordering.PriceScheduleList | a list of PriceSchedules | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |