org.squashtest.tm.service.internal.repository.hibernate
Class HibernateTestStepDao
java.lang.Object
org.squashtest.tm.service.internal.repository.hibernate.HibernateDao<ENTITY_TYPE>
org.squashtest.tm.service.internal.repository.hibernate.HibernateEntityDao<org.squashtest.tm.domain.testcase.TestStep>
org.squashtest.tm.service.internal.repository.hibernate.HibernateTestStepDao
- All Implemented Interfaces:
- EntityDao<org.squashtest.tm.domain.testcase.TestStep>, GenericDao<org.squashtest.tm.domain.testcase.TestStep>, TestStepDao
@Repository
public class HibernateTestStepDao
- extends HibernateEntityDao<org.squashtest.tm.domain.testcase.TestStep>
- implements TestStepDao
| Methods inherited from class org.squashtest.tm.service.internal.repository.hibernate.HibernateEntityDao |
collectFromMapList, collectFromMapList, collectFromMapListToSet, collectFromMapListToSet, findAll, findAllByIds, findById, findDescendantIds, findSorted, findSorted, getIdPropertyName |
| Methods inherited from class org.squashtest.tm.service.internal.repository.hibernate.HibernateDao |
clearFromCache, clearFromCache, currentSession, executeEntityNamedQuery, executeEntityNamedQuery, executeEntityNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeListNamedQuery, executeUpdateListQuery, flush, getEntity, persist, persist, persistEntity, remove, removeAll, removeEntity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.squashtest.tm.service.internal.repository.TestStepDao |
persist |
HibernateTestStepDao
public HibernateTestStepDao()
removeById
public void removeById(long testStepId)
- Specified by:
removeById in interface TestStepDao
findListById
public List<org.squashtest.tm.domain.testcase.TestStep> findListById(List<Long> testStepIds)
- Specified by:
findListById in interface TestStepDao
findPositionOfStep
public int findPositionOfStep(Long testStepId)
- Description copied from interface:
TestStepDao
- returns the position (ie index) of a step within the
list of step of its test case
- Specified by:
findPositionOfStep in interface TestStepDao
- Parameters:
testStepId - the id of the step
- Returns:
findActionTestStepById
public org.squashtest.tm.domain.testcase.ActionTestStep findActionTestStepById(long testStepId)
- Specified by:
findActionTestStepById in interface TestStepDao
stringIsFoundInStepsOfTestCase
public boolean stringIsFoundInStepsOfTestCase(String stringToFind,
long testCaseId)
- Description copied from interface:
TestStepDao
- Will check if the string appears at least once in at least one step of the test case matching the given id.
- Specified by:
stringIsFoundInStepsOfTestCase in interface TestStepDao
- Parameters:
stringToFind - : the string to look for in the steptestCaseId - : the id of the concerned TestCase
- Returns:
- true if the string is found in one step of the concerned test case
- See Also:
stringIsFoundInStepsOfTestCase(String, long)
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.