com.elasticpath.cmweb.ajaxservice.impl
Class InventoryAjaxServiceImpl
java.lang.Object
com.elasticpath.service.impl.AbstractEpServiceImpl
com.elasticpath.cmweb.ajaxservice.impl.InventoryAjaxServiceImpl
- All Implemented Interfaces:
- InventoryAjaxService, EpService
public class InventoryAjaxServiceImpl
- extends AbstractEpServiceImpl
- implements InventoryAjaxService
This service provides access to functionality and data (beans) for manipulating order on the Javascript client.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InventoryAjaxServiceImpl
public InventoryAjaxServiceImpl()
adjustInventoryBySkuCode
public java.lang.String adjustInventoryBySkuCode(java.lang.String skuCode,
InventoryAudit inventoryAudit,
javax.servlet.http.HttpServletRequest request)
- Specified by:
adjustInventoryBySkuCode
in interface InventoryAjaxService
- Parameters:
skuCode
- the code of the ProductSku
to adjust inventory oninventoryAudit
- the audit for this inventory adjustmentrequest
- the current request
- Returns:
- an error message on failure or an empty string on success
setInventoryAuditService
public void setInventoryAuditService(InventoryAuditService inventoryAuditService)
- Specified by:
setInventoryAuditService
in interface InventoryAjaxService
- Parameters:
inventoryAuditService
- the inventoryAuditService to set
setInventoryService
public void setInventoryService(InventoryService inventoryService)
- Specified by:
setInventoryService
in interface InventoryAjaxService
- Parameters:
inventoryService
- the inventoryService to set
setProductService
public void setProductService(ProductService productService)
- Parameters:
productService
- the productService to set
setProductSkuService
public void setProductSkuService(ProductSkuService productSkuService)
- Specified by:
setProductSkuService
in interface InventoryAjaxService
- Parameters:
productSkuService
- the productSkuService to set
setRequestHelper
public void setRequestHelper(RequestHelper requestHelper)
- Specified by:
setRequestHelper
in interface InventoryAjaxService
- Parameters:
requestHelper
- the requestHelper to set