public class LspsDefaultRevisionInfoGenerator extends Object implements org.hibernate.envers.revisioninfo.RevisionInfoGenerator
Constructor and Description |
---|
LspsDefaultRevisionInfoGenerator(ComponentService componentService,
String revisionInfoEntityName,
Class<? extends org.hibernate.envers.RevisionListener> listenerClass,
org.hibernate.envers.entities.PropertyData revisionInfoTimestampData,
boolean timestampAsDate)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
entityChanged(Class entityClass,
String entityName,
Serializable entityId,
org.hibernate.envers.RevisionType revisionType,
Object revisionInfo) |
Object |
generate() |
void |
saveRevisionData(org.hibernate.Session session,
Object revisionData) |
public LspsDefaultRevisionInfoGenerator(ComponentService componentService, String revisionInfoEntityName, Class<? extends org.hibernate.envers.RevisionListener> listenerClass, org.hibernate.envers.entities.PropertyData revisionInfoTimestampData, boolean timestampAsDate)
componentService
- revisionInfoEntityName
- listenerClass
- revisionInfoTimestampData
- timestampAsDate
- public void saveRevisionData(org.hibernate.Session session, Object revisionData)
saveRevisionData
in interface org.hibernate.envers.revisioninfo.RevisionInfoGenerator
public Object generate()
generate
in interface org.hibernate.envers.revisioninfo.RevisionInfoGenerator
public void entityChanged(Class entityClass, String entityName, Serializable entityId, org.hibernate.envers.RevisionType revisionType, Object revisionInfo)
entityChanged
in interface org.hibernate.envers.revisioninfo.RevisionInfoGenerator
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.