Interface ConfigurationOrderIntegrationFacade

All Known Implementing Classes:
ConfigurationOrderIntegrationFacadeImpl

public interface ConfigurationOrderIntegrationFacade
Facade for integration of order objects with ProductConfiguration
  • Method Summary

    Modifier and Type
    Method
    Description
    getConfiguration(String code, int entryNumber)
    Retrieves ConfigurationOverviewData object for order entry identified by code and entry number.
    boolean
    isReorderable(String orderCode)
    Checks for each item of the order, whether it can be re-ordered or not.
  • Method Details

    • getConfiguration

      ConfigurationOverviewData getConfiguration(String code, int entryNumber)
      Retrieves ConfigurationOverviewData object for order entry identified by code and entry number.
      Parameters:
      code - code of the order object
      entryNumber - entry number
      Returns:
      ConfigurationOverviewData object
    • isReorderable

      boolean isReorderable(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