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
-
Constructor Details
-
CustomAuditEventRepository
public CustomAuditEventRepository(PersistenceAuditEventRepository persistenceAuditEventRepository, AuditEventConverter auditEventConverter)
-
-
Method Details
-
find
public List<org.springframework.boot.actuate.audit.AuditEvent> find(String principal, Instant after, String type)- Specified by:
findin interfaceorg.springframework.boot.actuate.audit.AuditEventRepository
-
add
@Transactional(propagation=REQUIRES_NEW) public void add(org.springframework.boot.actuate.audit.AuditEvent event)- Specified by:
addin interfaceorg.springframework.boot.actuate.audit.AuditEventRepository
-