org.squashtest.tm.service.internal.testcase
Class TestCaseStatisticsServiceImpl

java.lang.Object
  extended by org.squashtest.tm.service.internal.testcase.TestCaseStatisticsServiceImpl
All Implemented Interfaces:
TestCaseStatisticsService

@Service(value="TestCaseStatisticsService")
@Transactional(readOnly=true)
public class TestCaseStatisticsServiceImpl
extends Object
implements TestCaseStatisticsService


Constructor Summary
TestCaseStatisticsServiceImpl()
           
 
Method Summary
 TestCaseBoundRequirementsStatistics gatherBoundRequirementStatistics(Collection<Long> testCaseIds)
          Given those test case ids, returns how many of them are bound to requirements and how many aren't.
 TestCaseImportanceStatistics gatherTestCaseImportanceStatistics(Collection<Long> testCaseIds)
          Given those test case ids, sorts them by importance and returns how many of each were found.
 TestCaseSizeStatistics gatherTestCaseSizeStatistics(Collection<Long> testCaseIds)
          Given those test case ids, sort them number of steps aggregated by slices of 10 (0, 0 < x <= 10, 10 < x <=20, 20 < x), then returns how many of each.
 TestCaseStatisticsBundle gatherTestCaseStatisticsBundle(Collection<Long> testCaseIds)
          Returns all of the above bundled in one bean.
 TestCaseStatusesStatistics gatherTestCaseStatusesStatistics(Collection<Long> testCaseIds)
          Given those test case ids, sort them by status and returns how many of each were found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCaseStatisticsServiceImpl

public TestCaseStatisticsServiceImpl()
Method Detail

gatherBoundRequirementStatistics

public TestCaseBoundRequirementsStatistics gatherBoundRequirementStatistics(Collection<Long> testCaseIds)
Description copied from interface: TestCaseStatisticsService
Given those test case ids, returns how many of them are bound to requirements and how many aren't. Warning : no security check will be performed and the data will be returned regardless of who requested it.

Specified by:
gatherBoundRequirementStatistics in interface TestCaseStatisticsService
Returns:

gatherTestCaseImportanceStatistics

public TestCaseImportanceStatistics gatherTestCaseImportanceStatistics(Collection<Long> testCaseIds)
Description copied from interface: TestCaseStatisticsService
Given those test case ids, sorts them by importance and returns how many of each were found. Warning : no security check will be performed and the data will be returned regardless of who requested it.

Specified by:
gatherTestCaseImportanceStatistics in interface TestCaseStatisticsService
Returns:

gatherTestCaseStatusesStatistics

public TestCaseStatusesStatistics gatherTestCaseStatusesStatistics(Collection<Long> testCaseIds)
Description copied from interface: TestCaseStatisticsService
Given those test case ids, sort them by status and returns how many of each were found. Warning : no security check will be performed and the data will be returned regardless of who requested it.

Specified by:
gatherTestCaseStatusesStatistics in interface TestCaseStatisticsService
Returns:

gatherTestCaseSizeStatistics

public TestCaseSizeStatistics gatherTestCaseSizeStatistics(Collection<Long> testCaseIds)
Description copied from interface: TestCaseStatisticsService
Given those test case ids, sort them number of steps aggregated by slices of 10 (0, 0 < x <= 10, 10 < x <=20, 20 < x), then returns how many of each. Warning : no security check will be performed and the data will be returned regardless of who requested it.

Specified by:
gatherTestCaseSizeStatistics in interface TestCaseStatisticsService
Returns:

gatherTestCaseStatisticsBundle

public TestCaseStatisticsBundle gatherTestCaseStatisticsBundle(Collection<Long> testCaseIds)
Description copied from interface: TestCaseStatisticsService
Returns all of the above bundled in one bean.

Specified by:
gatherTestCaseStatisticsBundle in interface TestCaseStatisticsService
Returns:


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