Interface OrderingRulesManager
- All Superinterfaces:
AutoCloseable, Closeable, OrderingRulesProfile, OsidManager, OsidManager, OsidProfile, Sourceable
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
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the price enabler administration service.getPriceEnablerAdminSessionForStore(Id storeId) Gets theOsidSessionassociated with the price enabler administration service for the given store.Gets theOsidSessionassociated with the price enabler lookup service.getPriceEnablerLookupSessionForStore(Id storeId) Gets theOsidSessionassociated with the price enabler lookup service for the given store.getPriceEnablerNotificationSession(PriceEnablerReceiver priceEnablerReceiver) Gets theOsidSessionassociated with the price enabler notification service.getPriceEnablerNotificationSessionForStore(PriceEnablerReceiver priceEnablerReceiver, Id storeId) Gets theOsidSessionassociated with the price enabler notification service for the given store.Gets theOsidSessionassociated with the price enabler query service.getPriceEnablerQuerySessionForStore(Id storeId) Gets theOsidSessionassociated with the price enabler query service for the given store.Gets theOsidSessionassociated with the price enabler price assignment service to apply enablers to stores.Gets theOsidSessionassociated with the price enabler price assignment service for the given store to apply enablers to stores.Gets theOsidSessionassociated with the price enabler price mapping lookup service for looking up the rules applied to the store.Gets theOsidSessionassociated with the price enabler price mapping lookup service for the given store for looking up rules applied to a store.Gets theOsidSessionassociated with the price enabler search service.getPriceEnablerSearchSessionForStore(Id storeId) Gets theOsidSessionassociated with the price enablers earch service for the given store.getPriceEnablerSmartStoreSession(Id storeId) Gets theOsidSessionto manage price enabler smart stores.Gets theOsidSessionassociated with assigning price enablers to stores for price.Gets theOsidSessionto lookup price enabler/store mappings for price enablers.Methods inherited from interface OrderingRulesProfile
getPriceEnablerRecordTypes, getPriceEnablerSearchRecordTypes, supportsPriceEnablerAdmin, supportsPriceEnablerLookup, supportsPriceEnablerNotification, supportsPriceEnablerQuery, supportsPriceEnablerRecordType, supportsPriceEnablerRuleApplication, supportsPriceEnablerRuleLookup, supportsPriceEnablerSearch, supportsPriceEnablerSearchRecordType, supportsPriceEnablerSmartStore, supportsPriceEnablerStore, supportsPriceEnablerStoreAssignment, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedPriceEnablerrecord types.Gets the supportedPriceEnablersearch record types.booleanTests if a price enabler administrative service is supported.booleanTests if looking up price enablers is supported.booleanTests if a price enabler notification service is supported.booleanTests if querying price enablers is supported.booleansupportsPriceEnablerRecordType(Type priceEnablerRecordType) Tests if the givenPriceEnablerrecord type is supported.booleanTests if a price enabler price rule application service is supported.booleanTests if a price enabler price rule lookup service is supported.booleanTests if searching price enablers is supported.booleansupportsPriceEnablerSearchRecordType(Type priceEnablerSearchRecordType) Tests if the givenPriceEnablersearch record type is supported.booleanTests if a price enabler store lookup service is supported.booleanTests if a price enabler store lookup service is supported.booleanTests if a price enabler store service is supported.booleanTests if any broker federation is exposed.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getPriceEnablerLookupSession
Gets theOsidSessionassociated with the price enabler lookup service.- Returns:
- a
PriceEnablerLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerLookup()} is {@code true} .
-
getPriceEnablerLookupSessionForStore
PriceEnablerLookupSession getPriceEnablerLookupSessionForStore(Id storeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the price enabler lookup service for the given store.- Parameters:
storeId- theIdof theStore- Returns:
- a
PriceEnablerLookupSession - Throws:
NotFoundException- noStorefound by the givenIdNullArgumentException-storeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getPriceEnablerQuerySession
Gets theOsidSessionassociated with the price enabler query service.- Returns:
- a
PriceEnablerQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerQuery()} is {@code true} .
-
getPriceEnablerQuerySessionForStore
PriceEnablerQuerySession getPriceEnablerQuerySessionForStore(Id storeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the price enabler query service for the given store.- Parameters:
storeId- theIdof theStore- Returns:
- a
PriceEnablerQuerySession - Throws:
NotFoundException- noStorefound by the givenIdNullArgumentException-storeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getPriceEnablerSearchSession
Gets theOsidSessionassociated with the price enabler search service.- Returns:
- a
PriceEnablerSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerSearch()} is {@code true} .
-
getPriceEnablerSearchSessionForStore
PriceEnablerSearchSession getPriceEnablerSearchSessionForStore(Id storeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the price enablers earch service for the given store.- Parameters:
storeId- theIdof theStore- Returns:
- a
PriceEnablerSearchSession - Throws:
NotFoundException- noStorefound by the givenIdNullArgumentException-storeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getPriceEnablerAdminSession
Gets theOsidSessionassociated with the price enabler administration service.- Returns:
- a
PriceEnablerAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerAdmin()} is {@code true} .
-
getPriceEnablerAdminSessionForStore
PriceEnablerAdminSession getPriceEnablerAdminSessionForStore(Id storeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the price enabler administration service for the given store.- Parameters:
storeId- theIdof theStore- Returns:
- a
PriceEnablerAdminSession - Throws:
NotFoundException- noStorefound by the givenIdNullArgumentException-storeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getPriceEnablerNotificationSession
PriceEnablerNotificationSession getPriceEnablerNotificationSession(PriceEnablerReceiver priceEnablerReceiver) throws OperationFailedException Gets theOsidSessionassociated with the price enabler notification service.- Parameters:
priceEnablerReceiver- the notification callback- Returns:
- a
PriceEnablerNotificationSession - Throws:
NullArgumentException-priceEnablerReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerNotification()} is {@code true} .
-
getPriceEnablerNotificationSessionForStore
PriceEnablerNotificationSession getPriceEnablerNotificationSessionForStore(PriceEnablerReceiver priceEnablerReceiver, Id storeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the price enabler notification service for the given store.- Parameters:
priceEnablerReceiver- the notification callbackstoreId- theIdof theStore- Returns:
- a
PriceEnablerNotificationSession - Throws:
NotFoundException- no store found by the givenIdNullArgumentException-priceEnablerReceiverorstoreIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getPriceEnablerStoreSession
Gets theOsidSessionto lookup price enabler/store mappings for price enablers.- Returns:
- a
PriceEnablerStoreSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerStore()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerStore()} is {@code true} .
-
getPriceEnablerStoreAssignmentSession
PriceEnablerStoreAssignmentSession getPriceEnablerStoreAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning price enablers to stores for price.- Returns:
- a
PriceEnablerStoreAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerStoreAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerStoreAssignment()} is {@code true} .
-
getPriceEnablerSmartStoreSession
PriceEnablerSmartStoreSession getPriceEnablerSmartStoreSession(Id storeId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage price enabler smart stores.- Parameters:
storeId- theIdof theStore- Returns:
- a
PriceEnablerSmartStoreSession - Throws:
NotFoundException- noStorefound by the givenIdNullArgumentException-storeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerSmartStore()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerSmartStore()} is {@code true} .
-
getPriceEnablerRuleLookupSession
Gets theOsidSessionassociated with the price enabler price mapping lookup service for looking up the rules applied to the store.- Returns:
- a
PriceEnablerRuleLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerRuleLookup()} is {@code true} .
-
getPriceEnablerRuleLookupSessionForStore
PriceEnablerRuleLookupSession getPriceEnablerRuleLookupSessionForStore(Id storeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the price enabler price mapping lookup service for the given store for looking up rules applied to a store.- Parameters:
storeId- theIdof theStore- Returns:
- a
PriceEnablerRuleLookupSession - Throws:
NotFoundException- noStorefound by the givenIdNullArgumentException-storeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerRuleLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerRuleLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getPriceEnablerRuleApplicationSession
PriceEnablerRuleApplicationSession getPriceEnablerRuleApplicationSession() throws OperationFailedExceptionGets theOsidSessionassociated with the price enabler price assignment service to apply enablers to stores.- Returns:
- a
PriceEnablerRuleApplicationSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerRuleApplication()} is {@code true} .
-
getPriceEnablerRuleApplicationSessionForStore
PriceEnablerRuleApplicationSession getPriceEnablerRuleApplicationSessionForStore(Id storeId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the price enabler price assignment service for the given store to apply enablers to stores.- Parameters:
storeId- theIdof theStore- Returns:
- a
PriceEnablerRuleApplicationSession - Throws:
NotFoundException- noStorefound by the givenIdNullArgumentException-storeIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPriceEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPriceEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true}
-