org.squashtest.tm.service.internal.repository
Interface CustomDatasetDao

All Known Subinterfaces:
DatasetDao
All Known Implementing Classes:
HibernateDatasetDao

public interface CustomDatasetDao

Author:
flaurens, mpagnon

Method Summary
 List<org.squashtest.tm.domain.testcase.Dataset> findAllDatasetsByTestCase(Long testCaseId)
          Will return all datasets for the given test case.
 List<org.squashtest.tm.domain.testcase.Dataset> findAllDatasetsByTestCases(List<Long> testCaseIds)
          Will return all datasets found for the given test cases ids.
 org.squashtest.tm.domain.testcase.Dataset findDatasetByTestCaseAndByName(Long testCaseId, String name)
          Will return the dataset matching the given name and belonging to the test case matchine the given id.
 void removeDatasetFromIterationTestPlanItems(Long datasetId)
          TODO
 

Method Detail

findAllDatasetsByTestCase

List<org.squashtest.tm.domain.testcase.Dataset> findAllDatasetsByTestCase(Long testCaseId)
Will return all datasets for the given test case.

Parameters:
testCaseId -
Returns:
the list of all test cases's datasets.

findAllDatasetsByTestCases

List<org.squashtest.tm.domain.testcase.Dataset> findAllDatasetsByTestCases(List<Long> testCaseIds)
Will return all datasets found for the given test cases ids.

Parameters:
testCaseIds - : the concerned test cases ids.
Returns:
the list of all given test cases's datasets

findDatasetByTestCaseAndByName

org.squashtest.tm.domain.testcase.Dataset findDatasetByTestCaseAndByName(Long testCaseId,
                                                                         String name)
Will return the dataset matching the given name and belonging to the test case matchine the given id.

Parameters:
testCaseId - : the id of the concerned test case
name - : the name of the dataset to find
Returns:
the test case's dataset matching the given id or null

removeDatasetFromIterationTestPlanItems

void removeDatasetFromIterationTestPlanItems(Long datasetId)
TODO

Parameters:
datasetId -


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