Package | Description |
---|---|
org.hibernate.envers |
Modifier and Type | Method and Description |
---|---|
<T> T |
AuditReader.find(java.lang.Class<T> cls,
java.lang.Object primaryKey,
java.util.Date date)
Find an entity by primary key on the given date.
|
<T> T |
AuditReader.find(java.lang.Class<T> cls,
java.lang.Object primaryKey,
java.lang.Number revision)
Find an entity by primary key at the given revision.
|
<T> T |
AuditReader.find(java.lang.Class<T> cls,
java.lang.String entityName,
java.lang.Object primaryKey,
java.lang.Number revision)
Find an entity by primary key at the given revision with the specified entityName.
|
<T> T |
AuditReader.find(java.lang.Class<T> cls,
java.lang.String entityName,
java.lang.Object primaryKey,
java.lang.Number revision,
boolean includeDeletions)
Find an entity by primary key at the given revision with the specified entityName,
possibly including deleted entities in the search.
|
java.util.List<java.lang.Number> |
AuditReader.getRevisions(java.lang.Class<?> cls,
java.lang.Object primaryKey)
Get a list of revision numbers, at which an entity was modified.
|
java.util.List<java.lang.Number> |
AuditReader.getRevisions(java.lang.Class<?> cls,
java.lang.String entityName,
java.lang.Object primaryKey)
Get a list of revision numbers, at which an entity was modified, looking by entityName.
|
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.