Class LogbookRepositoryService
- java.lang.Object
-
- fr.gouv.vitam.logbook.common.server.database.collections.LogbookRepositoryService
-
public class LogbookRepositoryService extends java.lang.Object
Logbook repository : direct access to databases
-
-
Constructor Summary
Constructors Constructor Description LogbookRepositoryService(VitamRepositoryProvider vitamRepositoryProvider, ElasticsearchLogbookIndexManager indexManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
saveBulk(LogbookCollections collection, java.util.List<com.fasterxml.jackson.databind.JsonNode> logbookItems)
Save datas as bulk
-
-
-
Constructor Detail
-
LogbookRepositoryService
public LogbookRepositoryService(VitamRepositoryProvider vitamRepositoryProvider, ElasticsearchLogbookIndexManager indexManager)
-
-
Method Detail
-
saveBulk
public void saveBulk(LogbookCollections collection, java.util.List<com.fasterxml.jackson.databind.JsonNode> logbookItems) throws DatabaseException
Save datas as bulk- Parameters:
collection
- logbook collectionlogbookItems
- logbooks- Throws:
DatabaseException
-
-