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 java.lang.Object implements de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacadeDefault implementation ofConfigurationOrderIntegrationFacadefor synchronous order management
-
-
Constructor Summary
Constructors Constructor Description DefaultConfigurationOrderIntegrationFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidenrichConfigurationFromItem(de.hybris.platform.sap.productconfig.runtime.interf.external.Configuration productConfigurationExternal, CPQItem item)protected de.hybris.platform.store.services.BaseStoreServicegetBaseStoreService()protected de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModelgetConfiguration(Item item)ConfigurationOverviewDatagetConfiguration(java.lang.String code, int entryNumber)protected OrderServicegetOrderService()protected de.hybris.platform.sap.productconfig.services.intf.ProductConfigurationServicegetProductConfigurationService()protected de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacadegetSapProductConfigCartIntegrationFacade()booleanisReorderable(java.lang.String orderCode)Method to check if order with code is re-orderableprotected booleanisSapOrderMgmtEnabled()Check 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)
-
-
-
Method Detail
-
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
protected OrderService getOrderService()
-
getConfiguration
public ConfigurationOverviewData getConfiguration(java.lang.String code, int entryNumber)
- 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
public void setOrderService(OrderService orderService)
- 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
public boolean isReorderable(java.lang.String orderCode)
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
-
-