@Transactional
public interface DatasetModificationService
| Modifier and Type | Method and Description |
|---|---|
void |
cascadeDatasetsUpdate(long testCaseId)
This method updates the dataset of this test case, and every dataset upstream that inherits
from this test case, by creating the missing parameter values.
|
void |
changeName(long datasetId,
String name) |
void |
changeParamValue(long datasetParamValueId,
String value) |
Collection<org.squashtest.tm.domain.testcase.Dataset> |
findAllForTestCase(long testCaseId) |
org.squashtest.tm.domain.testcase.Dataset |
findById(long datasetId) |
void |
persist(org.squashtest.tm.domain.testcase.Dataset dataset,
long testCaseId) |
void |
remove(org.squashtest.tm.domain.testcase.Dataset dataset) |
void |
removeAllByTestCaseIds(List<Long> testCaseIds) |
void |
removeById(long datasetId) |
Collection<org.squashtest.tm.domain.testcase.Dataset> findAllForTestCase(long testCaseId)
org.squashtest.tm.domain.testcase.Dataset findById(long datasetId)
void persist(org.squashtest.tm.domain.testcase.Dataset dataset,
long testCaseId)
dataset - testCaseId - void remove(org.squashtest.tm.domain.testcase.Dataset dataset)
dataset - void removeById(long datasetId)
datasetId - void changeName(long datasetId,
String name)
datasetId - name - void changeParamValue(long datasetParamValueId,
String value)
datasetId - paramId - value - void cascadeDatasetsUpdate(long testCaseId)
This method updates the dataset of this test case, and every dataset upstream that inherits from this test case, by creating the missing parameter values.
However in its current state it won't delete the values from the datasets when some delegated parameters aren't accessible anymore (ie a call step was deleted, or is no more in parameter delegation mode).
testCaseId - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.