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
determine Sap Pricing Backend on ERP
-
Field Summary
FieldsFields inherited from class de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
genericFactory, moduleConfigurationAccess -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcloseConnection(JCoConnection connection) protected voidlogMesages(com.sap.conn.jco.JCoTable etMessage) List<de.hybris.platform.jalo.order.price.PriceInformation>readPriceInformationForProducts(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, toStringMethods inherited from class de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
destroyBackendObject, getModuleConfigurationAccess, initBackendObject, setGenericFactory, setModuleConfigurationAccessMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.sap.core.bol.backend.BackendBusinessObject
destroyBackendObject, initBackendObject
-
Field Details
-
managedConnectionFactory
-
-
Constructor Details
-
SapPricingBackendERP
public SapPricingBackendERP()
-
-
Method Details
-
readPriceInformationForProducts
public List<de.hybris.platform.jalo.order.price.PriceInformation> readPriceInformationForProducts(List<ProductModel> productModels, SapPricingPartnerFunction partnerFunction, ConversionService conversionService) throws BackendException - Specified by:
readPriceInformationForProductsin interfaceSapPricingBackend- Parameters:
productModels- productspartnerFunction- Partner FunctionconversionService- Conversion Service- Returns:
- List
Price Information List - Throws:
BackendException- Backend Exception
-
readPricesForCart
public void readPricesForCart(AbstractOrderModel order, SapPricingPartnerFunction partnerFunction, ConversionService conversionService) throws BackendException, CommunicationException - Specified by:
readPricesForCartin interfaceSapPricingBackend- Parameters:
order- orderpartnerFunction- Partner FunctionconversionService- Conversion Service- Throws:
BackendException- Backend ExceptionCommunicationException- Communication Exception
-
closeConnection
-
logMesages
protected void logMesages(com.sap.conn.jco.JCoTable etMessage) -
getCacheAccess
- Returns:
- CacheAccess
-
setCacheAccess
- Parameters:
cacheAccess-
-
setManagedConnectionFactory
-
getPricingMapper
- Returns:
- SapPricingMapper
-
setPricingMapper
- Parameters:
pricingMapper-
-