public interface DatasetDao extends org.springframework.data.repository.Repository<org.squashtest.tm.domain.testcase.Dataset,Long>, CustomDatasetDao
| Modifier and Type | Method and Description |
|---|---|
void |
delete(org.squashtest.tm.domain.testcase.Dataset dataset)
Simply remove the given dataset
|
Collection<org.squashtest.tm.domain.testcase.Dataset> |
findAllByTestCaseId(Long testCaseId) |
org.squashtest.tm.domain.testcase.Dataset |
findById(Long id) |
org.squashtest.tm.domain.testcase.Dataset |
findByTestCaseIdAndName(Long testCaseId,
String name)
Will return the dataset matching the given name and belonging to the test case matchine the given id.
|
void |
removeAllByTestCaseIds(List<Long> testCaseIds) |
void |
removeAllValuesByTestCaseIds(List<Long> testCaseIds) |
void |
save(org.squashtest.tm.domain.testcase.Dataset newValue) |
findAllDelegateDatasets, findImmediateDelegateDatasets, findOwnAndDelegateDatasets, findOwnDatasetsByTestCase, findOwnDatasetsByTestCases, removeDatasetFromTestPlanItemsvoid save(org.squashtest.tm.domain.testcase.Dataset newValue)
org.squashtest.tm.domain.testcase.Dataset findById(Long id)
org.squashtest.tm.domain.testcase.Dataset findByTestCaseIdAndName(@Param(value="testCaseId")
Long testCaseId,
@Param(value="name")
String name)
testCaseId - : the id of the concerned test casename - : the name of the dataset to findnull@Modifying
void removeAllByTestCaseIds(@Param(value="testCaseIds")
List<Long> testCaseIds)
@Modifying
void removeAllValuesByTestCaseIds(@Param(value="testCaseIds")
List<Long> testCaseIds)
void delete(org.squashtest.tm.domain.testcase.Dataset dataset)
dataset - : the dataset to removeCollection<org.squashtest.tm.domain.testcase.Dataset> findAllByTestCaseId(Long testCaseId)
Copyright © 2010–2016 Henix, henix.fr. All rights reserved.