org.squashtest.tm.service.internal.bugtracker
Class BugTrackerManagerServiceImpl
java.lang.Object
org.squashtest.tm.service.internal.bugtracker.BugTrackerManagerServiceImpl
- All Implemented Interfaces:
- BugTrackerFinderService, BugTrackerManagerService
@Service(value="squashtest.tm.service.BugTrackerManagerService")
public class BugTrackerManagerServiceImpl
- extends Object
- implements BugTrackerManagerService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BugTrackerManagerServiceImpl
public BugTrackerManagerServiceImpl()
addBugTracker
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
public void addBugTracker(org.squashtest.csp.core.bugtracker.domain.BugTracker bugTracker)
- Description copied from interface:
BugTrackerManagerService
- add a new bugtracker in the database
- Specified by:
addBugTracker in interface BugTrackerManagerService
findAll
@PostFilter(value="hasPermission(filterObject, \'READ\') or hasRole(\'ROLE_ADMIN\')")
public List<org.squashtest.csp.core.bugtracker.domain.BugTracker> findAll()
- Specified by:
findAll in interface BugTrackerFinderService
- Returns:
- all bugtrackers the user has read access to
findSortedBugtrackers
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
public org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.csp.core.bugtracker.domain.BugTracker>> findSortedBugtrackers(org.squashtest.tm.core.foundation.collection.PagingAndSorting filter)
- Specified by:
findSortedBugtrackers in interface BugTrackerFinderService
- Returns:
- sorted list of bugtrackers
findBugTrackerKinds
public Set<String> findBugTrackerKinds()
- Specified by:
findBugTrackerKinds in interface BugTrackerFinderService
- Returns:
- a list of bugtracker kinds
findBugtrackerName
public String findBugtrackerName(Long bugtrackerId)
- Specified by:
findBugtrackerName in interface BugTrackerFinderService
- Returns:
- the name of the bugtracker
findById
public org.squashtest.csp.core.bugtracker.domain.BugTracker findById(long bugTrackerId)
- Specified by:
findById in interface BugTrackerFinderService
- Returns:
- the bugTracker of the given id
findDistinctBugTrackersForProjects
public List<org.squashtest.csp.core.bugtracker.domain.BugTracker> findDistinctBugTrackersForProjects(List<Long> projectIds)
- Specified by:
findDistinctBugTrackersForProjects in interface BugTrackerFinderService
- Returns:
- a list of distinct BugTrackers concerned by the given projects;
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.