接口 AuditEventRepository
- 所有已知实现类:
InMemoryAuditEventRepository
public interface AuditEventRepository
Repository for
AuditEvent
s.- 从以下版本开始:
- 1.0.0
- 作者:
- Dave Syer, Vedran Pavic
-
方法概要
修饰符和类型方法说明void
add
(AuditEvent event) Log an event.Find audit events of specified type relating to the specified principal that occurredafter
the time provided.
-
方法详细资料
-
add
Log an event.- 参数:
event
- the audit event to log
-
find
Find audit events of specified type relating to the specified principal that occurredafter
the time provided.- 参数:
principal
- the principal name to search for (ornull
if unrestricted)after
- time after which an event must have occurred (ornull
if unrestricted)type
- the event type to search for (ornull
if unrestricted)- 返回:
- audit events of specified type relating to the principal
- 从以下版本开始:
- 1.4.0
-