org.broadleafcommerce.core.inventory.dao
Class AvailabilityDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.common.util.dao.BatchRetrieveDao
      extended by org.broadleafcommerce.core.inventory.dao.AvailabilityDaoImpl
All Implemented Interfaces:
AvailabilityDao

Deprecated. This is no longer required and is instead implemented as a third-party inventory module

@Deprecated
@Repository(value="blAvailabilityDao")
public class AvailabilityDaoImpl
extends BatchRetrieveDao
implements AvailabilityDao


Field Summary
protected  javax.persistence.EntityManager em
          Deprecated.  
 
Constructor Summary
AvailabilityDaoImpl()
          Deprecated.  
 
Method Summary
 List<SkuAvailability> readSKUAvailability(List<Long> skuIds, boolean realTime)
          Deprecated. Returns a SKU Availability record for the passed in skuId.
 List<SkuAvailability> readSKUAvailabilityForLocation(List<Long> skuIds, Long locationId, boolean realTime)
          Deprecated. Returns a SKU Availability record for the passed in skuId and locationId.
 void save(SkuAvailability skuAvailability)
          Deprecated.  
 
Methods inherited from class org.broadleafcommerce.common.util.dao.BatchRetrieveDao
batchExecuteReadQuery, getInClauseBatchSize, setInClauseBatchSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

em

protected javax.persistence.EntityManager em
Deprecated. 
Constructor Detail

AvailabilityDaoImpl

public AvailabilityDaoImpl()
Deprecated. 
Method Detail

readSKUAvailability

public List<SkuAvailability> readSKUAvailability(List<Long> skuIds,
                                                 boolean realTime)
Deprecated. 
Description copied from interface: AvailabilityDao
Returns a SKU Availability record for the passed in skuId. Uses a cacheable query unless the realTime flag is set to true.

Specified by:
readSKUAvailability in interface AvailabilityDao
Returns:

readSKUAvailabilityForLocation

public List<SkuAvailability> readSKUAvailabilityForLocation(List<Long> skuIds,
                                                            Long locationId,
                                                            boolean realTime)
Deprecated. 
Description copied from interface: AvailabilityDao
Returns a SKU Availability record for the passed in skuId and locationId. Uses a cacheable query unless the realTime flag is set to true.

Specified by:
readSKUAvailabilityForLocation in interface AvailabilityDao
Returns:

save

public void save(SkuAvailability skuAvailability)
Deprecated. 
Specified by:
save in interface AvailabilityDao


Copyright © 2013. All Rights Reserved.