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.ConfigurationOrderIntegrationFacadeDeprecated, for removal: This API element is subject to removal in a future version.protected 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) Deprecated, for removal: This API element is subject to removal in a future version.- use {@link #setSapProductConfigOrderIntegrationFacade(ConfigurationOrderIntegrationFacade))}voidsetSapProductConfigDefaultOrderIntegrationFacade(de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade sapProductConfigDefaultOrderIntegrationFacade)
-
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
@Deprecated(since="22.11", forRemoval=true) protected de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade getSapProductConfigCartIntegrationFacade()Deprecated, for removal: This API element is subject to removal in a future version.- use#getSapProductConfigOrderIntegrationFacade() -
setSapProductConfigCartIntegrationFacade
@Deprecated(since="22.11", forRemoval=true) public void setSapProductConfigCartIntegrationFacade(de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade sapProductConfigCartIntegrationFacade) Deprecated, for removal: This API element is subject to removal in a future version.- use {@link #setSapProductConfigOrderIntegrationFacade(ConfigurationOrderIntegrationFacade))} -
getSapProductConfigDefaultOrderIntegrationFacade
protected de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade getSapProductConfigDefaultOrderIntegrationFacade() -
setSapProductConfigDefaultOrderIntegrationFacade
public void setSapProductConfigDefaultOrderIntegrationFacade(de.hybris.platform.sap.productconfig.facades.ConfigurationOrderIntegrationFacade sapProductConfigDefaultOrderIntegrationFacade) - Parameters:
sapProductConfigOrderIntegrationFacade- the sapProductConfigOrderIntegrationFacade 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
-
#getSapProductConfigOrderIntegrationFacade()