class PurgeReportService {

    public void cleanupReport(String processId) throws ProcessingStatusException {
        try (BatchReportClient batchReportClient = batchReportClientFactory.getClient()) {
            batchReportClient.cleanupReport(processId, ReportType.PURGE_UNIT);
            batchReportClient.cleanupReport(processId, ReportType.PURGE_OBJECTGROUP);
        } catch (VitamClientInternalException e) {
            throw new ProcessingStatusException(StatusCode.FATAL,
                "Could not cleanup purge reports (" + processId + ")", e);
        }
    }

    public  PurgeReportService();
    @VisibleForTesting  PurgeReportService(
        BatchReportClientFactory batchReportClientFactory,
        WorkspaceClientFactory workspaceClientFactory);

}