Class DefaultTrackingModifiedEntitiesRevisionInfoGenerator
- java.lang.Object
-
- org.hibernate.envers.internal.revisioninfo.DefaultRevisionInfoGenerator
-
- org.hibernate.envers.internal.revisioninfo.DefaultTrackingModifiedEntitiesRevisionInfoGenerator
-
- All Implemented Interfaces:
RevisionInfoGenerator
public class DefaultTrackingModifiedEntitiesRevisionInfoGenerator extends DefaultRevisionInfoGenerator
Automatically adds entity names, that have been changed during current revision, to revision entity.
-
-
Constructor Summary
Constructors Constructor Description DefaultTrackingModifiedEntitiesRevisionInfoGenerator(String revisionInfoEntityName, Class<?> revisionInfoClass, Class<? extends RevisionListener> listenerClass, RevisionTimestampValueResolver timestampValueResolver, PropertyData modifiedEntityNamesData, ServiceRegistry serviceRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
entityChanged(Class entityClass, String entityName, Object entityId, RevisionType revisionType, Object revisionEntity)
-
Methods inherited from class org.hibernate.envers.internal.revisioninfo.DefaultRevisionInfoGenerator
generate, saveRevisionData, setRevisionInfoNumberReader
-
-
-
-
Constructor Detail
-
DefaultTrackingModifiedEntitiesRevisionInfoGenerator
public DefaultTrackingModifiedEntitiesRevisionInfoGenerator(String revisionInfoEntityName, Class<?> revisionInfoClass, Class<? extends RevisionListener> listenerClass, RevisionTimestampValueResolver timestampValueResolver, PropertyData modifiedEntityNamesData, ServiceRegistry serviceRegistry)
-
-
Method Detail
-
entityChanged
public void entityChanged(Class entityClass, String entityName, Object entityId, RevisionType revisionType, Object revisionEntity)
- Specified by:
entityChanged
in interfaceRevisionInfoGenerator
- Overrides:
entityChanged
in classDefaultRevisionInfoGenerator
- See Also:
EntityTrackingRevisionListener.entityChanged(Class, String, Object, RevisionType, Object)
-
-