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 java.lang.Object
ReportCommonRepository
-
-
Constructor Summary
Constructors Constructor Description ReportCommonRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
bulkAppendReport(java.util.List<org.bson.Document> reports, com.mongodb.client.MongoCollection<org.bson.Document> collection)
Insert List of document in the given collectionprotected void
deleteReportByIdAndTenant(java.lang.String processId, int tenantId, com.mongodb.client.MongoCollection<org.bson.Document> collection)
delete Report By Id and Tenant
-
-
-
Method Detail
-
bulkAppendReport
protected void bulkAppendReport(java.util.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(java.lang.String processId, int tenantId, com.mongodb.client.MongoCollection<org.bson.Document> collection)
delete Report By Id and Tenant- Parameters:
processId
- processIdtenantId
- tenantId
-
-