Package org.powertac.visualizer.service
Class AuditEventService
java.lang.Object
org.powertac.visualizer.service.AuditEventService
@Service @Transactional public class AuditEventService extends Object
Service for managing audit events.
This is the default implementation to support SpringBoot Actuator AuditEventRepository
-
Constructor Summary
Constructors Constructor Description AuditEventService(PersistenceAuditEventRepository persistenceAuditEventRepository, AuditEventConverter auditEventConverter) -
Method Summary
Modifier and Type Method 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)
-
Constructor Details
-
AuditEventService
public AuditEventService(PersistenceAuditEventRepository persistenceAuditEventRepository, AuditEventConverter auditEventConverter)
-
-
Method Details
-
findAll
public org.springframework.data.domain.Page<org.springframework.boot.actuate.audit.AuditEvent> findAll(org.springframework.data.domain.Pageable pageable) -
findByDates
public org.springframework.data.domain.Page<org.springframework.boot.actuate.audit.AuditEvent> findByDates(LocalDateTime fromDate, LocalDateTime toDate, org.springframework.data.domain.Pageable pageable) -
find
-