Interface | osid.ordering.rules.PriceEnablerLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods | ||
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 | canLookupPriceEnablers | ||
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 | useComparativePriceEnablerView | ||
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 | usePlenaryPriceEnablerView | ||
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 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 lookups to this store only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActivePriceEnablerView | ||
Description |
Only active price enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusPriceEnablerView | ||
Description |
All price enablers of any active or inactive status are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getPriceEnabler | ||
Description |
Gets the | ||
Parameters | osid.id.Id | priceEnablerId | Id of the PriceEnabler |
Return | osid.ordering.rules.PriceEnabler | the price enabler | |
Errors | NOT_FOUND | priceEnablerId not found | |
NULL_ARGUMENT | priceEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getPriceEnablersByIds | ||
Description |
Gets a | ||
Parameters | osid.id.IdList | priceEnablerIds | the list of Ids to retrieve |
Return | osid.ordering.rules.PriceEnablerList | the returned PriceEnabler list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | priceEnablerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPriceEnablersByGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | priceEnablerGenusType | a price enabler genus type |
Return | osid.ordering.rules.PriceEnablerList | the returned PriceEnabler list | |
Errors | NULL_ARGUMENT | priceEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPriceEnablersByParentGenusType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | priceEnablerGenusType | a price enabler genus type |
Return | osid.ordering.rules.PriceEnablerList | the returned PriceEnabler list | |
Errors | NULL_ARGUMENT | priceEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPriceEnablersByRecordType | ||
Description |
Gets a | ||
Parameters | osid.type.Type | priceEnablerRecordType | a price enabler record type |
Return | osid.ordering.rules.PriceEnablerList | the returned PriceEnabler list | |
Errors | NULL_ARGUMENT | priceEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPriceEnablersOnDate | ||
Description |
Gets a | ||
Parameters | osid.calendaring.DateTime | from | a start date |
osid.calendaring.DateTime | to | an end date | |
Return | osid.ordering.rules.PriceEnablerList | the returned PriceEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPriceEnablersOnDateWithAgent | ||
Description |
Gets a | ||
Parameters | osid.id.Id | agentId | an agent Id |
osid.calendaring.DateTime | from | a start date | |
osid.calendaring.DateTime | to | an end date | |
Return | osid.ordering.rules.PriceEnablerList | the returned PriceEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | agentId, from, or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPriceEnablers | ||
Description |
Gets all | ||
Return | osid.ordering.rules.PriceEnablerList | the returned PriceEnabler list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |