Package fr.gouv.vitam.logbook.common.server.database.collections

# Class LogbookRepositoryService

java.lang.Object
fr.gouv.vitam.logbook.common.server.database.collections.LogbookRepositoryService

public class LogbookRepositoryService extends Object
Logbook repository : direct access to databases

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LogbookRepositoryService(VitamRepositoryProvider vitamRepositoryProvider, ElasticsearchLogbookIndexManager indexManager)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `saveBulk(LogbookCollections collection, List<com.fasterxml.jackson.databind.JsonNode> logbookItems)`
  Save datas as bulk

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### LogbookRepositoryService

    public LogbookRepositoryService(VitamRepositoryProvider vitamRepositoryProvider, ElasticsearchLogbookIndexManager indexManager)

- ## Method Details

  - ### saveBulk

    public void saveBulk(LogbookCollections collection, List<com.fasterxml.jackson.databind.JsonNode> logbookItems) throws DatabaseException
    Save datas as bulk
    Parameters:
      `collection` - logbook collection
      `logbookItems` - logbooks
    Throws:
      `DatabaseException`