com.elasticpath.service.catalog
Interface InventoryAuditService

All Superinterfaces:
EpPersistenceService, EpService
All Known Implementing Classes:
InventoryAuditServiceImpl

public interface InventoryAuditService
extends EpPersistenceService

Provides inventory auditing services.


Method Summary
 java.util.List findByInventoryUid(long inventoryUid)
          Returns a list of InventoryAudit based on the given inventory Uid.
 InventoryAudit get(long inventoryAuditUid)
          Get the InventoryAudit with the given UID.
 void saveOrUpdate(InventoryAudit inventoryAudit)
          Save or update the given InventoryAudit item.
 
Methods inherited from interface com.elasticpath.service.EpPersistenceService
getObject, getPersistenceEngine, setPersistenceEngine
 
Methods inherited from interface com.elasticpath.service.EpService
getElasticPath, setElasticPath
 

Method Detail

findByInventoryUid

java.util.List findByInventoryUid(long inventoryUid)
Returns a list of InventoryAudit based on the given inventory Uid.

Parameters:
inventoryUid - the inventory Uid
Returns:
a list of InventoryAudit

get

InventoryAudit get(long inventoryAuditUid)
Get the InventoryAudit with the given UID. Return null if no matching record exists.

Parameters:
inventoryAuditUid - the UID of the inventory audit
Returns:
the inventory if UID exists, otherwise null

saveOrUpdate

void saveOrUpdate(InventoryAudit inventoryAudit)
                  throws EpServiceException
Save or update the given InventoryAudit item.

Parameters:
inventoryAudit - the InventoryAudit to save or update
Throws:
EpServiceException - - in case of any errors