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 |
Modifier and Type | Method and Description |
---|---|
void |
LogbookOperationTraceabilityHelper.createLogbookOperationEvent(Integer tenantId,
String eventType,
StatusCode status,
TraceabilityEvent event) |
void |
LogbookOperationTraceabilityHelper.createLogbookOperationStructure() |
void |
LogbookAdministration.generateSecureLogbook(GUID guid)
secure the logbook operation since last securisation.
|
long |
LogbookOperationTraceabilityHelper.getDataSize() |
String |
LogbookOperationTraceabilityHelper.getPreviousMonthStartDate() |
byte[] |
LogbookOperationTraceabilityHelper.getPreviousMonthTimestampToken() |
String |
LogbookOperationTraceabilityHelper.getPreviousYearStartDate() |
byte[] |
LogbookOperationTraceabilityHelper.getPreviousYearTimestampToken() |
void |
LogbookOperationTraceabilityHelper.initialize() |
void |
LogbookOperationTraceabilityHelper.saveDataInZip(MerkleTreeAlgo algo,
TraceabilityFile file) |
void |
LogbookOperationTraceabilityHelper.saveEmpty(Integer tenantId) |
void |
LogbookOperationTraceabilityHelper.storeAndDeleteZip(Integer tenant,
String strategyId,
File zipFile,
String fileName,
String uri,
TraceabilityEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
LogbookTraceabilityHelper.createLogbookOperationEvent(Integer tenantId,
String eventType,
StatusCode status,
TraceabilityEvent event)
Update or finalize the traceability entry in the logbook collection
|
void |
LogbookTraceabilityHelper.createLogbookOperationStructure()
initialize 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.initialize()
Initialize traceability.
|
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.storeAndDeleteZip(Integer tenant,
String strategyId,
File zipFile,
String fileName,
String uri,
TraceabilityEvent event)
Store the temporary zip in the final destination (on a specific offer for example) and delete tmp file.
|
Modifier and Type | Method and Description |
---|---|
void |
LogbookStorageTraceabilityHelper.createLogbookOperationEvent(Integer tenantId,
String eventType,
StatusCode status,
TraceabilityEvent event) |
void |
LogbookStorageTraceabilityHelper.createLogbookOperationStructure() |
void |
StorageTraceabilityAdministration.generateTraceabilityStorageLogbook(GUID requestId,
String strategyId)
secure the logbook operation since last traceability
|
void |
LogbookStorageTraceabilityHelper.initialize() |
void |
LogbookStorageTraceabilityHelper.saveDataInZip(MerkleTreeAlgo algo,
TraceabilityFile file) |
void |
LogbookStorageTraceabilityHelper.saveEmpty(Integer tenantId) |
void |
LogbookStorageTraceabilityHelper.storeAndDeleteZip(Integer tenant,
String strategyId,
File zipFile,
String fileName,
String uri,
TraceabilityEvent event) |
Modifier and Type | Method and Description |
---|---|
void |
LogbookLifeCycleTraceabilityHelper.createLogbookOperationEvent(Integer tenantId,
String eventType,
StatusCode status,
TraceabilityEvent event) |
void |
LogbookLifeCycleTraceabilityHelper.createLogbookOperationStructure() |
protected void |
LogbookLifeCycleTraceabilityHelper.extractAppendToFinalFile(CloseableIterator<JsonLineModel> jsonLineIterator,
TraceabilityFile traceabilityFile,
MerkleTreeAlgo algo)
Reduce part of the process : lets merge in one only file the disting lifecycles ones
|
protected void |
FinalizeLifecycleTraceabilityActionPlugin.finalizeLifecycles(LogbookTraceabilityHelper helper)
Generation and storage of the secure file for lifecycles
|
String |
LogbookLifeCycleTraceabilityHelper.getPreviousMonthStartDate() |
byte[] |
LogbookLifeCycleTraceabilityHelper.getPreviousMonthTimestampToken() |
String |
LogbookLifeCycleTraceabilityHelper.getPreviousYearStartDate() |
byte[] |
LogbookLifeCycleTraceabilityHelper.getPreviousYearTimestampToken() |
void |
LogbookLifeCycleTraceabilityHelper.initialize() |
void |
LogbookUnitLifeCycleTraceabilityHelper.saveDataInZip(MerkleTreeAlgo algo,
TraceabilityFile file) |
void |
LogbookObjectGroupLifeCycleTraceabilityHelper.saveDataInZip(MerkleTreeAlgo algo,
TraceabilityFile file) |
void |
LogbookLifeCycleTraceabilityHelper.storeAndDeleteZip(Integer tenant,
String strategyId,
File zipFile,
String fileName,
String uri,
TraceabilityEvent event) |
Copyright © 2019 Vitam. All rights reserved.