org.zeroexchange.dao.resource
Class NeedDAOImpl

java.lang.Object
  extended by org.zeroexchange.dao.HibernateSessionHolder
      extended by org.zeroexchange.dao.BaseHibernateDAO<Integer,T>
          extended by org.zeroexchange.dao.BaseIntegerPKDAO<T>
              extended by org.zeroexchange.dao.resource.ResourceTenderDAOImpl<Need>
                  extended by org.zeroexchange.dao.resource.NeedDAOImpl
All Implemented Interfaces:
DAO<Integer,Need>, IntegerPKDAO<Need>, NeedDAO, ResourceTenderDAO<Need>

public class NeedDAOImpl
extends ResourceTenderDAOImpl<Need>
implements NeedDAO

Author:
black

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zeroexchange.dao.resource.ResourceTenderDAOImpl
ResourceTenderDAOImpl.TendersDataSet
 
Constructor Summary
NeedDAOImpl()
           
 
Method Summary
 Class<Need> getEntityClass()
          
 SlicingDataSet<Need> getNeeds(Resource resource, Integer excludedUserId)
          Returns set of the resource tenders.
 
Methods inherited from class org.zeroexchange.dao.resource.ResourceTenderDAOImpl
getFirstAcceptedTender, getFirstAcceptedTender, getTotalTenders, getUserTender, getVisitedTendersCount, isUserHasTender, remove
 
Methods inherited from class org.zeroexchange.dao.BaseHibernateDAO
getById, removeById, save
 
Methods inherited from class org.zeroexchange.dao.HibernateSessionHolder
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

NeedDAOImpl

public NeedDAOImpl()
Method Detail

getEntityClass

public Class<Need> getEntityClass()

Specified by:
getEntityClass in class BaseHibernateDAO<Integer,Need>

getNeeds

public SlicingDataSet<Need> getNeeds(Resource resource,
                                     Integer excludedUserId)
Returns set of the resource tenders.

Specified by:
getNeeds in interface NeedDAO


Copyright © 2013. All Rights Reserved.