org.zeroexchange.dao.collaboration
Interface BusinessQualityDAO

All Superinterfaces:
AssessmentDAO<BusinessQuality>, DAO<Integer,BusinessQuality>, IntegerPKDAO<BusinessQuality>
All Known Implementing Classes:
BusinessQualityDAOImpl

public interface BusinessQualityDAO
extends AssessmentDAO<BusinessQuality>

Author:
black

Method Summary
 BigDecimal getAvarageAssessment(Integer userId)
          Returns average assessment of the specified user.
 BigDecimal getPartnersCount(Integer userId)
          Returns unique partners count.
 long getPartnersDealsNumber(Integer supplierId, Integer evaluatorId)
          Returns partners deals number.
 BigDecimal getTotalEffectiveSum(Integer userId)
          Returns user's effective qualities sum.
 
Methods inherited from interface org.zeroexchange.dao.DAO
getById, removeById, save
 

Method Detail

getAvarageAssessment

BigDecimal getAvarageAssessment(Integer userId)
Returns average assessment of the specified user.


getPartnersDealsNumber

long getPartnersDealsNumber(Integer supplierId,
                            Integer evaluatorId)
Returns partners deals number.


getTotalEffectiveSum

BigDecimal getTotalEffectiveSum(Integer userId)
Returns user's effective qualities sum.


getPartnersCount

BigDecimal getPartnersCount(Integer userId)
Returns unique partners count.



Copyright © 2013. All Rights Reserved.