Interface AuditEventRepository
- All Known Implementing Classes:
- InMemoryAuditEventRepository
public interface AuditEventRepository
Repository for 
AuditEvents.- Since:
- 1.0.0
- Author:
- Dave Syer, Vedran Pavic
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(AuditEvent event) Log an event.Find audit events of specified type relating to the specified principal that occurredafterthe time provided.
- 
Method Details- 
addLog an event.- Parameters:
- event- the audit event to log
 
- 
findFind audit events of specified type relating to the specified principal that occurredafterthe time provided.- Parameters:
- principal- the principal name to search for (or- nullif unrestricted)
- after- time after which an event must have occurred (or- nullif unrestricted)
- type- the event type to search for (or- nullif unrestricted)
- Returns:
- audit events of specified type relating to the principal
- Since:
- 1.4.0
 
 
-