public class DefaultTrackingModifiedEntitiesRevisionInfoGenerator extends DefaultRevisionInfoGenerator
Constructor and Description |
---|
DefaultTrackingModifiedEntitiesRevisionInfoGenerator(java.lang.String revisionInfoEntityName,
java.lang.Class<?> revisionInfoClass,
java.lang.Class<? extends RevisionListener> listenerClass,
PropertyData revisionInfoTimestampData,
boolean timestampAsDate,
PropertyData modifiedEntityNamesData,
ServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
entityChanged(java.lang.Class entityClass,
java.lang.String entityName,
java.io.Serializable entityId,
RevisionType revisionType,
java.lang.Object revisionEntity) |
generate, saveRevisionData
public DefaultTrackingModifiedEntitiesRevisionInfoGenerator(java.lang.String revisionInfoEntityName, java.lang.Class<?> revisionInfoClass, java.lang.Class<? extends RevisionListener> listenerClass, PropertyData revisionInfoTimestampData, boolean timestampAsDate, PropertyData modifiedEntityNamesData, ServiceRegistry serviceRegistry)
public void entityChanged(java.lang.Class entityClass, java.lang.String entityName, java.io.Serializable entityId, RevisionType revisionType, java.lang.Object revisionEntity)
entityChanged
in interface RevisionInfoGenerator
entityChanged
in class DefaultRevisionInfoGenerator
EntityTrackingRevisionListener.entityChanged(Class, String, Serializable, RevisionType, Object)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.