Package | Description |
---|---|
org.hibernate.envers | |
org.hibernate.envers.query |
Modifier and Type | Method and Description |
---|---|
static RevisionType |
RevisionType.fromRepresentation(java.lang.Object representation) |
static RevisionType |
RevisionType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RevisionType[] |
RevisionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<RevisionType,java.util.List<java.lang.Object>> |
CrossTypeRevisionChangesReader.findEntitiesGroupByRevisionType(java.lang.Number revision)
Find all entities changed (added, updated and removed) in a given revision grouped by modification type.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityTrackingRevisionListener.entityChanged(java.lang.Class entityClass,
java.lang.String entityName,
java.io.Serializable entityId,
RevisionType revisionType,
java.lang.Object revisionEntity)
Called after audited entity data has been persisted.
|
java.util.List<java.lang.Object> |
CrossTypeRevisionChangesReader.findEntities(java.lang.Number revision,
RevisionType revisionType)
Find all entities changed (added, updated or removed) in a given revision.
|
Modifier and Type | Method and Description |
---|---|
static AuditProperty<RevisionType> |
AuditEntity.revisionType()
Create restrictions, projections and specify order for the revision type, corresponding to an
audited entity.
|
static AuditProperty<RevisionType> |
AuditEntity.revisionType(java.lang.String alias)
Create restrictions, projections and specify order for the revision type, corresponding to an
audited entity.
|
Copyright © 2001-2020 Red Hat, Inc. All Rights Reserved.