public interface AuditEventRepository
AuditEvents.| Modifier and Type | Method and Description |
|---|---|
void |
add(AuditEvent event)
Log an event.
|
List<AuditEvent> |
find(Date after)
Find audit events since the time provided.
|
List<AuditEvent> |
find(String principal,
Date after)
Find audit events relating to the specified principal since the time provided.
|
List<AuditEvent> |
find(String principal,
Date after,
String type)
Find audit events of specified type relating to the specified principal since the
time provided.
|
void add(AuditEvent event)
event - the audit event to logList<AuditEvent> find(Date after)
after - timestamp of earliest result required (or null if
unrestricted)List<AuditEvent> find(String principal, Date after)
principal - the principal name to search for (or null if unrestricted)after - timestamp of earliest result required (or null if
unrestricted)List<AuditEvent> find(String principal, Date after, String type)
principal - the principal name to search for (or null if unrestricted)after - timestamp of earliest result required (or null if
unrestricted)type - the event type to search for (or null if unrestricted)Copyright © 2017 Pivotal Software, Inc.. All rights reserved.