Interface AuditManager

    • Method Detail

      • auditRequested

        boolean auditRequested​(String who,
                               AuditElements.EventCategoryType type,
                               String category,
                               String subcategory,
                               String event)
        Checks if audit is requested matching the provided conditions.
        Parameters:
        who - user triggering the event
        type - event category type
        category - event category
        subcategory - event subcategory
        event - event
        Returns:
        created notification tasks
      • audit

        void audit​(AfterHandlingEvent event)
        Create audit entries according to the provided event.
        Parameters:
        event - Spring event raised during Logic processing
      • audit

        void audit​(String who,
                   AuditElements.EventCategoryType type,
                   String category,
                   String subcategory,
                   String event,
                   AuditElements.Result condition,
                   Object before,
                   Object output,
                   Object... input)
        Create audit entries for each audit matching provided conditions.
        Parameters:
        who - user triggering the event
        type - event category type
        category - event category
        subcategory - event subcategory
        event - event
        condition - result value condition.
        before - object(s) available before the event
        output - object(s) produced by the event
        input - object(s) provided to the event