public interface AuditEventRepository
AuditEvents.| Modifier and Type | Method and Description |
|---|---|
void |
add(AuditEvent event)
Log an event.
|
java.util.List<AuditEvent> |
find(java.lang.String principal,
java.time.Instant after,
java.lang.String type)
Find audit events of specified type relating to the specified principal that
occurred
after the time provided. |
void add(AuditEvent event)
event - the audit event to logjava.util.List<AuditEvent> find(java.lang.String principal, java.time.Instant after, java.lang.String type)
after the time provided.principal - the principal name to search for (or null if unrestricted)after - time after which an event must have occurred (or null if
unrestricted)type - the event type to search for (or null if unrestricted)