Package fr.gouv.vitam.logbook.administration.core

# Class LogbookAdministration

java.lang.Object
fr.gouv.vitam.logbook.administration.core.LogbookAdministration

public class LogbookAdministration extends Object
Business class for Logbook Administration (traceability)

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LogbookAdministration(LogbookOperations logbookOperations, TimestampGenerator timestampGenerator, Integer operationTraceabilityOverlapDelayInSeconds, Integer operationTraceabilityMaxRenewalDelay, ChronoUnit operationTraceabilityMaxRenewalDelayUnit, int operationTraceabilityThreadPoolSize)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `generateSecureLogbook(int tenantId)`
  secure the logbook operation since last securisation.
  `List<TenantLogbookOperationTraceabilityResult>`
  `generateSecureLogbooks(List<Integer> tenants)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### LogbookAdministration

    public LogbookAdministration(LogbookOperations logbookOperations, TimestampGenerator timestampGenerator, Integer operationTraceabilityOverlapDelayInSeconds, Integer operationTraceabilityMaxRenewalDelay, ChronoUnit operationTraceabilityMaxRenewalDelayUnit, int operationTraceabilityThreadPoolSize)

- ## Method Details

  - ### generateSecureLogbook

    public String generateSecureLogbook(int tenantId) throws TraceabilityException
    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`