Interface BatchReportClient
- All Superinterfaces:
AutoCloseable
,BasicClient
,MockOrRestClient
,VitamAutoCloseable
- All Known Implementing Classes:
BatchReportClientRest
BatchReportClient
-
Field Summary
Fields inherited from interface fr.gouv.vitam.common.external.client.BasicClient
STATUS_URL
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendReportEntries
(ReportBody reportBody) Append report entriesvoid
cleanupReport
(String processId, ReportType reportType) Clean all entries with the given process Id tenant and reportTypevoid
void
exportUnitsToInvalidate
(String processId, ReportExportRequest reportExportRequest) Generate units to invalidate by process Id.void
generatePurgeAccessionRegisterReport
(String processId, ReportExportRequest reportExportRequest) Generate elimination action accession register for deleted units by status and process Id.void
generatePurgeDistinctObjectGroupInUnitReport
(String processId, ReportExportRequest reportExportRequest) Generate purge district object groups for units by status and process Id.com.fasterxml.jackson.databind.JsonNode
readComputedDetailsFromReport
(ReportType deleteGotVersions, String processId) void
storeExtractedMetadataForAu
(List<ExtractedMetadata> extractedMetadata) void
storeReportToWorkspace
(Report reportInfo) Methods inherited from interface fr.gouv.vitam.common.client.MockOrRestClient
checkStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrl
-
Method Details
-
generatePurgeDistinctObjectGroupInUnitReport
void generatePurgeDistinctObjectGroupInUnitReport(String processId, ReportExportRequest reportExportRequest) throws VitamClientInternalException Generate purge district object groups for units by status and process Id. Report is stored in JSONL format in workspace.- Parameters:
processId
-reportExportRequest
- report export request- Throws:
VitamClientInternalException
-
appendReportEntries
Append report entries- Parameters:
reportBody
- the given entry document.- Throws:
VitamClientInternalException
-
storeReportToWorkspace
- Throws:
VitamClientInternalException
-
exportUnitsToInvalidate
void exportUnitsToInvalidate(String processId, ReportExportRequest reportExportRequest) throws VitamClientInternalException Generate units to invalidate by process Id. Report is stored in JSONL format without duplicates.- Throws:
VitamClientInternalException
-
generatePurgeAccessionRegisterReport
void generatePurgeAccessionRegisterReport(String processId, ReportExportRequest reportExportRequest) throws VitamClientInternalException Generate elimination action accession register for deleted units by status and process Id. Report is stored in JSONL format in workspace ORDERED BY opi.- Parameters:
processId
-reportExportRequest
- report export request- Throws:
VitamClientInternalException
-
cleanupReport
Clean all entries with the given process Id tenant and reportType- Parameters:
processId
- the given process IdreportType
- report type- Throws:
VitamClientInternalException
-
storeExtractedMetadataForAu
void storeExtractedMetadataForAu(List<ExtractedMetadata> extractedMetadata) throws VitamClientInternalException - Throws:
VitamClientInternalException
-
createExtractedMetadataDistributionFileForAu
- Throws:
Exception
-
readComputedDetailsFromReport
com.fasterxml.jackson.databind.JsonNode readComputedDetailsFromReport(ReportType deleteGotVersions, String processId)
-