Class TraceabilityService

java.lang.Object
fr.gouv.vitam.logbook.common.traceability.TraceabilityService

public class TraceabilityService extends Object
Service used to make the generic traceability algo.
  • Constructor Details

    • TraceabilityService

      public TraceabilityService(TimestampGenerator timestampGenerator, LogbookTraceabilityHelper traceabilityHelper, Integer tenantId, File tmpFolder)
      Parameters:
      timestampGenerator - Service used to generate timestamp for the traceability
      traceabilityHelper - Implementation to handle specific method or values depending on the traceability type
      tenantId - used tenantId for the traceability
      tmpFolder - Folder witch one we store the ZipFile
  • Method Details

    • secureData

      public void secureData(String strategyId) throws TraceabilityException
      Initialize and do the traceability process.
      The generated GUID for the operation is gettable after the operation finish with getOperationID.
      Throws:
      TraceabilityException - if any error or problem occurs