public interface IPuiElasticSearchDocumentService
| Modifier and Type | Method and Description |
|---|---|
void |
bulkInsertDocument(List<es.prodevelop.pui9.model.dto.interfaces.IViewDto> dtoList,
PuiLanguage language)
Inserts the given DTO list into ElasticSearch.
|
void |
deleteDocument(es.prodevelop.pui9.model.dto.interfaces.ITableDto dto,
String view,
es.prodevelop.pui9.filter.FilterGroup pkFilter)
Deletes the given DTO from ElasticSearch
|
void |
insertDocument(es.prodevelop.pui9.model.dto.interfaces.ITableDto dto,
String view,
es.prodevelop.pui9.filter.FilterGroup pkFilter)
Inserts the given DTO into ElasticSearch
|
void |
updateDocument(es.prodevelop.pui9.model.dto.interfaces.ITableDto dto,
String view,
es.prodevelop.pui9.filter.FilterGroup pkFilter)
Updates the given DTO into ElasticSearch
|
void bulkInsertDocument(List<es.prodevelop.pui9.model.dto.interfaces.IViewDto> dtoList, PuiLanguage language) throws PuiElasticSearchNoNodesException, PuiElasticSearchInsertDocumentException
dtoList - The List of View DTO to be insertedlanguage - The language of the DTO to choose the correct indexPuiElasticSearchNoNodesException - If Elastic Search is not
connected to any NodePuiElasticSearchInsertDocumentException - If any error occurs while
inserting the documentvoid insertDocument(es.prodevelop.pui9.model.dto.interfaces.ITableDto dto,
String view,
es.prodevelop.pui9.filter.FilterGroup pkFilter)
dto - The Table DTO to be indexedview - The view to be indexed, where the DTO participatespkFilter - The PK filter of the given DTOvoid updateDocument(es.prodevelop.pui9.model.dto.interfaces.ITableDto dto,
String view,
es.prodevelop.pui9.filter.FilterGroup pkFilter)
dto - The Table DTO to be indexedview - The view to be indexed, where the DTO participatespkFilter - The PK filter of the given DTOvoid deleteDocument(es.prodevelop.pui9.model.dto.interfaces.ITableDto dto,
String view,
es.prodevelop.pui9.filter.FilterGroup pkFilter)
dto - The Table DTO to be indexedview - The view to be indexed, where the DTO participatespkFilter - The PK filter of the given DTOCopyright © 2020. All rights reserved.