org.hibernate.envers.configuration
Class ClassesAuditingData

java.lang.Object
  extended by org.hibernate.envers.configuration.ClassesAuditingData

public class ClassesAuditingData
extends Object

A helper class holding auditing meta-data for all persistent classes.


Field Summary
static EnversMessageLogger LOG
           
 
Constructor Summary
ClassesAuditingData()
           
 
Method Summary
 void addClassAuditingData(PersistentClass pc, ClassAuditingData cad)
          Stores information about auditing meta-data for the given class.
 Collection<Map.Entry<PersistentClass,ClassAuditingData>> getAllClassAuditedData()
           
 ClassAuditingData getClassAuditingData(String entityName)
           
 void updateCalculatedFields()
          After all meta-data is read, updates calculated fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final EnversMessageLogger LOG
Constructor Detail

ClassesAuditingData

public ClassesAuditingData()
Method Detail

addClassAuditingData

public void addClassAuditingData(PersistentClass pc,
                                 ClassAuditingData cad)
Stores information about auditing meta-data for the given class.

Parameters:
pc - Persistent class.
cad - Auditing meta-data for the given class.

getAllClassAuditedData

public Collection<Map.Entry<PersistentClass,ClassAuditingData>> getAllClassAuditedData()
Returns:
A collection of all auditing meta-data for persistent classes.

getClassAuditingData

public ClassAuditingData getClassAuditingData(String entityName)
Parameters:
entityName - Name of the entity.
Returns:
Auditing meta-data for the given entity.

updateCalculatedFields

public void updateCalculatedFields()
After all meta-data is read, updates calculated fields. This includes:



Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.