Class SapPricingBackendERP
- java.lang.Object
-
- de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
-
- de.hybris.platform.sap.core.bol.backend.jco.BackendBusinessObjectBaseJCo
-
- de.hybris.platform.sap.sappricingbol.backend.impl.SapPricingBackendERP
-
- All Implemented Interfaces:
BackendBusinessObject,BackendBusinessObjectJCo,SapPricingBackend
public class SapPricingBackendERP extends BackendBusinessObjectBaseJCo implements SapPricingBackend
determine Sap Pricing Backend on ERP
-
-
Field Summary
Fields Modifier and Type Field Description protected JCoManagedConnectionFactorymanagedConnectionFactory-
Fields inherited from class de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
genericFactory, moduleConfigurationAccess
-
-
Constructor Summary
Constructors Constructor Description SapPricingBackendERP()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcloseConnection(JCoConnection connection)SapPricingCachedBackendERPgetCacheAccess()SapPricingMappergetPricingMapper()protected voidlogMesages(com.sap.conn.jco.JCoTable etMessage)java.util.List<PriceInformation>readPriceInformationForProducts(java.util.List<ProductModel> productModels, SapPricingPartnerFunction partnerFunction, ConversionService conversionService)voidreadPricesForCart(AbstractOrderModel order, SapPricingPartnerFunction partnerFunction, ConversionService conversionService)voidsetCacheAccess(SapPricingCachedBackendERP cacheAccess)voidsetManagedConnectionFactory(JCoManagedConnectionFactory managedConnectionFactory)voidsetPricingMapper(SapPricingMapper pricingMapper)-
Methods inherited from class de.hybris.platform.sap.core.bol.backend.jco.BackendBusinessObjectBaseJCo
getDefaultConnectionName, getDefaultDestinationName, getDefaultJCoConnection, getJCoConnection, getJCoConnection, getModuleId, setDefaultConnectionName, setDefaultDestinationName, setManagedConnectionContainer, toString
-
Methods inherited from class de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
destroyBackendObject, getModuleConfigurationAccess, initBackendObject, setGenericFactory, setModuleConfigurationAccess
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.sap.core.bol.backend.BackendBusinessObject
destroyBackendObject, initBackendObject
-
-
-
-
Field Detail
-
managedConnectionFactory
protected JCoManagedConnectionFactory managedConnectionFactory
-
-
Method Detail
-
readPriceInformationForProducts
public java.util.List<PriceInformation> readPriceInformationForProducts(java.util.List<ProductModel> productModels, SapPricingPartnerFunction partnerFunction, ConversionService conversionService) throws BackendException
- Specified by:
readPriceInformationForProductsin interfaceSapPricingBackendconversionService- TODO- Returns:
- List
- Throws:
BackendException
-
readPricesForCart
public void readPricesForCart(AbstractOrderModel order, SapPricingPartnerFunction partnerFunction, ConversionService conversionService) throws BackendException, CommunicationException
- Specified by:
readPricesForCartin interfaceSapPricingBackendconversionService- TODO- Throws:
BackendExceptionCommunicationException
-
closeConnection
protected void closeConnection(JCoConnection connection)
-
logMesages
protected void logMesages(com.sap.conn.jco.JCoTable etMessage)
-
getCacheAccess
public SapPricingCachedBackendERP getCacheAccess()
- Returns:
- CacheAccess
-
setCacheAccess
public void setCacheAccess(SapPricingCachedBackendERP cacheAccess)
- Parameters:
cacheAccess-
-
setManagedConnectionFactory
public void setManagedConnectionFactory(JCoManagedConnectionFactory managedConnectionFactory)
-
getPricingMapper
public SapPricingMapper getPricingMapper()
- Returns:
- SapPricingMapper
-
setPricingMapper
public void setPricingMapper(SapPricingMapper pricingMapper)
- Parameters:
pricingMapper-
-
-