Interface ConfigurationOrderIntegrationFacade
- All Known Implementing Classes:
ConfigurationOrderIntegrationFacadeImpl
public interface ConfigurationOrderIntegrationFacade
Facade for integration of order objects with ProductConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration(String code, int entryNumber) Retrieves ConfigurationOverviewData object for order entry identified by code and entry number.booleanisReorderable(String orderCode) Checks for each item of the order, whether it can be re-ordered or not.
-
Method Details
-
getConfiguration
Retrieves ConfigurationOverviewData object for order entry identified by code and entry number.- Parameters:
code- code of the order objectentryNumber- entry number- Returns:
- ConfigurationOverviewData object
-
isReorderable
Checks for each item of the order, whether it can be re-ordered or not. Only if all items are re-orderable aso the whole order is considered re-orderable.
In case an item is configurable, it is checked whether the Knowledgebase (KB) version that was used to created the items current configuration state, as persistet in the external configuration, is still know to the configuration engine, so it can be guranteed that the exact same configuration can be recreated on re-order.- Parameters:
orderCode-codeof the source order- Returns:
true, only if the whole order can be re-ordered including all order items
-