org.squashtest.csp.tm.internal.repository.hibernate
Class HibernateProjectDao
java.lang.Object
org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao<Project>
org.squashtest.csp.tm.internal.repository.hibernate.HibernateProjectDao
- All Implemented Interfaces:
- EntityDao<Project>, ProjectDao
@Repository
public class HibernateProjectDao
- extends HibernateEntityDao<Project>
- implements ProjectDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateProjectDao
public HibernateProjectDao()
findAllOrderedByName
public List<Project> findAllOrderedByName()
- Specified by:
findAllOrderedByName in interface ProjectDao
findSortedProjects
@PostFilter(value="hasPermission(filterObject, \'MANAGEMENT\') or hasRole(\'ROLE_ADMIN\')")
public List<Project> findSortedProjects(CollectionSorting filter)
- Specified by:
findSortedProjects in interface ProjectDao
countProjects
public long countProjects()
- Specified by:
countProjects in interface ProjectDao
countNonFoldersInProject
public long countNonFoldersInProject(long projectId)
- Specified by:
countNonFoldersInProject in interface ProjectDao
findProjectFiltersContainingProject
public List<ProjectFilter> findProjectFiltersContainingProject(Long projectId)
- Specified by:
findProjectFiltersContainingProject in interface ProjectDao
findBoundTestAutomationProjects
public List<TestAutomationProject> findBoundTestAutomationProjects(long id)
- Specified by:
findBoundTestAutomationProjects in interface ProjectDao
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.