@Repository
public class CustomAuditEventRepository
extends java.lang.Object
implements org.springframework.boot.actuate.audit.AuditEventRepository
Modifier and Type | Field and Description |
---|---|
protected static int |
EVENT_DATA_COLUMN_MAX_LENGTH
Should be the same as in Liquibase migration.
|
Constructor and Description |
---|
CustomAuditEventRepository(PersistenceAuditEventRepository persistenceAuditEventRepository,
AuditEventConverter auditEventConverter) |
Modifier and Type | Method and Description |
---|---|
void |
add(org.springframework.boot.actuate.audit.AuditEvent event) |
java.util.List<org.springframework.boot.actuate.audit.AuditEvent> |
find(java.util.Date after) |
java.util.List<org.springframework.boot.actuate.audit.AuditEvent> |
find(java.lang.String principal,
java.util.Date after) |
java.util.List<org.springframework.boot.actuate.audit.AuditEvent> |
find(java.lang.String principal,
java.util.Date after,
java.lang.String type) |
protected static final int EVENT_DATA_COLUMN_MAX_LENGTH
public CustomAuditEventRepository(PersistenceAuditEventRepository persistenceAuditEventRepository, AuditEventConverter auditEventConverter)
public java.util.List<org.springframework.boot.actuate.audit.AuditEvent> find(java.util.Date after)
find
in interface org.springframework.boot.actuate.audit.AuditEventRepository
public java.util.List<org.springframework.boot.actuate.audit.AuditEvent> find(java.lang.String principal, java.util.Date after)
find
in interface org.springframework.boot.actuate.audit.AuditEventRepository
public java.util.List<org.springframework.boot.actuate.audit.AuditEvent> find(java.lang.String principal, java.util.Date after, java.lang.String type)
find
in interface org.springframework.boot.actuate.audit.AuditEventRepository
@Transactional(propagation=REQUIRES_NEW) public void add(org.springframework.boot.actuate.audit.AuditEvent event)
add
in interface org.springframework.boot.actuate.audit.AuditEventRepository
Copyright © 2017 Osgiliath. All rights reserved.