OSID Logo
OSID Specifications
ordering rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.ordering.rules.OrderingRulesManager
Implementsosid.OsidManager
osid.ordering.rules.OrderingRulesProfile
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.PriceEnablerLookupSessiona PriceEnablerLookupSession
ErrorsOPERATION_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
Returnosid.ordering.rules.PriceEnablerLookupSessiona PriceEnablerLookupSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId 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.

Returnosid.ordering.rules.PriceEnablerQuerySessiona PriceEnablerQuerySession
ErrorsOPERATION_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
Returnosid.ordering.rules.PriceEnablerQuerySessiona PriceEnablerQuerySession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId 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.

Returnosid.ordering.rules.PriceEnablerSearchSessiona PriceEnablerSearchSession
ErrorsOPERATION_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
Returnosid.ordering.rules.PriceEnablerSearchSessiona PriceEnablerSearchSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId 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.

Returnosid.ordering.rules.PriceEnablerAdminSessiona PriceEnablerAdminSession
ErrorsOPERATION_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
Returnosid.ordering.rules.PriceEnablerAdminSessiona PriceEnablerAdminSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId 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
Returnosid.ordering.rules.PriceEnablerNotificationSessiona PriceEnablerNotificationSession
ErrorsNULL_ARGUMENT priceEnablerReceiver 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
Returnosid.ordering.rules.PriceEnablerNotificationSessiona PriceEnablerNotificationSession
ErrorsNOT_FOUNDno store found by the given Id
NULL_ARGUMENT priceEnablerReceiver or storeId 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.

Returnosid.ordering.rules.PriceEnablerStoreSessiona PriceEnablerStoreSession
ErrorsOPERATION_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.

Returnosid.ordering.rules.PriceEnablerStoreAssignmentSessiona PriceEnablerStoreAssignmentSession
ErrorsOPERATION_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
Returnosid.ordering.rules.PriceEnablerSmartStoreSessiona PriceEnablerSmartStoreSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId 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.

Returnosid.ordering.rules.PriceEnablerRuleLookupSessiona PriceEnablerRuleLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerRuleLookup() is false
ComplianceoptionalThis 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 an store.

Parametersosid.id.IdstoreIdthe Id of the Store
Returnosid.ordering.rules.PriceEnablerRuleLookupSessiona PriceEnablerRuleLookupSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId 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.

Returnosid.ordering.rules.PriceEnablerRuleApplicationSessiona PriceEnablerRuleApplicationSession
ErrorsOPERATION_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
Returnosid.ordering.rules.PriceEnablerRuleApplicationSessiona PriceEnablerRuleApplicationSession
ErrorsNOT_FOUNDno Store found by the given Id
NULL_ARGUMENT storeId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPriceEnablerRuleApplication() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPriceEnablerRuleApplication() and supportsVisibleFederation() are true