Class TraceabilityService
- java.lang.Object
-
- fr.gouv.vitam.logbook.common.traceability.TraceabilityService
-
public class TraceabilityService extends java.lang.Object
Service used to make the generic traceability algo.
-
-
Constructor Summary
Constructors Constructor Description TraceabilityService(TimestampGenerator timestampGenerator, LogbookTraceabilityHelper traceabilityHelper, java.lang.Integer tenantId, java.io.File tmpFolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
secureData(java.lang.String strategyId)
Initialize and do the traceability process.
The generated GUID for the operation is gettable after the operation finish with getOperationID.
-
-
-
Constructor Detail
-
TraceabilityService
public TraceabilityService(TimestampGenerator timestampGenerator, LogbookTraceabilityHelper traceabilityHelper, java.lang.Integer tenantId, java.io.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 Detail
-
secureData
public void secureData(java.lang.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
-
-