public class BasicInventoryDaoImpl extends Object implements BasicInventoryDao
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected org.broadleafcommerce.common.persistence.EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
BasicInventoryDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
readInventory(Long skuId)
Reads an inventory value by the id of the sku.
|
Map<Long,Integer> |
readInventory(Set<Long> skuIds)
Reads a number of inventory values by ids of skus.
|
protected javax.persistence.EntityManager em
protected org.broadleafcommerce.common.persistence.EntityConfiguration entityConfiguration
public int readInventory(Long skuId)
BasicInventoryDaoreadInventory in interface BasicInventoryDaopublic Map<Long,Integer> readInventory(Set<Long> skuIds)
BasicInventoryDaoreadInventory in interface BasicInventoryDaoCopyright © 2014. All rights reserved.