Class CustomAuditEventRepository
- java.lang.Object
-
- org.powertac.visualizer.repository.CustomAuditEventRepository
-
- All Implemented Interfaces:
org.springframework.boot.actuate.audit.AuditEventRepository
@Repository public class CustomAuditEventRepository extends Object implements org.springframework.boot.actuate.audit.AuditEventRepository
An implementation of Spring Boot's AuditEventRepository.
-
-
Constructor Summary
Constructors Constructor Description CustomAuditEventRepository(PersistenceAuditEventRepository persistenceAuditEventRepository, AuditEventConverter auditEventConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(org.springframework.boot.actuate.audit.AuditEvent event)
List<org.springframework.boot.actuate.audit.AuditEvent>
find(String principal, Instant after, String type)
-
-
-
Constructor Detail
-
CustomAuditEventRepository
public CustomAuditEventRepository(PersistenceAuditEventRepository persistenceAuditEventRepository, AuditEventConverter auditEventConverter)
-
-
Method Detail
-
find
public List<org.springframework.boot.actuate.audit.AuditEvent> find(String principal, Instant after, String type)
- Specified by:
find
in interfaceorg.springframework.boot.actuate.audit.AuditEventRepository
-
add
@Transactional(propagation=REQUIRES_NEW) public void add(org.springframework.boot.actuate.audit.AuditEvent event)
- Specified by:
add
in interfaceorg.springframework.boot.actuate.audit.AuditEventRepository
-
-