@Service @Transactional(readOnly=true) public class AuditEventService extends java.lang.Object implements IAuditEventService
Constructor and Description |
---|
AuditEventService() |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(java.util.UUID uuid)
Checks whether an AuditEvent with a matching uuid exists in the database
|
AuditEvent |
find(org.joda.time.DateTime dateTime)
Returns the AuditEvent that represents the given DateTime
|
AuditEvent |
find(java.lang.Integer id)
Find the AuditEvent with an identifier equal to the parameter
|
AuditEvent |
find(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
|
Pager<AuditEvent> |
list(java.lang.Integer pageNumber,
java.lang.Integer pageSize,
AuditEventSort sort)
Returns a paged sublist of AuditEvent instances stored in the database.
|
void |
setDao(IAuditEventDao dao) |
@Autowired public void setDao(IAuditEventDao dao)
public boolean exists(java.util.UUID uuid)
IAuditEventService
exists
in interface IAuditEventService
public AuditEvent find(java.lang.Integer id)
IAuditEventService
find
in interface IAuditEventService
public AuditEvent find(java.util.UUID uuid)
IAuditEventService
find
in interface IAuditEventService
public AuditEvent getNextAuditEvent(AuditEvent auditEvent)
IAuditEventService
getNextAuditEvent
in interface IAuditEventService
public AuditEvent getPreviousAuditEvent(AuditEvent auditEvent)
IAuditEventService
getPreviousAuditEvent
in interface IAuditEventService
public Pager<AuditEvent> list(java.lang.Integer pageNumber, java.lang.Integer pageSize, AuditEventSort sort)
IAuditEventService
list
in interface IAuditEventService
pageNumber
- the maximum number of entities returned (can be null to return all entities)sort
- Whether the list is sorted going forward in time (AuditEventSort.FORWARDS)
or backwards (AuditEventSort.BACKWARDS)public AuditEvent find(org.joda.time.DateTime dateTime)
IAuditEventService
find
in interface IAuditEventService
Copyright © 2007-2020 EDIT. All Rights Reserved.