public interface TestStepDao extends EntityDao<org.squashtest.tm.domain.testcase.TestStep>
| Modifier and Type | Method and Description |
|---|---|
org.squashtest.tm.domain.testcase.ActionTestStep |
findActionTestStepById(long testStepId) |
List<org.squashtest.tm.domain.testcase.TestStep> |
findByIdOrderedByIndex(List<Long> testStepIds)
Find all
TestStep, ordered by their index in the test case. |
List<org.squashtest.tm.domain.testcase.TestStep> |
findListById(List<Long> testStepIds) |
int |
findPositionOfStep(Long testStepId)
returns the position (ie index) of a step within the
list of step of its test case
|
void |
removeById(long testStepId) |
boolean |
stringIsFoundInStepsOfTestCase(String stringToFind,
long testCaseId)
Will check if the string appears at least once in at least one step of the test case matching the given id.
|
findAll, findAllByIds, findByIdvoid removeById(long testStepId)
int findPositionOfStep(Long testStepId)
testStepId - the id of the steporg.squashtest.tm.domain.testcase.ActionTestStep findActionTestStepById(long testStepId)
boolean stringIsFoundInStepsOfTestCase(String stringToFind, long testCaseId)
stringToFind - : the string to look for in the steptestCaseId - : the id of the concerned TestCaseList<org.squashtest.tm.domain.testcase.TestStep> findByIdOrderedByIndex(List<Long> testStepIds)
TestStep, ordered by their index in the test case. This method MUST be used for steps that belong to the
the same test case. Typical use case : select the steps in good order for a copy.testStepIds - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.