org.hibernate.envers.configuration
Class AuditEntitiesConfiguration
java.lang.Object
org.hibernate.envers.configuration.AuditEntitiesConfiguration
public class AuditEntitiesConfiguration
- extends Object
Configuration of versions entities - names of fields, entities and tables created to store versioning information.
- Author:
- Adam Warski (adam at warski dot org), Stephanie Pau at Markit Group Plc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuditEntitiesConfiguration
public AuditEntitiesConfiguration(Properties properties,
String revisionInfoEntityName)
getOriginalIdPropName
public String getOriginalIdPropName()
getRevisionFieldName
public String getRevisionFieldName()
isRevisionEndTimestampEnabled
public boolean isRevisionEndTimestampEnabled()
getRevisionEndTimestampFieldName
public String getRevisionEndTimestampFieldName()
getRevisionNumberPath
public String getRevisionNumberPath()
getRevisionPropPath
public String getRevisionPropPath(String propertyName)
- Parameters:
propertyName
- Property of the revision entity.
- Returns:
- A path to the given property of the revision entity associated with an audit entity.
getRevisionTypePropName
public String getRevisionTypePropName()
getRevisionTypePropType
public String getRevisionTypePropType()
getRevisionInfoEntityName
public String getRevisionInfoEntityName()
addCustomAuditTableName
public void addCustomAuditTableName(String entityName,
String tableName)
getAuditEntityName
public String getAuditEntityName(String entityName)
getAuditTableName
public String getAuditTableName(String entityName,
String tableName)
getAuditStrategyName
public String getAuditStrategyName()
getRevisionEndFieldName
public String getRevisionEndFieldName()
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.