Interface AuditManager
-
- All Known Implementing Classes:
DefaultAuditManager
public interface AuditManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.void
audit(AfterHandlingEvent event)
Create audit entries according to the provided event.boolean
auditRequested(String who, AuditElements.EventCategoryType type, String category, String subcategory, String event)
Checks if audit is requested matching the provided conditions.
-
-
-
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 eventtype
- event category typecategory
- event categorysubcategory
- event subcategoryevent
- 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 eventtype
- event category typecategory
- event categorysubcategory
- event subcategoryevent
- eventcondition
- result value condition.before
- object(s) available before the eventoutput
- object(s) produced by the eventinput
- object(s) provided to the event
-
-