Class DefaultSAPS4OMAvailabilityService
java.lang.Object
de.hybris.platform.sap.saps4omservices.services.impl.DefaultSAPS4OMAvailabilityService
- All Implemented Interfaces:
SAPS4OMAvailabilityService
Implementation for the Availability service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.b2b.services.B2BUnitServiceprotected de.hybris.platform.store.services.BaseStoreServiceprotected StringgetProductAvailability(ProductModel productModel, BaseStoreModel baseStore) Get the SapS4OMProductAvailability (contains stock , future stock details) for the product and the given basestoreprotected de.hybris.platform.servicelayer.user.UserServicevoidremoveProductAvailabilityFromCache(ProductModel productModel) Removes SapS4OMProductAvailability from Cache for given productvoidsetB2bUnitService(de.hybris.platform.b2b.services.B2BUnitService b2bUnitService) voidsetBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) voidsetSapS4OMProductAvailabilityCache(SapS4OMProductAvailabilityCache sapS4OMProductAvailabilityCache) voidsetSapS4SalesOrderSimulationService(SapS4SalesOrderSimulationService sapS4SalesOrderSimulationService) voidsetUserService(de.hybris.platform.servicelayer.user.UserService userService)
-
Constructor Details
-
DefaultSAPS4OMAvailabilityService
public DefaultSAPS4OMAvailabilityService()
-
-
Method Details
-
getProductAvailability
public SapS4OMProductAvailability getProductAvailability(ProductModel productModel, BaseStoreModel baseStore) throws OutboundServiceException Description copied from interface:SAPS4OMAvailabilityServiceGet the SapS4OMProductAvailability (contains stock , future stock details) for the product and the given basestore- Specified by:
getProductAvailabilityin interfaceSAPS4OMAvailabilityService- Parameters:
productModel- the ProductModelbaseStore- the baseStoreModel- Returns:
- SapS4OMProductAvailability for the corresponding product and warehouse.
- Throws:
OutboundServiceException
-
removeProductAvailabilityFromCache
public void removeProductAvailabilityFromCache(ProductModel productModel) throws OutboundServiceException Description copied from interface:SAPS4OMAvailabilityServiceRemoves SapS4OMProductAvailability from Cache for given product- Specified by:
removeProductAvailabilityFromCachein interfaceSAPS4OMAvailabilityService- Parameters:
productModel- product- Throws:
OutboundServiceException
-
getCurrentCustomerID
-
getBaseStoreService
protected de.hybris.platform.store.services.BaseStoreService getBaseStoreService() -
setBaseStoreService
public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) -
getUserService
protected de.hybris.platform.servicelayer.user.UserService getUserService() -
setUserService
public void setUserService(de.hybris.platform.servicelayer.user.UserService userService) -
getB2bUnitService
protected de.hybris.platform.b2b.services.B2BUnitService getB2bUnitService() -
setB2bUnitService
public void setB2bUnitService(de.hybris.platform.b2b.services.B2BUnitService b2bUnitService) -
getSapS4SalesOrderSimulationService
-
setSapS4SalesOrderSimulationService
public void setSapS4SalesOrderSimulationService(SapS4SalesOrderSimulationService sapS4SalesOrderSimulationService) -
getSapS4OMProductAvailabilityCache
-
setSapS4OMProductAvailabilityCache
public void setSapS4OMProductAvailabilityCache(SapS4OMProductAvailabilityCache sapS4OMProductAvailabilityCache)
-