Class TraceabilityReportRepository
- java.lang.Object
-
- fr.gouv.vitam.batch.report.rest.repository.ReportCommonRepository
-
- fr.gouv.vitam.batch.report.rest.repository.TraceabilityReportRepository
-
public class TraceabilityReportRepository extends ReportCommonRepository
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TRACEABILITY_REPORT
-
Constructor Summary
Constructors Constructor Description TraceabilityReportRepository(MongoDbAccess mongoDbAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bulkAppendReport(java.util.List<TraceabilityObjectModel> reports)
ReportResults
computeVitamResults(java.lang.String processId, java.lang.Integer tenantId)
void
deleteReportByIdAndTenant(java.lang.String processId, int tenantId)
com.mongodb.client.MongoCursor<org.bson.Document>
findCollection(java.lang.String processId, int tenantId)
TraceabilityStatsModel
stats(java.lang.String processId, java.lang.Integer tenantId)
-
Methods inherited from class fr.gouv.vitam.batch.report.rest.repository.ReportCommonRepository
bulkAppendReport, deleteReportByIdAndTenant
-
-
-
-
Field Detail
-
TRACEABILITY_REPORT
public static final java.lang.String TRACEABILITY_REPORT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TraceabilityReportRepository
public TraceabilityReportRepository(MongoDbAccess mongoDbAccess)
-
-
Method Detail
-
findCollection
public com.mongodb.client.MongoCursor<org.bson.Document> findCollection(java.lang.String processId, int tenantId)
-
stats
public TraceabilityStatsModel stats(java.lang.String processId, java.lang.Integer tenantId)
-
computeVitamResults
public ReportResults computeVitamResults(java.lang.String processId, java.lang.Integer tenantId)
-
bulkAppendReport
public void bulkAppendReport(java.util.List<TraceabilityObjectModel> reports)
-
deleteReportByIdAndTenant
public void deleteReportByIdAndTenant(java.lang.String processId, int tenantId)
-
-