AuditStrategy instead.@Deprecated public interface AuditStrategy extends AuditStrategy
| Modifier and Type | Method and Description |
|---|---|
default void |
perform(Session session,
String entityName,
org.hibernate.envers.boot.internal.EnversService enversService,
Serializable id,
Object data,
Object revision)
Deprecated.
|
default void |
performCollectionChange(Session session,
String entityName,
String propertyName,
org.hibernate.envers.boot.internal.EnversService enversService,
org.hibernate.envers.internal.entities.mapper.PersistentCollectionChangeData persistentCollectionChangeData,
Object revision)
|
addAdditionalColumns, addAssociationAtRevisionRestriction, addEntityAtRevisionRestriction, perform, performCollectionChange, postInitialize@Deprecated default void perform(Session session, String entityName, org.hibernate.envers.boot.internal.EnversService enversService, Serializable id, Object data, Object revision)
AuditStrategy.perform(Session, String, AuditEntitiesConfiguration, Serializable, Object, Object)session - Session, which can be used to persist the data.entityName - Name of the entity, in which the audited change happensenversService - The EnversServiceid - Id of the entity.data - Audit data to persistrevision - Current revision data@Deprecated default void performCollectionChange(Session session, String entityName, String propertyName, org.hibernate.envers.boot.internal.EnversService enversService, org.hibernate.envers.internal.entities.mapper.PersistentCollectionChangeData persistentCollectionChangeData, Object revision)
AuditStrategy.performCollectionChange(Session, String, String, AuditEntitiesConfiguration, PersistentCollectionChangeData, Object)session - Session, which can be used to persist the data.entityName - Name of the entity, in which the audited change happens.propertyName - The name of the property holding the persistent collectionenversService - The EnversServicepersistentCollectionChangeData - Collection change data to be persisted.revision - Current revision dataCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.