Class DeleteGotVersionsReportRepository
- java.lang.Object
-
- fr.gouv.vitam.batch.report.rest.repository.DeleteGotVersionsReportRepository
-
public class DeleteGotVersionsReportRepository extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DELETE_GOT_VERSIONS_REPORT
static java.lang.String
ID
-
Constructor Summary
Constructors Constructor Description DeleteGotVersionsReportRepository(MongoDbAccess mongoDbAccess)
DeleteGotVersionsReportRepository(MongoDbAccess mongoDbAccess, java.lang.String collectionName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bulkAppendReport(java.util.List<DeleteGotVersionsReportEntry> reports)
com.mongodb.client.MongoCursor<org.bson.Document>
computeDeleteGotVersionsEntriesByProcessIdTenant(java.lang.String processId, int tenantId)
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>
findCollectionByProcessIdTenant(java.lang.String processId, int tenantId)
-
-
-
Field Detail
-
DELETE_GOT_VERSIONS_REPORT
public static final java.lang.String DELETE_GOT_VERSIONS_REPORT
- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeleteGotVersionsReportRepository
public DeleteGotVersionsReportRepository(MongoDbAccess mongoDbAccess, java.lang.String collectionName)
-
DeleteGotVersionsReportRepository
public DeleteGotVersionsReportRepository(MongoDbAccess mongoDbAccess)
-
-
Method Detail
-
bulkAppendReport
public void bulkAppendReport(java.util.List<DeleteGotVersionsReportEntry> reports)
-
findCollectionByProcessIdTenant
public com.mongodb.client.MongoCursor<org.bson.Document> findCollectionByProcessIdTenant(java.lang.String processId, int tenantId)
-
computeDeleteGotVersionsEntriesByProcessIdTenant
public com.mongodb.client.MongoCursor<org.bson.Document> computeDeleteGotVersionsEntriesByProcessIdTenant(java.lang.String processId, int tenantId)
-
deleteReportByIdAndTenant
public void deleteReportByIdAndTenant(java.lang.String processId, int tenantId)
-
computeVitamResults
public ReportResults computeVitamResults(java.lang.String processId, java.lang.Integer tenantId)
-
-