org.squashtest.csp.tm.internal.repository.hibernate
Class HibernateProjectDao

java.lang.Object
  extended by org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
      extended by org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao<Project>
          extended by org.squashtest.csp.tm.internal.repository.hibernate.HibernateProjectDao
All Implemented Interfaces:
EntityDao<Project>, ProjectDao

@Repository
public class HibernateProjectDao
extends HibernateEntityDao<Project>
implements ProjectDao


Field Summary
 
Fields inherited from class org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao
entityType
 
Constructor Summary
HibernateProjectDao()
           
 
Method Summary
 long countProjects()
           
 List<Project> findAll()
           
 List<Project> findByIdList(Collection<Long> list)
           
 List<Project> findSortedProjects(CollectionSorting filter)
           
 
Methods inherited from class org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao
findAllByIdList, findById, flush, getIdPropertyName, persist, persist, remove
 
Methods inherited from class org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao
currentSession, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, getEntity, persistEntity, removeEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.squashtest.csp.tm.internal.repository.EntityDao
findAllByIdList, findById, flush, persist, persist, remove
 

Constructor Detail

HibernateProjectDao

public HibernateProjectDao()
Method Detail

findAll

public List<Project> findAll()
Specified by:
findAll in interface ProjectDao

findSortedProjects

public List<Project> findSortedProjects(CollectionSorting filter)
Specified by:
findSortedProjects in interface ProjectDao

countProjects

public long countProjects()
Specified by:
countProjects in interface ProjectDao

findByIdList

public List<Project> findByIdList(Collection<Long> list)
Specified by:
findByIdList in interface ProjectDao


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.