Interface AuditManager
- All Known Implementing Classes:
DefaultAuditManager
public interface AuditManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
audit
(String domain, String who, OpEvent.CategoryType type, String category, String subcategory, String op, OpEvent.Outcome outcome, 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 domain, String who, OpEvent.CategoryType type, String category, String subcategory, String op) Checks if audit is requested matching the provided conditions.
-
Method Details
-
auditRequested
boolean auditRequested(String domain, String who, OpEvent.CategoryType type, String category, String subcategory, String op) Checks if audit is requested matching the provided conditions.- Parameters:
domain
- domainwho
- user triggering the eventtype
- event category typecategory
- event categorysubcategory
- event subcategoryop
- operation- Returns:
- created notification tasks
-
audit
Create audit entries according to the provided event.- Parameters:
event
- Spring event raised during Logic processing
-
audit
void audit(String domain, String who, OpEvent.CategoryType type, String category, String subcategory, String op, OpEvent.Outcome outcome, Object before, Object output, Object... input) Create audit entries for each audit matching provided conditions.- Parameters:
domain
- domainwho
- user triggering the eventtype
- event category typecategory
- event categorysubcategory
- event subcategoryop
- operationoutcome
- result value condition.before
- object(s) available before the eventoutput
- object(s) produced by the eventinput
- object(s) provided to the event
-