public class TraceabilityService extends Object
| Constructor and Description |
|---|
TraceabilityService(TimestampGenerator timestampGenerator,
LogbookTraceabilityHelper traceabilityHelper,
Integer tenantId,
File tmpFolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
secureData()
Initialize and do the traceability process.
The generated GUID for the operation is gettable after the operation finish with getOperationID. |
public TraceabilityService(TimestampGenerator timestampGenerator, LogbookTraceabilityHelper traceabilityHelper, Integer tenantId, File tmpFolder)
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 ZipFilepublic void secureData()
throws TraceabilityException
TraceabilityException - if any error or problem occursCopyright © 2018 Vitam. All rights reserved.