org.squashtest.tm.service.internal.repository.hibernate
Class HibernateBugTrackerDao
java.lang.Object
org.squashtest.tm.service.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
org.squashtest.tm.service.internal.repository.hibernate.HibernateEntityDao<org.squashtest.csp.core.bugtracker.domain.BugTracker>
org.squashtest.tm.service.internal.repository.hibernate.HibernateBugTrackerDao
- All Implemented Interfaces:
- BugTrackerDao, EntityDao<org.squashtest.csp.core.bugtracker.domain.BugTracker>, GenericDao<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 org.squashtest.tm.service.internal.repository.hibernate.HibernateEntityDao |
collectFromMapList, collectFromMapList, collectFromMapListToSet, collectFromMapListToSet, findAll, findAllByIds, findById, findDescendantIds, findSorted, findSorted, getIdPropertyName |
| Methods inherited from class org.squashtest.tm.service.internal.repository.hibernate.HibernateDao |
clearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntity |
| 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(org.squashtest.tm.core.foundation.collection.PagingAndSorting 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;
findByName
public org.squashtest.csp.core.bugtracker.domain.BugTracker findByName(String bugtrackerName)
- Description copied from interface:
BugTrackerDao
- Given its name, returns a bugtracker
- Specified by:
findByName in interface BugTrackerDao
- Returns:
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.