Package fr.gouv.vitam.batch.report.rest.repository

# Class ReportCommonRepository

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

Direct Known Subclasses:
  `AuditReportRepository`, `BulkUpdateUnitMetadataReportRepository`, `EliminationActionUnitRepository`, `EvidenceAuditReportRepository`, `PurgeObjectGroupRepository`, `PurgeUnitRepository`, `TraceabilityReportRepository`, `TransferReplyUnitRepository`, `UnitComputedInheritedRulesInvalidationRepository`, `UpdateUnitReportRepository`

public abstract class ReportCommonRepository extends Object
ReportCommonRepository

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ReportCommonRepository()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `bulkAppendReport(List<org.bson.Document> reports, com.mongodb.client.MongoCollection<org.bson.Document> collection)`
  Insert List of document in the given collection
  `protected void`
  `deleteReportByIdAndTenant(String processId, int tenantId, com.mongodb.client.MongoCollection<org.bson.Document> collection)`
  delete Report By Id and Tenant

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

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

- ## Constructor Details

  - ### ReportCommonRepository

    public ReportCommonRepository()

- ## Method Details

  - ### bulkAppendReport

    protected void bulkAppendReport(List<org.bson.Document> reports, com.mongodb.client.MongoCollection<org.bson.Document> collection)
    Insert List of document in the given collection
    Parameters:
      `reports` - report

  - ### deleteReportByIdAndTenant

    protected void deleteReportByIdAndTenant(String processId, int tenantId, com.mongodb.client.MongoCollection<org.bson.Document> collection)
    delete Report By Id and Tenant
    Parameters:
      `processId` - processId
      `tenantId` - tenantId