Uses of Class
fr.gouv.vitam.logbook.common.exception.TraceabilityException
Package
Description
Provides the core classes for the Logbook Administration module
-
Uses of TraceabilityException in fr.gouv.vitam.logbook.administration.core
Modifier and TypeMethodDescriptionvoid
LogbookOperationTraceabilityHelper.createLogbookOperationEvent
(Integer tenantId, String eventType, StatusCode status, TraceabilityEvent event) LogbookAdministration.generateSecureLogbook
(int tenantId) secure the logbook operation since last securisation.LogbookAdministration.generateSecureLogbooks
(List<Integer> tenants) long
LogbookOperationTraceabilityHelper.getDataSize()
LogbookOperationTraceabilityHelper.getPreviousMonthStartDate()
byte[]
LogbookOperationTraceabilityHelper.getPreviousMonthTimestampToken()
LogbookOperationTraceabilityHelper.getPreviousYearStartDate()
byte[]
LogbookOperationTraceabilityHelper.getPreviousYearTimestampToken()
void
LogbookOperationTraceabilityHelper.initialize()
boolean
LogbookOperationTraceabilityHelper.isTraceabilityOperationRequired()
void
LogbookOperationTraceabilityHelper.saveDataInZip
(MerkleTreeAlgo algo, TraceabilityFile file) void
void
LogbookOperationTraceabilityHelper.startTraceability()
void
LogbookOperationTraceabilityHelper.storeAndDeleteZip
(Integer tenant, String strategyId, File zipFile, String fileName, TraceabilityEvent event) -
Uses of TraceabilityException in fr.gouv.vitam.logbook.common.traceability
Modifier and TypeMethodDescriptionvoid
LogbookTraceabilityHelper.createLogbookOperationEvent
(Integer tenantId, String eventType, StatusCode status, TraceabilityEvent event) Update or finalize the traceability entry in the logbook collectionlong
LogbookTraceabilityHelper.getDataSize()
Warning: This method MUST be used after "saveDataInZip" witch initialize traceabilityIteratorLogbookTraceabilityHelper.getPreviousMonthStartDate()
Get the first traceability (in logbook) one month before the given currentDate and return the startDate of the entrybyte[]
LogbookTraceabilityHelper.getPreviousMonthTimestampToken()
Get the first traceability (in logbook) one month before the given currentDate and return the timestampToken of the entryLogbookTraceabilityHelper.getPreviousYearStartDate()
Get the first traceability (in logbook) one year before the given currentDate and return the startDate of the entrybyte[]
LogbookTraceabilityHelper.getPreviousYearTimestampToken()
Get the first traceability (in logbook) one year before the given currentDate and return the timestampToken of the entryLogbookTraceabilityHelper.getTraceabilityEndDate()
LogbookTraceabilityHelper.getTraceabilityStartDate()
void
LogbookTraceabilityHelper.saveDataInZip
(MerkleTreeAlgo algo, TraceabilityFile file) Search for entries to secure with the traceability process and store data in the given Traceability zip file.
Also, Merkle Algorithm should be updated by adding each wanted entry as a leaf of the tree.void
Save the close master event if neededvoid
TraceabilityService.secureData
(String strategyId) Initialize and do the traceability process.
The generated GUID for the operation is gettable after the operation finish with getOperationID.void
LogbookTraceabilityHelper.startTraceability()
Prepare and start the traceability operationvoid
LogbookTraceabilityHelper.storeAndDeleteZip
(Integer tenant, String strategyId, File zipFile, String fileName, TraceabilityEvent event) Store the temporary zip. -
Uses of TraceabilityException in fr.gouv.vitam.storage.engine.server.storagetraceability
Modifier and TypeMethodDescriptionvoid
LogbookStorageTraceabilityHelper.createLogbookOperationEvent
(Integer tenantId, String eventType, StatusCode status, TraceabilityEvent event) StorageTraceabilityAdministration.generateStorageLogTraceabilityOperations
(String strategyId, List<Integer> tenants) void
LogbookStorageTraceabilityHelper.saveDataInZip
(MerkleTreeAlgo algo, TraceabilityFile file) void
void
LogbookStorageTraceabilityHelper.startTraceability()
void
LogbookStorageTraceabilityHelper.storeAndDeleteZip
(Integer tenant, String strategyId, File zipFile, String fileName, TraceabilityEvent event) -
Uses of TraceabilityException in fr.gouv.vitam.worker.core.plugin.lfc_traceability
Modifier and TypeMethodDescriptionvoid
LogbookLifeCycleTraceabilityHelper.createLogbookOperationEvent
(Integer tenantId, String eventType, StatusCode status, TraceabilityEvent event) protected void
LogbookLifeCycleTraceabilityHelper.extractAppendToFinalFile
(CloseableIterator<com.fasterxml.jackson.databind.JsonNode> jsonLineIterator, TraceabilityFile traceabilityFile, MerkleTreeAlgo algo) Reduce part of the process : lets merge in one only file the disting lifecycles onesprotected void
GenerateLifecycleTraceabilityActionPlugin.generateLifecycleTraceabilityFile
(LogbookTraceabilityHelper helper) Generation and storage of the secure file for lifecyclesLogbookLifeCycleTraceabilityHelper.getPreviousMonthStartDate()
byte[]
LogbookLifeCycleTraceabilityHelper.getPreviousMonthTimestampToken()
LogbookLifeCycleTraceabilityHelper.getPreviousYearStartDate()
byte[]
LogbookLifeCycleTraceabilityHelper.getPreviousYearTimestampToken()
void
LogbookObjectGroupLifeCycleTraceabilityHelper.saveDataInZip
(MerkleTreeAlgo algo, TraceabilityFile file) void
LogbookUnitLifeCycleTraceabilityHelper.saveDataInZip
(MerkleTreeAlgo algo, TraceabilityFile file) void
LogbookLifeCycleTraceabilityHelper.startTraceability()
void
LogbookLifeCycleTraceabilityHelper.storeAndDeleteZip
(Integer tenant, String strategyId, File zipFile, String fileName, TraceabilityEvent event)