org.squashtest.csp.tm.internal.repository
Interface BugTrackerDao

All Superinterfaces:
EntityDao<org.squashtest.csp.core.bugtracker.domain.BugTracker>
All Known Implementing Classes:
HibernateBugTrackerDao

public interface BugTrackerDao
extends EntityDao<org.squashtest.csp.core.bugtracker.domain.BugTracker>


Method Summary
 void checkNameAvailability(String name)
          checks if there is a Bugtracker of the same name in the database.
 long countBugTrackers()
           
 List<org.squashtest.csp.core.bugtracker.domain.BugTracker> findDistinctBugTrackersForProjects(List<Long> projectIds)
           
 List<org.squashtest.csp.core.bugtracker.domain.BugTracker> findSortedBugTrackers(CollectionSorting filter)
           
 
Methods inherited from interface org.squashtest.csp.tm.internal.repository.EntityDao
findAll, findAllByIds, findById, flush, persist, persist, remove
 

Method Detail

countBugTrackers

long countBugTrackers()
Returns:
number of all bugtrackers in squash database

findSortedBugTrackers

List<org.squashtest.csp.core.bugtracker.domain.BugTracker> findSortedBugTrackers(CollectionSorting filter)
Parameters:
filter -
Returns:
a page of bugtrackers according to the filter

checkNameAvailability

void checkNameAvailability(String name)
checks if there is a Bugtracker of the same name in the database.
If so, raises a BugTrackerNameAlreadyExistsException

Parameters:
name -

findDistinctBugTrackersForProjects

List<org.squashtest.csp.core.bugtracker.domain.BugTracker> findDistinctBugTrackersForProjects(List<Long> projectIds)
Parameters:
projectIds -
Returns:
the list of distinct BugTrackers concerned by the given projects;


Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.