org.zeroexchange.dao.resource
Interface SupplyDAO

All Superinterfaces:
DAO<Integer,Supply>, IntegerPKDAO<Supply>, ResourceTenderDAO<Supply>
All Known Implementing Classes:
SupplyDAOImpl

public interface SupplyDAO
extends ResourceTenderDAO<Supply>

Author:
black

Method Summary
 BigDecimal getAverageSoldPrice()
          Returns average price of sold products.
 SlicingDataSet<Supply> getSupplies(Resource resource, Integer excludedUserId)
          Returns set of the resource tenders.
 
Methods inherited from interface org.zeroexchange.dao.resource.ResourceTenderDAO
getFirstAcceptedTender, getFirstAcceptedTender, getTotalTenders, getUserTender, getVisitedTendersCount, isUserHasTender, remove
 
Methods inherited from interface org.zeroexchange.dao.DAO
getById, removeById, save
 

Method Detail

getSupplies

SlicingDataSet<Supply> getSupplies(Resource resource,
                                   Integer excludedUserId)
Returns set of the resource tenders.


getAverageSoldPrice

BigDecimal getAverageSoldPrice()
Returns average price of sold products.



Copyright © 2013. All Rights Reserved.