Class OrientComposableTestCaseRepository
- java.lang.Object
-
- com.chutneytesting.component.scenario.infra.OrientComposableTestCaseRepository
-
- All Implemented Interfaces:
AggregatedRepository<ComposableTestCase>
@Repository public class OrientComposableTestCaseRepository extends Object implements AggregatedRepository<ComposableTestCase>
-
-
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()Optional<ComposableTestCase>findById(String composableTestCaseId)Optional<TestCase>findExecutableById(String composableTestCaseId)Optional<TestCaseMetadata>findMetadataById(String testCaseId)Optional<Integer>lastVersion(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 interfaceAggregatedRepository<ComposableTestCase>
-
findById
public Optional<ComposableTestCase> findById(String composableTestCaseId)
- Specified by:
findByIdin interfaceAggregatedRepository<ComposableTestCase>
-
findMetadataById
public Optional<TestCaseMetadata> findMetadataById(String testCaseId)
- Specified by:
findMetadataByIdin interfaceAggregatedRepository<ComposableTestCase>
-
findExecutableById
public Optional<TestCase> findExecutableById(String composableTestCaseId)
- Specified by:
findExecutableByIdin interfaceAggregatedRepository<ComposableTestCase>
-
findAll
public List<TestCaseMetadata> findAll()
- Specified by:
findAllin interfaceAggregatedRepository<ComposableTestCase>
-
removeById
public void removeById(String testCaseId)
- Specified by:
removeByIdin interfaceAggregatedRepository<ComposableTestCase>
-
lastVersion
public Optional<Integer> lastVersion(String composableTestCaseId)
- Specified by:
lastVersionin interfaceAggregatedRepository<ComposableTestCase>
-
search
public List<TestCaseMetadata> search(String textFilter)
- Specified by:
searchin interfaceAggregatedRepository<ComposableTestCase>
-
-