OSID Logo
OSID Specifications
ordering rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.ordering.rules.OrderingRulesProxyManager
Implementsosid.OsidProxyManager
osid.ordering.rules.OrderingRulesProfile
Description

The ordering rules proxy manager provides access to ordering rules sessions and provides interoperability tests for various aspects of this service. Methods in this manager pass a Proxy for passing information from server environments. The sessions included in this manager are:

  • PriceEnablerLookupSession: a session to retrieve price enablers
  • PriceEnablerQuerySession: a session to query for price enablers
  • PriceEnablerSearchSession: a session to search for price enablers
  • PriceEnablerAdminSession: a session to create and delete price enablers
  • PriceEnablerNotificationSession: a session to receive notifications pertaining to price enabler changes
  • PriceEnablerStoreSession: a session to look up price enabler store mappings
  • PriceEnablerStoreAssignmentSession: a session to manage price enabler to store mappings
  • PriceEnablerSmartStoreSession: a session to manage dynamic stores of price enablers
  • PriceEnablerPriceRuleLookupSession: a session to look up price enabler to price mappings
  • PriceEnablerPriceRuleApplicationSession: a session to apply price enablers to prices
MethodgetPriceEnablerLookupSession
Description

Gets the OsidSession associated with the price enabler lookup service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerLookupSessiona PriceEnablerLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerLookup() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerLookup() is true.
MethodgetPriceEnablerLookupSessionForStore
Description

Gets the OsidSession associated with the price enabler lookup service for the given store.

Parametersosid.id.IdstoreIdthe Id of the Store
osid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerLookupSessiona PriceEnablerLookupSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerLookup() and supportsVisibleFederation() are true.
MethodgetPriceEnablerQuerySession
Description

Gets the OsidSession associated with the price enabler query service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerQuerySessiona PriceEnablerQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerQuery() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerQuery() is true.
MethodgetPriceEnablerQuerySessionForStore
Description

Gets the OsidSession associated with the price enabler query service for the given store.

Parametersosid.id.IdstoreIdthe Id of the Store
osid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerQuerySessiona PriceEnablerQuerySession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerQuery() and supportsVisibleFederation() are true.
MethodgetPriceEnablerSearchSession
Description

Gets the OsidSession associated with the price enabler search service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerSearchSessiona PriceEnablerSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerSearch() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerSearch() is true.
MethodgetPriceEnablerSearchSessionForStore
Description

Gets the OsidSession associated with the price enablers earch service for the given store.

Parametersosid.id.IdstoreIdthe Id of the Store
osid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerSearchSessiona PriceEnablerSearchSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerSearch() and supportsVisibleFederation() are true.
MethodgetPriceEnablerAdminSession
Description

Gets the OsidSession associated with the price enabler administration service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerAdminSessiona PriceEnablerAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerAdmin() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerAdmin() is true.
MethodgetPriceEnablerAdminSessionForStore
Description

Gets the OsidSession associated with the price enabler administration service for the given store.

Parametersosid.id.IdstoreIdthe Id of the Store
osid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerAdminSessiona PriceEnablerAdminSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerAdmin() and supportsVisibleFederation() are true.
MethodgetPriceEnablerNotificationSession
Description

Gets the OsidSession associated with the price enabler notification service.

Parametersosid.ordering.rules.PriceEnablerReceiverpriceEnablerReceiverthe notification callback
osid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerNotificationSessiona PriceEnablerNotificationSession
ErrorsNULL_ARGUMENT priceEnablerReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerNotification() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerNotification() is true.
MethodgetPriceEnablerNotificationSessionForStore
Description

Gets the OsidSession associated with the price enabler notification service for the given store.

Parametersosid.ordering.rules.PriceEnablerReceiverpriceEnablerReceiverthe notification callback
osid.id.IdstoreIdthe Id of the Store
osid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerNotificationSessiona PriceEnablerNotificationSession
ErrorsNOT_FOUNDno store found by the given Id
NULL_ARGUMENT priceEnablerReceiver, storeId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerNotification() and supportsVisibleFederation() are true.
MethodgetPriceEnablerStoreSession
Description

Gets the OsidSession to lookup price enabler/store mappings for price enablers.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerStoreSessiona PriceEnablerStoreSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerStore() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerStore() is true.
MethodgetPriceEnablerStoreAssignmentSession
Description

Gets the OsidSession associated with assigning price enablers to stores for price.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerStoreAssignmentSessiona PriceEnablerStoreAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerStoreAssignment() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerStoreAssignment() is true.
MethodgetPriceEnablerSmartStoreSession
Description

Gets the OsidSession to manage price enabler smart stores.

Parametersosid.id.IdstoreIdthe Id of the Store
osid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerSmartStoreSessiona PriceEnablerSmartStoreSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerSmartStore() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerSmartStore() is true.
MethodgetPriceEnablerRuleLookupSession
Description

Gets the OsidSession associated with the price enabler price mapping lookup service for looking up the rules applied to the store.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerRuleLookupSessiona PriceEnablerRuleLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerPriceRuleLookup() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerPriceRuleLookup() is true.
MethodgetPriceEnablerRuleLookupSessionForStore
Description

Gets the OsidSession associated with the price enabler price mapping lookup service for the given store for looking up rules applied to an store.

Parametersosid.id.IdstoreIdthe Id of the Store
osid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerRuleLookupSessiona PriceEnablerRuleLookupSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerRuleLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerRuleLookup() and supportsVisibleFederation() are true.
MethodgetPriceEnablerRuleApplicationSession
Description

Gets the OsidSession associated with the price enabler price assignment service to apply enablers to stores.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerRuleApplicationSessiona PriceEnablerPricApplicationSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerRuleApplication() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerRuleApplication() is true.
MethodgetPriceEnablerRuleApplicationSessionForStore
Description

Gets the OsidSession associated with the price enabler price assignment service for the given store to apply enablers to stores.

Parametersosid.id.IdstoreIdthe Id of the Store
osid.proxy.Proxyproxya proxy
Returnosid.ordering.rules.PriceEnablerRuleApplicationSessiona PriceEnablerRuleApplicationSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerRuleApplication() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerRuleApplication() and supportsVisibleFederation() are true.