public class DefaultTrackingModifiedEntitiesRevisionInfoGenerator extends DefaultRevisionInfoGenerator
ModifiedEntityNames
,
DefaultTrackingModifiedEntitiesRevisionEntity
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 © 2017 JBoss by Red Hat. All rights reserved.