org.squashtest.tm.service.internal.repository.hibernate
@Repository public class HibernateTestStepDao extends HibernateEntityDao<org.squashtest.tm.domain.testcase.TestStep> implements TestStepDao
entityType| Constructor and Description |
|---|
HibernateTestStepDao() |
| Modifier and Type | Method and Description |
|---|---|
org.squashtest.tm.domain.testcase.ActionTestStep |
findActionTestStepById(long testStepId) |
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.
|
collectFromMapList, collectFromMapList, collectFromMapListToSet, collectFromMapListToSet, findAll, findAllByIds, findById, findDescendantIds, findSorted, findSorted, getIdPropertyNameclearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpersistfindAll, findAllByIds, findByIdclearFromCache, clearFromCache, flush, persist, persist, remove, removeAllpublic void removeById(long testStepId)
removeById in interface TestStepDaopublic List<org.squashtest.tm.domain.testcase.TestStep> findListById(List<Long> testStepIds)
findListById in interface TestStepDaopublic int findPositionOfStep(Long testStepId)
TestStepDaofindPositionOfStep in interface TestStepDaotestStepId - the id of the steppublic org.squashtest.tm.domain.testcase.ActionTestStep findActionTestStepById(long testStepId)
findActionTestStepById in interface TestStepDaopublic boolean stringIsFoundInStepsOfTestCase(String stringToFind, long testCaseId)
TestStepDaostringIsFoundInStepsOfTestCase in interface TestStepDaostringToFind - : the string to look for in the steptestCaseId - : the id of the concerned TestCasestringIsFoundInStepsOfTestCase(String, long)Copyright © 2010-2014 Henix, henix.fr. All Rights Reserved.