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
ReportCommonRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbulkAppendReport(List<org.bson.Document> reports, com.mongodb.client.MongoCollection<org.bson.Document> collection) Insert List of document in the given collectionprotected voiddeleteReportByIdAndTenant(String processId, int tenantId, com.mongodb.client.MongoCollection<org.bson.Document> collection) delete Report By Id and Tenant
-
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- processIdtenantId- tenantId
-