Interface BatchReportClient
-
- All Superinterfaces:
java.lang.AutoCloseable,BasicClient,MockOrRestClient,VitamAutoCloseable
- All Known Implementing Classes:
BatchReportClientRest
public interface BatchReportClient extends BasicClient
BatchReportClient
-
-
Field Summary
-
Fields inherited from interface fr.gouv.vitam.common.external.client.BasicClient
STATUS_URL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendReportEntries(ReportBody reportBody)Append report entriesvoidcleanupReport(java.lang.String processId, ReportType reportType)Clean all entries with the given process Id tenant and reportTypevoidcreateExtractedMetadataDistributionFileForAu(java.lang.String processId)voidexportUnitsToInvalidate(java.lang.String processId, ReportExportRequest reportExportRequest)Generate units to invalidate by process Id.voidgeneratePurgeAccessionRegisterReport(java.lang.String processId, ReportExportRequest reportExportRequest)Generate elimination action accession register for deleted units by status and process Id.voidgeneratePurgeDistinctObjectGroupInUnitReport(java.lang.String processId, ReportExportRequest reportExportRequest)Generate purge district object groups for units by status and process Id.com.fasterxml.jackson.databind.JsonNodereadComputedDetailsFromReport(ReportType deleteGotVersions, java.lang.String processId)voidstoreExtractedMetadataForAu(java.util.List<ExtractedMetadata> extractedMetadata)voidstoreReportToWorkspace(Report reportInfo)-
Methods inherited from interface fr.gouv.vitam.common.client.MockOrRestClient
checkStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrl
-
-
-
-
Method Detail
-
generatePurgeDistinctObjectGroupInUnitReport
void generatePurgeDistinctObjectGroupInUnitReport(java.lang.String processId, ReportExportRequest reportExportRequest) throws VitamClientInternalExceptionGenerate 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
void appendReportEntries(ReportBody reportBody) throws VitamClientInternalException
Append report entries- Parameters:
reportBody- the given entry document.- Throws:
VitamClientInternalException
-
storeReportToWorkspace
void storeReportToWorkspace(Report reportInfo) throws VitamClientInternalException
- Throws:
VitamClientInternalException
-
exportUnitsToInvalidate
void exportUnitsToInvalidate(java.lang.String processId, ReportExportRequest reportExportRequest) throws VitamClientInternalExceptionGenerate units to invalidate by process Id. Report is stored in JSONL format without duplicates.- Throws:
VitamClientInternalException
-
generatePurgeAccessionRegisterReport
void generatePurgeAccessionRegisterReport(java.lang.String processId, ReportExportRequest reportExportRequest) throws VitamClientInternalExceptionGenerate 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
void cleanupReport(java.lang.String processId, ReportType reportType) throws VitamClientInternalExceptionClean all entries with the given process Id tenant and reportType- Parameters:
processId- the given process IdreportType- report type- Throws:
VitamClientInternalException
-
storeExtractedMetadataForAu
void storeExtractedMetadataForAu(java.util.List<ExtractedMetadata> extractedMetadata) throws VitamClientInternalException
- Throws:
VitamClientInternalException
-
createExtractedMetadataDistributionFileForAu
void createExtractedMetadataDistributionFileForAu(java.lang.String processId) throws java.lang.Exception- Throws:
java.lang.Exception
-
readComputedDetailsFromReport
com.fasterxml.jackson.databind.JsonNode readComputedDetailsFromReport(ReportType deleteGotVersions, java.lang.String processId)
-
-