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 void
appendReportEntries(ReportBody reportBody)
Append report entriesvoid
cleanupReport(java.lang.String processId, ReportType reportType)
Clean all entries with the given process Id tenant and reportTypevoid
createExtractedMetadataDistributionFileForAu(java.lang.String processId)
void
exportUnitsToInvalidate(java.lang.String processId, ReportExportRequest reportExportRequest)
Generate units to invalidate by process Id.void
generatePurgeAccessionRegisterReport(java.lang.String processId, ReportExportRequest reportExportRequest)
Generate elimination action accession register for deleted units by status and process Id.void
generatePurgeDistinctObjectGroupInUnitReport(java.lang.String processId, ReportExportRequest reportExportRequest)
Generate purge district object groups for units by status and process Id.com.fasterxml.jackson.databind.JsonNode
readComputedDetailsFromReport(ReportType deleteGotVersions, java.lang.String processId)
void
storeExtractedMetadataForAu(java.util.List<ExtractedMetadata> extractedMetadata)
void
storeReportToWorkspace(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 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
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 VitamClientInternalException
Generate 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 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
void cleanupReport(java.lang.String processId, ReportType reportType) throws VitamClientInternalException
Clean 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)
-
-