@Service @Transactional public class AuditEventService extends Object
This is the default implementation to support SpringBoot Actuator AuditEventRepository
| Constructor and Description |
|---|
AuditEventService(PersistenceAuditEventRepository persistenceAuditEventRepository,
AuditEventConverter auditEventConverter) |
| Modifier and Type | Method and Description |
|---|---|
Optional<org.springframework.boot.actuate.audit.AuditEvent> |
find(Long id) |
org.springframework.data.domain.Page<org.springframework.boot.actuate.audit.AuditEvent> |
findAll(org.springframework.data.domain.Pageable pageable) |
org.springframework.data.domain.Page<org.springframework.boot.actuate.audit.AuditEvent> |
findByDates(LocalDateTime fromDate,
LocalDateTime toDate,
org.springframework.data.domain.Pageable pageable) |
public AuditEventService(PersistenceAuditEventRepository persistenceAuditEventRepository, AuditEventConverter auditEventConverter)
public org.springframework.data.domain.Page<org.springframework.boot.actuate.audit.AuditEvent> findAll(org.springframework.data.domain.Pageable pageable)
public org.springframework.data.domain.Page<org.springframework.boot.actuate.audit.AuditEvent> findByDates(LocalDateTime fromDate, LocalDateTime toDate, org.springframework.data.domain.Pageable pageable)
Copyright © 2018 Power TAC. All rights reserved.