AuditTrailEntryRepository
Provides supporting functionality for querying AuditTrailEntry entities.
API
AuditTrailEntryRepository.java
interface AuditTrailEntryRepository {
AuditTrailEntry createFor(EntityPropertyChange change)
Optional<AuditTrailEntry> findFirstByTarget(Bookmark target)
List<AuditTrailEntry> findRecentByTarget(Bookmark target)
List<AuditTrailEntry> findRecentByTargetAndPropertyId(Bookmark target, String propertyId)
List<AuditTrailEntry> findByInteractionId(UUID interactionId)
List<AuditTrailEntry> findByTargetAndFromAndTo(Bookmark target, LocalDate from, LocalDate to)
List<AuditTrailEntry> findByFromAndTo(LocalDate from, LocalDate to)
List<AuditTrailEntry> findMostRecent()
List<AuditTrailEntry> findMostRecent(int limit)
List<AuditTrailEntry> findByUsernameAndFromAndTo(String username, LocalDate from, LocalDate to)
List<AuditTrailEntry> findByUsernameAndTargetAndFromAndTo(String username, Bookmark target, LocalDate from, LocalDate to)
List<AuditTrailEntry> findRecentByUsername(String username)
List<AuditTrailEntry> findAll() (1)
void removeAll() (2)
}
1 | findAll()
intended for testing only |
2 | removeAll()
intended for testing only |