Class PreservationReportRepository

java.lang.Object
fr.gouv.vitam.batch.report.rest.repository.PreservationReportRepository

public class PreservationReportRepository extends Object
  • Field Details

  • Constructor Details

    • PreservationReportRepository

      public PreservationReportRepository(MongoDbAccess mongoDbAccess, String collectionName)
    • PreservationReportRepository

      public PreservationReportRepository(MongoDbAccess mongoDbAccess)
  • Method Details

    • bulkAppendReport

      public void bulkAppendReport(List<PreservationReportEntry> reports)
    • findCollectionByProcessIdTenant

      public com.mongodb.client.MongoCursor<org.bson.Document> findCollectionByProcessIdTenant(String processId, int tenantId)
    • stats

      public PreservationStatsModel stats(String processId, int tenantId)
    • deleteReportByIdAndTenant

      public void deleteReportByIdAndTenant(String processId, int tenantId)