Class DefaultSAPS4OMAvailabilityService

java.lang.Object
de.hybris.platform.sap.saps4omservices.services.impl.DefaultSAPS4OMAvailabilityService
All Implemented Interfaces:
SAPS4OMAvailabilityService

public class DefaultSAPS4OMAvailabilityService extends Object implements SAPS4OMAvailabilityService
Implementation for the Availability service.
  • Constructor Details

    • DefaultSAPS4OMAvailabilityService

      public DefaultSAPS4OMAvailabilityService()
  • Method Details

    • getProductAvailability

      public SapS4OMProductAvailability getProductAvailability(ProductModel productModel, BaseStoreModel baseStore) throws OutboundServiceException
      Description copied from interface: SAPS4OMAvailabilityService
      Get the SapS4OMProductAvailability (contains stock , future stock details) for the product and the given basestore
      Specified by:
      getProductAvailability in interface SAPS4OMAvailabilityService
      Parameters:
      productModel - the ProductModel
      baseStore - the baseStoreModel
      Returns:
      SapS4OMProductAvailability for the corresponding product and warehouse.
      Throws:
      OutboundServiceException
    • removeProductAvailabilityFromCache

      public void removeProductAvailabilityFromCache(ProductModel productModel) throws OutboundServiceException
      Description copied from interface: SAPS4OMAvailabilityService
      Removes SapS4OMProductAvailability from Cache for given product
      Specified by:
      removeProductAvailabilityFromCache in interface SAPS4OMAvailabilityService
      Parameters:
      productModel - product
      Throws:
      OutboundServiceException
    • getCurrentCustomerID

      protected String 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

      public SapS4SalesOrderSimulationService getSapS4SalesOrderSimulationService()
    • setSapS4SalesOrderSimulationService

      public void setSapS4SalesOrderSimulationService(SapS4SalesOrderSimulationService sapS4SalesOrderSimulationService)
    • getSapS4OMProductAvailabilityCache

      public SapS4OMProductAvailabilityCache getSapS4OMProductAvailabilityCache()
    • setSapS4OMProductAvailabilityCache

      public void setSapS4OMProductAvailabilityCache(SapS4OMProductAvailabilityCache sapS4OMProductAvailabilityCache)