OSID Logo
OSID Specifications
ordering rules package
Version 3.1.0
Interfaceosid.ordering.rules.OrderingRulesManager
Implementsosid.OsidManager
osid.ordering.rules.OrderingRulesProfile
Used Byosid.ordering.OrderingManager
Description

The ordering rules manager provides access to ordering rules sessions and provides interoperability tests for various aspects of this service. 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.

Returnosid.ordering.rules.PriceEnablerLookupSession a PriceEnablerLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerLookup() is false
Complianceoptional This 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.IdstoreId the Id of the Store
Returnosid.ordering.rules.PriceEnablerLookupSession a PriceEnablerLookupSession
ErrorsNOT_FOUND no Store found by the given Id
NULL_ARGUMENT storeId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsPriceEnablerLookup() and supportsVisibleFederation() are true.
MethodgetPriceEnablerQuerySession
Description

Gets the OsidSession associated with the price enabler query service.

Returnosid.ordering.rules.PriceEnablerQuerySession a PriceEnablerQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerQuery() is false
Complianceoptional This 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.IdstoreId the Id of the Store
Returnosid.ordering.rules.PriceEnablerQuerySession a PriceEnablerQuerySession
ErrorsNOT_FOUND no Store found by the given Id
NULL_ARGUMENT storeId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsPriceEnablerQuery() and supportsVisibleFederation() are true.
MethodgetPriceEnablerSearchSession
Description

Gets the OsidSession associated with the price enabler search service.

Returnosid.ordering.rules.PriceEnablerSearchSession a PriceEnablerSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerSearch() is false
Complianceoptional This 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.IdstoreId the Id of the Store
Returnosid.ordering.rules.PriceEnablerSearchSession a PriceEnablerSearchSession
ErrorsNOT_FOUND no Store found by the given Id
NULL_ARGUMENT storeId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsPriceEnablerSearch() and supportsVisibleFederation() are true.
MethodgetPriceEnablerAdminSession
Description

Gets the OsidSession associated with the price enabler administration service.

Returnosid.ordering.rules.PriceEnablerAdminSession a PriceEnablerAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerAdmin() is false
Complianceoptional This 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.IdstoreId the Id of the Store
Returnosid.ordering.rules.PriceEnablerAdminSession a PriceEnablerAdminSession
ErrorsNOT_FOUND no Store found by the given Id
NULL_ARGUMENT storeId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerAdmin() or supportsVisibleFederation() is false
Complianceoptional This 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.PriceEnablerReceiverpriceEnablerReceiver the notification callback
Returnosid.ordering.rules.PriceEnablerNotificationSession a PriceEnablerNotificationSession
ErrorsNULL_ARGUMENT priceEnablerReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerNotification() is false
Complianceoptional This 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.PriceEnablerReceiverpriceEnablerReceiver the notification callback
osid.id.IdstoreId the Id of the Store
Returnosid.ordering.rules.PriceEnablerNotificationSession a PriceEnablerNotificationSession
ErrorsNOT_FOUND no store found by the given Id
NULL_ARGUMENT priceEnablerReceiver or storeId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsPriceEnablerNotification() and supportsVisibleFederation() are true.
MethodgetPriceEnablerStoreSession
Description

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

Returnosid.ordering.rules.PriceEnablerStoreSession a PriceEnablerStoreSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerStore() is false
Complianceoptional This method must be implemented if supportsPriceEnablerStore() is true.
MethodgetPriceEnablerStoreAssignmentSession
Description

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

Returnosid.ordering.rules.PriceEnablerStoreAssignmentSession a PriceEnablerStoreAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerStoreAssignment() is false
Complianceoptional This method must be implemented if supportsPriceEnablerStoreAssignment() is true.
MethodgetPriceEnablerSmartStoreSession
Description

Gets the OsidSession to manage price enabler smart stores.

Parametersosid.id.IdstoreId the Id of the Store
Returnosid.ordering.rules.PriceEnablerSmartStoreSession a PriceEnablerSmartStoreSession
ErrorsNOT_FOUND no Store found by the given Id
NULL_ARGUMENT storeId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerSmartStore() is false
Complianceoptional This 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.

Returnosid.ordering.rules.PriceEnablerRuleLookupSession a PriceEnablerRuleLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerRuleLookup() is false
Complianceoptional This method must be implemented if supportsPriceEnablerRuleLookup() 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 a store.

Parametersosid.id.IdstoreId the Id of the Store
Returnosid.ordering.rules.PriceEnablerRuleLookupSession a PriceEnablerRuleLookupSession
ErrorsNOT_FOUND no Store found by the given Id
NULL_ARGUMENT storeId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerRuleLookup() or supportsVisibleFederation() is false
Complianceoptional This 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.

Returnosid.ordering.rules.PriceEnablerRuleApplicationSession a PriceEnablerRuleApplicationSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerRuleApplication() is false
Complianceoptional This 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.IdstoreId the Id of the Store
Returnosid.ordering.rules.PriceEnablerRuleApplicationSession a PriceEnablerRuleApplicationSession
ErrorsNOT_FOUND no Store found by the given Id
NULL_ARGUMENT storeId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPriceEnablerRuleApplication() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsPriceEnablerRuleApplication() and supportsVisibleFederation() are true