Class LogbookAuditAdministration
java.lang.Object
fr.gouv.vitam.logbook.administration.audit.core.LogbookAuditAdministration
Business class for Logbook traceability audit
-
Constructor Summary
ConstructorDescriptionLogbookAuditAdministration
(LogbookOperations logbookOperations) LogbookAuditAdministration
(LogbookOperations logbookOperations, AlertService alertService) -
Method Summary
Modifier and TypeMethodDescriptionint
auditTraceability
(String type, int amount, ChronoUnit unit) Check existence of at least 1 traceability logbook operation in last time period.
-
Constructor Details
-
LogbookAuditAdministration
-
LogbookAuditAdministration
-
-
Method Details
-
auditTraceability
Check existence of at least 1 traceability logbook operation in last time period.- Parameters:
type
- process typeamount
- time amountunit
- time unit- Returns:
- nb operations found
- Throws:
LogbookAuditException
- Internal check error
-