|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InventoryService
Provides inventory-related services.
Method Summary | |
---|---|
Inventory |
get(long inventoryUid)
Get the inventory with the given UID. |
void |
saveOrUpdate(Inventory inventory)
Save or update the given inventory item. |
void |
update(Inventory inventory)
Save or update the given inventory item. |
void |
updateBySkuCode(java.lang.String skuCode,
Inventory inventory)
Save or update the given inventory item with the given skuCode. |
Methods inherited from interface com.elasticpath.service.EpPersistenceService |
---|
getObject, getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
Inventory get(long inventoryUid) throws EpServiceException
inventoryUid
- the order UID
EpServiceException
- - in case of any errorsvoid saveOrUpdate(Inventory inventory) throws EpServiceException
inventory
- the inventory to save or update
EpServiceException
- - in case of any errorsvoid update(Inventory inventory) throws EpServiceException
inventory
- the inventory to save or update
EpServiceException
- - in case of any errorsvoid updateBySkuCode(java.lang.String skuCode, Inventory inventory) throws EpServiceException
skuCode
- the sku code of inventory to save or updateinventory
- the inventory to save or update
EpServiceException
- - in case of any errors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |