Class OrientComposableTestCaseRepository
- java.lang.Object
-
- com.chutneytesting.scenario.infra.OrientComposableTestCaseRepository
-
- All Implemented Interfaces:
ExecutableComposedTestCaseRepository,ComposableTestCaseRepository
@Repository public class OrientComposableTestCaseRepository extends Object implements ComposableTestCaseRepository, ExecutableComposedTestCaseRepository
-
-
Field Summary
-
Fields inherited from interface com.chutneytesting.scenario.domain.ComposableTestCaseRepository
COMPOSABLE_TESTCASE_REPOSITORY_SOURCE
-
-
Constructor Summary
Constructors Constructor Description OrientComposableTestCaseRepository(OrientComponentDB orientComponentDB, ExecutableComposedTestCaseMapper testCaseMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TestCaseMetadata>findAll()ComposableTestCasefindById(String composableTestCaseId)ExecutableComposedTestCasefindExecutableById(String composableTestCaseId)IntegerlastVersion(String composableTestCaseId)voidremoveById(String testCaseId)Stringsave(ComposableTestCase composableTestCase)List<TestCaseMetadata>search(String textFilter)
-
-
-
Constructor Detail
-
OrientComposableTestCaseRepository
public OrientComposableTestCaseRepository(OrientComponentDB orientComponentDB, ExecutableComposedTestCaseMapper testCaseMapper)
-
-
Method Detail
-
save
public String save(ComposableTestCase composableTestCase)
- Specified by:
savein interfaceComposableTestCaseRepository
-
findById
public ComposableTestCase findById(String composableTestCaseId)
- Specified by:
findByIdin interfaceComposableTestCaseRepository
-
findExecutableById
public ExecutableComposedTestCase findExecutableById(String composableTestCaseId)
- Specified by:
findExecutableByIdin interfaceExecutableComposedTestCaseRepository
-
findAll
public List<TestCaseMetadata> findAll()
- Specified by:
findAllin interfaceComposableTestCaseRepository
-
removeById
public void removeById(String testCaseId)
- Specified by:
removeByIdin interfaceComposableTestCaseRepository
-
lastVersion
public Integer lastVersion(String composableTestCaseId)
- Specified by:
lastVersionin interfaceComposableTestCaseRepository
-
search
public List<TestCaseMetadata> search(String textFilter)
- Specified by:
searchin interfaceComposableTestCaseRepository
-
-