Interface PersistenceAuditEventRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PersistentAuditEvent,Long>,org.springframework.data.jpa.repository.JpaRepository<PersistentAuditEvent,Long>,org.springframework.data.repository.PagingAndSortingRepository<PersistentAuditEvent,Long>,org.springframework.data.repository.query.QueryByExampleExecutor<PersistentAuditEvent>,org.springframework.data.repository.Repository<PersistentAuditEvent,Long>
public interface PersistenceAuditEventRepository extends org.springframework.data.jpa.repository.JpaRepository<PersistentAuditEvent,Long>
Spring Data JPA repository for the PersistentAuditEvent entity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.data.domain.Page<PersistentAuditEvent>findAllByAuditEventDateBetween(LocalDateTime fromDate, LocalDateTime toDate, org.springframework.data.domain.Pageable pageable)List<PersistentAuditEvent>findByAuditEventDateAfter(LocalDateTime after)List<PersistentAuditEvent>findByPrincipal(String principal)List<PersistentAuditEvent>findByPrincipalAndAuditEventDateAfter(String principal, LocalDateTime after)List<PersistentAuditEvent>findByPrincipalAndAuditEventDateAfterAndAuditEventType(String principle, LocalDateTime after, String type)-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
-
-
-
-
Method Detail
-
findByPrincipal
List<PersistentAuditEvent> findByPrincipal(String principal)
-
findByAuditEventDateAfter
List<PersistentAuditEvent> findByAuditEventDateAfter(LocalDateTime after)
-
findByPrincipalAndAuditEventDateAfter
List<PersistentAuditEvent> findByPrincipalAndAuditEventDateAfter(String principal, LocalDateTime after)
-
findByPrincipalAndAuditEventDateAfterAndAuditEventType
List<PersistentAuditEvent> findByPrincipalAndAuditEventDateAfterAndAuditEventType(String principle, LocalDateTime after, String type)
-
findAllByAuditEventDateBetween
org.springframework.data.domain.Page<PersistentAuditEvent> findAllByAuditEventDateBetween(LocalDateTime fromDate, LocalDateTime toDate, org.springframework.data.domain.Pageable pageable)
-
-