Uses of Class
fr.gouv.vitam.logbook.common.exception.TraceabilityException
Packages that use TraceabilityException
Package
Description
Provides the core classes for the Logbook Administration module
-
Uses of TraceabilityException in fr.gouv.vitam.logbook.administration.core
Methods in fr.gouv.vitam.logbook.administration.core that throw TraceabilityExceptionModifier and TypeMethodDescriptionvoidLogbookOperationTraceabilityHelper.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) longLogbookOperationTraceabilityHelper.getDataSize()LogbookOperationTraceabilityHelper.getPreviousMonthStartDate()byte[]LogbookOperationTraceabilityHelper.getPreviousMonthTimestampToken()LogbookOperationTraceabilityHelper.getPreviousYearStartDate()byte[]LogbookOperationTraceabilityHelper.getPreviousYearTimestampToken()voidLogbookOperationTraceabilityHelper.initialize()booleanLogbookOperationTraceabilityHelper.isTraceabilityOperationRequired()voidLogbookOperationTraceabilityHelper.saveDataInZip(MerkleTreeAlgo algo, TraceabilityFile file) voidvoidLogbookOperationTraceabilityHelper.startTraceability()voidLogbookOperationTraceabilityHelper.storeAndDeleteZip(Integer tenant, String strategyId, File zipFile, String fileName, TraceabilityEvent event) -
Uses of TraceabilityException in fr.gouv.vitam.logbook.common.traceability
Methods in fr.gouv.vitam.logbook.common.traceability that throw TraceabilityExceptionModifier and TypeMethodDescriptionvoidLogbookTraceabilityHelper.createLogbookOperationEvent(Integer tenantId, String eventType, StatusCode status, TraceabilityEvent event) Update or finalize the traceability entry in the logbook collectionlongLogbookTraceabilityHelper.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()voidLogbookTraceabilityHelper.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.voidSave the close master event if neededvoidTraceabilityService.secureData(String strategyId) Initialize and do the traceability process.
The generated GUID for the operation is gettable after the operation finish with getOperationID.voidLogbookTraceabilityHelper.startTraceability()Prepare and start the traceability operationvoidLogbookTraceabilityHelper.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
Methods in fr.gouv.vitam.storage.engine.server.storagetraceability that throw TraceabilityExceptionModifier and TypeMethodDescriptionvoidLogbookStorageTraceabilityHelper.createLogbookOperationEvent(Integer tenantId, String eventType, StatusCode status, TraceabilityEvent event) StorageTraceabilityAdministration.generateStorageLogTraceabilityOperations(String strategyId, List<Integer> tenants) voidLogbookStorageTraceabilityHelper.saveDataInZip(MerkleTreeAlgo algo, TraceabilityFile file) voidvoidLogbookStorageTraceabilityHelper.startTraceability()voidLogbookStorageTraceabilityHelper.storeAndDeleteZip(Integer tenant, String strategyId, File zipFile, String fileName, TraceabilityEvent event) -
Uses of TraceabilityException in fr.gouv.vitam.worker.core.plugin.lfc_traceability
Methods in fr.gouv.vitam.worker.core.plugin.lfc_traceability that throw TraceabilityExceptionModifier and TypeMethodDescriptionvoidLogbookLifeCycleTraceabilityHelper.createLogbookOperationEvent(Integer tenantId, String eventType, StatusCode status, TraceabilityEvent event) protected voidLogbookLifeCycleTraceabilityHelper.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 voidGenerateLifecycleTraceabilityActionPlugin.generateLifecycleTraceabilityFile(LogbookTraceabilityHelper helper) Generation and storage of the secure file for lifecyclesLogbookLifeCycleTraceabilityHelper.getPreviousMonthStartDate()byte[]LogbookLifeCycleTraceabilityHelper.getPreviousMonthTimestampToken()LogbookLifeCycleTraceabilityHelper.getPreviousYearStartDate()byte[]LogbookLifeCycleTraceabilityHelper.getPreviousYearTimestampToken()voidLogbookObjectGroupLifeCycleTraceabilityHelper.saveDataInZip(MerkleTreeAlgo algo, TraceabilityFile file) voidLogbookUnitLifeCycleTraceabilityHelper.saveDataInZip(MerkleTreeAlgo algo, TraceabilityFile file) voidLogbookLifeCycleTraceabilityHelper.startTraceability()voidLogbookLifeCycleTraceabilityHelper.storeAndDeleteZip(Integer tenant, String strategyId, File zipFile, String fileName, TraceabilityEvent event)