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.
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()
getEmbeddableSetOrdinalPropertyName
public String getEmbeddableSetOrdinalPropertyName()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.