# Uses of Class
fr.gouv.vitam.logbook.common.exception.TraceabilityException

Packages that use TraceabilityException
Package
Description
fr.gouv.vitam.logbook.administration.core
Provides the core classes for the Logbook Administration module
fr.gouv.vitam.logbook.common.traceability
fr.gouv.vitam.storage.engine.server.storagetraceability
fr.gouv.vitam.worker.core.plugin.lfc_traceability

- ## Uses of TraceabilityException in fr.gouv.vitam.logbook.administration.core

  Methods in fr.gouv.vitam.logbook.administration.core that throw TraceabilityException
  Modifier and Type
  Method
  Description
  `void`
  LogbookOperationTraceabilityHelper.`createLogbookOperationEvent(Integer tenantId, String eventType, StatusCode status, TraceabilityEvent event)`
  `String`
  LogbookAdministration.`generateSecureLogbook(int tenantId)`
  secure the logbook operation since last securisation.
  `List<TenantLogbookOperationTraceabilityResult>`
  LogbookAdministration.`generateSecureLogbooks(List<Integer> tenants)`
  `long`
  LogbookOperationTraceabilityHelper.`getDataSize()`
  `String`
  LogbookOperationTraceabilityHelper.`getPreviousMonthStartDate()`
  `byte[]`
  LogbookOperationTraceabilityHelper.`getPreviousMonthTimestampToken()`
  `String`
  LogbookOperationTraceabilityHelper.`getPreviousYearStartDate()`
  `byte[]`
  LogbookOperationTraceabilityHelper.`getPreviousYearTimestampToken()`
  `void`
  LogbookOperationTraceabilityHelper.`initialize()`
  `boolean`
  LogbookOperationTraceabilityHelper.`isTraceabilityOperationRequired()`
  `void`
  LogbookOperationTraceabilityHelper.`saveDataInZip(MerkleTreeAlgo algo, TraceabilityFile file)`
  `void`
  LogbookOperationTraceabilityHelper.`saveEmpty(Integer tenantId)`
  `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

  Methods in fr.gouv.vitam.logbook.common.traceability that throw TraceabilityException
  Modifier and Type
  Method
  Description
  `void`
  LogbookTraceabilityHelper.`createLogbookOperationEvent(Integer tenantId, String eventType, StatusCode status, TraceabilityEvent event)`
  Update or finalize the traceability entry in the logbook collection
  `long`
  LogbookTraceabilityHelper.`getDataSize()`
  Warning: This method MUST be used after "saveDataInZip" witch initialize traceabilityIterator
  `String`
  LogbookTraceabilityHelper.`getPreviousMonthStartDate()`
  Get the first traceability (in logbook) one month before the given currentDate and return the startDate of the entry
  `byte[]`
  LogbookTraceabilityHelper.`getPreviousMonthTimestampToken()`
  Get the first traceability (in logbook) one month before the given currentDate and return the timestampToken of the entry
  `String`
  LogbookTraceabilityHelper.`getPreviousYearStartDate()`
  Get the first traceability (in logbook) one year before the given currentDate and return the startDate of the entry
  `byte[]`
  LogbookTraceabilityHelper.`getPreviousYearTimestampToken()`
  Get the first traceability (in logbook) one year before the given currentDate and return the timestampToken of the entry
  `String`
  LogbookTraceabilityHelper.`getTraceabilityEndDate()`
  `String`
  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`
  LogbookTraceabilityHelper.`saveEmpty(Integer tenantId)`
  Save the close master event if needed
  `void`
  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 operation
  `void`
  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

  Methods in fr.gouv.vitam.storage.engine.server.storagetraceability that throw TraceabilityException
  Modifier and Type
  Method
  Description
  `void`
  LogbookStorageTraceabilityHelper.`createLogbookOperationEvent(Integer tenantId, String eventType, StatusCode status, TraceabilityEvent event)`
  `List<StorageLogTraceabilityResult>`
  StorageTraceabilityAdministration.`generateStorageLogTraceabilityOperations(String strategyId, List<Integer> tenants)`
  `void`
  LogbookStorageTraceabilityHelper.`saveDataInZip(MerkleTreeAlgo algo, TraceabilityFile file)`
  `void`
  LogbookStorageTraceabilityHelper.`saveEmpty(Integer tenantId)`
  `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

  Methods in fr.gouv.vitam.worker.core.plugin.lfc_traceability that throw TraceabilityException
  Modifier and Type
  Method
  Description
  `void`
  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 ones
  `protected void`
  GenerateLifecycleTraceabilityActionPlugin.`generateLifecycleTraceabilityFile(LogbookTraceabilityHelper helper)`
  Generation and storage of the secure file for lifecycles
  `String`
  LogbookLifeCycleTraceabilityHelper.`getPreviousMonthStartDate()`
  `byte[]`
  LogbookLifeCycleTraceabilityHelper.`getPreviousMonthTimestampToken()`
  `String`
  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)`