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 thePersistentAuditEvententity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.data.domain.Page<PersistentAuditEvent>findAllByAuditEventDateBetween(Instant fromDate, Instant toDate, org.springframework.data.domain.Pageable pageable)List<PersistentAuditEvent>findByAuditEventDateBefore(Instant before)List<PersistentAuditEvent>findByPrincipal(String principal)List<PersistentAuditEvent>findByPrincipalAndAuditEventDateAfterAndAuditEventType(String principal, Instant after, String type)-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
-
-
-
-
Method Detail
-
findByPrincipal
List<PersistentAuditEvent> findByPrincipal(String principal)
-
findByPrincipalAndAuditEventDateAfterAndAuditEventType
List<PersistentAuditEvent> findByPrincipalAndAuditEventDateAfterAndAuditEventType(String principal, Instant after, String type)
-
findAllByAuditEventDateBetween
org.springframework.data.domain.Page<PersistentAuditEvent> findAllByAuditEventDateBetween(Instant fromDate, Instant toDate, org.springframework.data.domain.Pageable pageable)
-
findByAuditEventDateBefore
List<PersistentAuditEvent> findByAuditEventDateBefore(Instant before)
-
-