Interface EventsRepository<T extends AuditEventEntity>
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<T,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>,org.springframework.data.repository.PagingAndSortingRepository<T,,Long> org.springframework.data.repository.Repository<T,Long>
public interface EventsRepository<T extends AuditEventEntity>
extends org.springframework.data.repository.PagingAndSortingRepository<T,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>, org.springframework.data.repository.CrudRepository<T,Long>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T> -
Method Summary
Modifier and TypeMethodDescriptionfindAllByTimestampBetweenOrderByTimestampDesc(Long startDateTime, Long endDateTime) findByEventId(String eventId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAllMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOneMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
findByEventId
-
findAllByOrderByTimestampDesc
Collection<T> findAllByOrderByTimestampDesc() -
findAllByTimestampBetweenOrderByTimestampDesc
Collection<AuditEventEntity> findAllByTimestampBetweenOrderByTimestampDesc(Long startDateTime, Long endDateTime)
-