org.squashtest.csp.tm.internal.repository.hibernate
Class HibernateBugTrackerDao
java.lang.Object
org.squashtest.csp.tm.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
org.squashtest.csp.tm.internal.repository.hibernate.HibernateEntityDao<org.squashtest.csp.core.bugtracker.domain.BugTracker>
org.squashtest.csp.tm.internal.repository.hibernate.HibernateBugTrackerDao
- All Implemented Interfaces:
- BugTrackerDao, EntityDao<org.squashtest.csp.core.bugtracker.domain.BugTracker>
@Repository
public class HibernateBugTrackerDao
- extends HibernateEntityDao<org.squashtest.csp.core.bugtracker.domain.BugTracker>
- implements BugTrackerDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateBugTrackerDao
public HibernateBugTrackerDao()
findSortedBugTrackers
public List<org.squashtest.csp.core.bugtracker.domain.BugTracker> findSortedBugTrackers(CollectionSorting filter)
- Specified by:
findSortedBugTrackers in interface BugTrackerDao
- Returns:
- a page of bugtrackers according to the filter
- See Also:
BugTrackerEntityDao#findSortedBugTrackers(String)
countBugTrackers
public long countBugTrackers()
- Specified by:
countBugTrackers in interface BugTrackerDao
- Returns:
- number of all bugtrackers in squash database
- See Also:
BugTrackerDao#countBugTrackers(String)
checkNameAvailability
public void checkNameAvailability(String name)
- Description copied from interface:
BugTrackerDao
- checks if there is a Bugtracker of the same name in the database.
If so, raises a BugTrackerNameAlreadyExistsException
- Specified by:
checkNameAvailability in interface BugTrackerDao
- See Also:
BugTrackerDao.checkNameAvailability(String)
findDistinctBugTrackersForProjects
public List<org.squashtest.csp.core.bugtracker.domain.BugTracker> findDistinctBugTrackersForProjects(List<Long> projectIds)
- Specified by:
findDistinctBugTrackersForProjects in interface BugTrackerDao
- Returns:
- the list of distinct BugTrackers concerned by the given projects;
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.