Class DefaultConfigurationOrderIntegrationFacade
java.lang.Object
de.hybris.platform.sap.sapordermgmtcfgfacades.impl.DefaultConfigurationOrderIntegrationFacade
- All Implemented Interfaces:
de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade
public class DefaultConfigurationOrderIntegrationFacade
extends Object
implements de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade
Default implementation of
ConfigurationOrderIntegrationFacade for synchronous order management-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidenrichConfigurationFromItem(de.hybris.platform.sap.productconfig.runtime.interf.external.Configuration productConfigurationExternal, CPQItem item) protected de.hybris.platform.store.services.BaseStoreServiceprotected de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModelgetConfiguration(Item item) getConfiguration(String code, int entryNumber) protected OrderServiceprotected de.hybris.platform.sap.productconfig.services.intf.ProductConfigurationServiceprotected de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacadebooleanisReorderable(String orderCode) Method to check if order with code is re-orderableprotected booleanCheck if synchronous order management SOM is activevoidsetBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) voidsetOrderService(OrderService orderService) voidsetProductConfigurationService(de.hybris.platform.sap.productconfig.services.intf.ProductConfigurationService productConfigurationService) voidsetSapProductConfigCartIntegrationFacade(de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade sapProductConfigCartIntegrationFacade)
-
Constructor Details
-
DefaultConfigurationOrderIntegrationFacade
public DefaultConfigurationOrderIntegrationFacade()
-
-
Method Details
-
setBaseStoreService
public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) - Parameters:
baseStoreService- the baseStoreService to set
-
getSapProductConfigCartIntegrationFacade
protected de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade getSapProductConfigCartIntegrationFacade() -
setSapProductConfigCartIntegrationFacade
public void setSapProductConfigCartIntegrationFacade(de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade sapProductConfigCartIntegrationFacade) - Parameters:
sapProductConfigCartIntegrationFacade- the sapProductConfigCartIntegrationFacade to set
-
getOrderService
-
getConfiguration
- Specified by:
getConfigurationin interfacede.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade
-
getConfiguration
protected de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel getConfiguration(Item item) -
enrichConfigurationFromItem
protected void enrichConfigurationFromItem(de.hybris.platform.sap.productconfig.runtime.interf.external.Configuration productConfigurationExternal, CPQItem item) -
setOrderService
- Parameters:
orderService-
-
isSapOrderMgmtEnabled
protected boolean isSapOrderMgmtEnabled()Check if synchronous order management SOM is active- Returns:
- true is SOM is active
-
getBaseStoreService
protected de.hybris.platform.store.services.BaseStoreService getBaseStoreService() -
isReorderable
Method to check if order with code is re-orderable- Specified by:
isReorderablein interfacede.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade- Parameters:
orderCode- order code- Returns:
- boolean is reorderable
-
getProductConfigurationService
protected de.hybris.platform.sap.productconfig.services.intf.ProductConfigurationService getProductConfigurationService() -
setProductConfigurationService
public void setProductConfigurationService(de.hybris.platform.sap.productconfig.services.intf.ProductConfigurationService productConfigurationService) - Parameters:
productConfigurationService- the productConfigurationService to set
-