org.zeroexchange.dao.resource
Class SupplyDAOImpl
java.lang.Object
org.zeroexchange.dao.HibernateSessionHolder
org.zeroexchange.dao.BaseHibernateDAO<Integer,T>
org.zeroexchange.dao.BaseIntegerPKDAO<T>
org.zeroexchange.dao.resource.ResourceTenderDAOImpl<Supply>
org.zeroexchange.dao.resource.SupplyDAOImpl
- All Implemented Interfaces:
- DAO<Integer,Supply>, IntegerPKDAO<Supply>, ResourceTenderDAO<Supply>, SupplyDAO
public class SupplyDAOImpl
- extends ResourceTenderDAOImpl<Supply>
- implements SupplyDAO
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SupplyDAOImpl
public SupplyDAOImpl()
getEntityClass
public Class<Supply> getEntityClass()
-
- Specified by:
getEntityClass
in class BaseHibernateDAO<Integer,Supply>
getAverageSoldPrice
public BigDecimal getAverageSoldPrice()
- Returns average price of sold products.
- Specified by:
getAverageSoldPrice
in interface SupplyDAO
getSupplies
public SlicingDataSet<Supply> getSupplies(Resource resource,
Integer excludedUserId)
- Returns set of the resource tenders.
- Specified by:
getSupplies
in interface SupplyDAO
Copyright © 2013. All Rights Reserved.