public interface IAuditEventDao
Modifier and Type | Method and Description |
---|---|
long |
count()
Count the AuditEvents in this database
|
boolean |
exists(java.util.UUID uuid)
Checks whether an AuditEvent with a matching uuid exists in the database
|
AuditEvent |
findByDate(org.joda.time.DateTime dateTime)
Returns the AuditEvent that represents the given DateTime
|
AuditEvent |
findById(java.lang.Integer id)
Find the AuditEvent with an identifier equal to the parameter
|
AuditEvent |
findByUuid(java.util.UUID uuid)
Find the AuditEvent with a uuid (surrogate key) equal to the uuid supplied
|
AuditEvent |
getNextAuditEvent(AuditEvent auditEvent)
Returns the AuditEvent immediately proceeding the audit event passed as an argument
|
AuditEvent |
getPreviousAuditEvent(AuditEvent auditEvent)
Returns the AuditEvent immediately preceding the audit event passed as an argument
|
java.util.List<AuditEvent> |
list(java.lang.Integer limit,
java.lang.Integer start,
AuditEventSort sort)
Returns a sublist of AuditEvent instances stored in the database.
|
AuditEvent findById(java.lang.Integer id)
id
- AuditEvent findByUuid(java.util.UUID uuid)
uuid
- long count()
java.util.List<AuditEvent> list(java.lang.Integer limit, java.lang.Integer start, AuditEventSort sort)
limit
- the maximum number of entities returned (can be null to return all entities)start
- sort
- Whether the list is sorted going forward in time (AuditEventSort.FORWARDS)
or backwards (AuditEventSort.BACKWARDS)AuditEvent getNextAuditEvent(AuditEvent auditEvent)
auditEvent
- AuditEvent getPreviousAuditEvent(AuditEvent auditEvent)
auditEvent
- boolean exists(java.util.UUID uuid)
uuid
- AuditEvent findByDate(org.joda.time.DateTime dateTime)
dateTime
- Copyright © 2007-2020 EDIT. All Rights Reserved.