Class TraceabilityService
java.lang.Object
fr.gouv.vitam.logbook.common.traceability.TraceabilityService
Service used to make the generic traceability algo.
-
Constructor Summary
ConstructorDescriptionTraceabilityService
(TimestampGenerator timestampGenerator, LogbookTraceabilityHelper traceabilityHelper, Integer tenantId, File tmpFolder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
secureData
(String strategyId) Initialize and do the traceability process.
The generated GUID for the operation is gettable after the operation finish with getOperationID.
-
Constructor Details
-
TraceabilityService
public TraceabilityService(TimestampGenerator timestampGenerator, LogbookTraceabilityHelper traceabilityHelper, Integer tenantId, File tmpFolder) - Parameters:
timestampGenerator
- Service used to generate timestamp for the traceabilitytraceabilityHelper
- Implementation to handle specific method or values depending on the traceability typetenantId
- used tenantId for the traceabilitytmpFolder
- Folder witch one we store the ZipFile
-
-
Method Details
-
secureData
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
-