Class ScenarioIndexRepository
java.lang.Object
fr.enedis.chutney.index.domain.AbstractIndexRepository<ScenarioEntity>
fr.enedis.chutney.scenario.infra.index.ScenarioIndexRepository
- All Implemented Interfaces:
IndexRepository<ScenarioEntity>
-
Field Summary
Fields inherited from class fr.enedis.chutney.index.domain.AbstractIndexRepository
CONTENT, DESCRIPTION, ID, LOGGER, TAGS, TITLE, WHAT, whatValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.lucene.document.DocumentcreateDocument(ScenarioEntity scenario) protected StringgetId(ScenarioEntity scenario) Methods inherited from class fr.enedis.chutney.index.domain.AbstractIndexRepository
count, delete, highlight, save, searchMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.enedis.chutney.index.domain.IndexRepository
saveAll
-
Constructor Details
-
ScenarioIndexRepository
public ScenarioIndexRepository(@Qualifier("scenarioLuceneIndexRepository") LuceneIndexRepository luceneIndexRepository)
-
-
Method Details
-
createDocument
- Specified by:
createDocumentin classAbstractIndexRepository<ScenarioEntity>
-
getId
- Specified by:
getIdin classAbstractIndexRepository<ScenarioEntity>
-