Class LogbookAuditAdministration


  • public class LogbookAuditAdministration
    extends java.lang.Object
    Business class for Logbook traceability audit
    • Constructor Detail

      • LogbookAuditAdministration

        public LogbookAuditAdministration​(LogbookOperations logbookOperations)
    • Method Detail

      • auditTraceability

        public int auditTraceability​(java.lang.String type,
                                     int amount,
                                     java.time.temporal.ChronoUnit unit)
                              throws LogbookAuditException
        Check existence of at least 1 traceability logbook operation in last time period.
        Parameters:
        type - process type
        amount - time amount
        unit - time unit
        Returns:
        nb operations found
        Throws:
        LogbookAuditException - Internal check error