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