Interface ConfigurationOrderIntegrationFacade
-
- All Known Implementing Classes:
ConfigurationOrderIntegrationFacadeImpl
,DefaultConfigurationOrderIntegrationFacade
public interface ConfigurationOrderIntegrationFacade
Facade for integration of order objects with ProductConfiguration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigurationOverviewData
getConfiguration(java.lang.String code, int entryNumber)
Retrieves ConfigurationOverviewData object for order entry identified by code and entry number.boolean
isReorderable(java.lang.String orderCode)
Checks for each item of the order, whether it can be re-ordered or not.
-
-
-
Method Detail
-
getConfiguration
ConfigurationOverviewData getConfiguration(java.lang.String code, int entryNumber)
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
boolean isReorderable(java.lang.String orderCode)
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
-code
of the source order- Returns:
true
, only if the whole order can be re-ordered including all order items
-
-