public class AuditDAO extends HibernateRepository<Audit>
Audit
objectsConstructor and Description |
---|
AuditDAO() |
Modifier and Type | Method and Description |
---|---|
int |
deleteAll(Entry entry) |
Audit |
get(long id)
Retrieves audit referenced by unique identifier
|
List<Audit> |
getAuditsForEntry(Entry entry,
int limit,
int offset,
boolean asc,
String sort) |
int |
getAuditsForEntryCount(Entry entry) |
create, currentSession, delete, get, getBuilder, update
public Audit get(long id)
id
- unique identifier for audit classpublic List<Audit> getAuditsForEntry(Entry entry, int limit, int offset, boolean asc, String sort)
public int getAuditsForEntryCount(Entry entry)
public int deleteAll(Entry entry)
Copyright © 2017. All rights reserved.