com.elasticpath.cmweb.ajaxservice
Interface InventoryAjaxService

All Superinterfaces:
EpService
All Known Implementing Classes:
InventoryAjaxServiceImpl

public interface InventoryAjaxService
extends EpService

This service provides access to functionality and data (beans) for manipulating order on the Javascript client.


Method Summary
 java.lang.String adjustInventoryBySkuCode(java.lang.String skuCode, InventoryAudit inventoryAudit, javax.servlet.http.HttpServletRequest request)
           
 void setInventoryAuditService(InventoryAuditService inventoryAuditService)
           
 void setInventoryService(InventoryService inventoryService)
           
 void setProductSkuService(ProductSkuService productSkuService)
           
 void setRequestHelper(RequestHelper requestHelper)
           
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 

Method Detail

adjustInventoryBySkuCode

java.lang.String adjustInventoryBySkuCode(java.lang.String skuCode,
                                          InventoryAudit inventoryAudit,
                                          javax.servlet.http.HttpServletRequest request)
Parameters:
skuCode - the code of the ProductSku to adjust inventory on
inventoryAudit - the audit for this inventory adjustment
request - the current request
Returns:
an error message on failure or an empty string on success

setInventoryAuditService

void setInventoryAuditService(InventoryAuditService inventoryAuditService)
Parameters:
inventoryAuditService - the inventoryAuditService to set

setInventoryService

void setInventoryService(InventoryService inventoryService)
Parameters:
inventoryService - the inventoryService to set

setProductSkuService

void setProductSkuService(ProductSkuService productSkuService)
Parameters:
productSkuService - the productSkuService to set

setRequestHelper

void setRequestHelper(RequestHelper requestHelper)
Parameters:
requestHelper - the requestHelper to set