Class LogbookAdministration
java.lang.Object
fr.gouv.vitam.logbook.administration.core.LogbookAdministration
Business class for Logbook Administration (traceability)
-
Constructor Summary
ConstructorDescriptionLogbookAdministration
(LogbookOperations logbookOperations, TimestampGenerator timestampGenerator, Integer operationTraceabilityOverlapDelayInSeconds, Integer operationTraceabilityMaxRenewalDelay, ChronoUnit operationTraceabilityMaxRenewalDelayUnit, int operationTraceabilityThreadPoolSize) -
Method Summary
Modifier and TypeMethodDescriptiongenerateSecureLogbook
(int tenantId) secure the logbook operation since last securisation.generateSecureLogbooks
(List<Integer> tenants)
-
Constructor Details
-
LogbookAdministration
public LogbookAdministration(LogbookOperations logbookOperations, TimestampGenerator timestampGenerator, Integer operationTraceabilityOverlapDelayInSeconds, Integer operationTraceabilityMaxRenewalDelay, ChronoUnit operationTraceabilityMaxRenewalDelayUnit, int operationTraceabilityThreadPoolSize)
-
-
Method Details
-
generateSecureLogbook
secure the logbook operation since last securisation.- Returns:
- operation Id if traceability operation has not been skipped
- Throws:
TraceabilityException
- if error on generating secure logbook
-
generateSecureLogbooks
public List<TenantLogbookOperationTraceabilityResult> generateSecureLogbooks(List<Integer> tenants) throws TraceabilityException - Throws:
TraceabilityException
-