org.zeroexchange.dao.collaboration
Class BusinessQualityDAOImpl
java.lang.Object
org.zeroexchange.dao.HibernateSessionHolder
org.zeroexchange.dao.BaseHibernateDAO<Integer,T>
org.zeroexchange.dao.BaseIntegerPKDAO<T>
org.zeroexchange.dao.collaboration.AssessmentDAOImpl<BusinessQuality>
org.zeroexchange.dao.collaboration.BusinessQualityDAOImpl
- All Implemented Interfaces:
- AssessmentDAO<BusinessQuality>, BusinessQualityDAO, DAO<Integer,BusinessQuality>, IntegerPKDAO<BusinessQuality>
public class BusinessQualityDAOImpl
- extends AssessmentDAOImpl<BusinessQuality>
- implements BusinessQualityDAO
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BusinessQualityDAOImpl
public BusinessQualityDAOImpl()
getEntityClass
protected Class<BusinessQuality> getEntityClass()
- Specified by:
getEntityClass
in class BaseHibernateDAO<Integer,BusinessQuality>
getAvarageAssessment
public BigDecimal getAvarageAssessment(Integer userId)
- Returns average assessment of the specified user.
- Specified by:
getAvarageAssessment
in interface BusinessQualityDAO
getPartnersDealsNumber
public long getPartnersDealsNumber(Integer supplierId,
Integer evaluatorId)
- Returns partners deals number.
- Specified by:
getPartnersDealsNumber
in interface BusinessQualityDAO
getTotalEffectiveSum
public BigDecimal getTotalEffectiveSum(Integer userId)
- Returns user's effective qualities sum.
- Specified by:
getTotalEffectiveSum
in interface BusinessQualityDAO
getPartnersCount
public BigDecimal getPartnersCount(Integer userId)
- Returns unique partners count.
- Specified by:
getPartnersCount
in interface BusinessQualityDAO
Copyright © 2013. All Rights Reserved.