org.hibernate.envers.configuration.metadata.reader
Class AuditedPropertiesReader

java.lang.Object
  extended by org.hibernate.envers.configuration.metadata.reader.AuditedPropertiesReader
Direct Known Subclasses:
ComponentAuditedPropertiesReader

public class AuditedPropertiesReader
extends Object

Reads persistent properties form a PersistentPropertiesSource and adds the ones that are audited to a AuditedPropertiesHolder, filling all the auditing data.

Author:
Adam Warski (adam at warski dot org), Erik-Berndt Scheper, Hern&aacut;n Chanfreau, Lukasz Antoniak (lukasz dot antoniak at gmail dot com)

Field Summary
protected  ModificationStore defaultStore
           
 
Constructor Summary
AuditedPropertiesReader(ModificationStore defaultStore, PersistentPropertiesSource persistentPropertiesSource, AuditedPropertiesHolder auditedPropertiesHolder, GlobalConfiguration globalCfg, org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager, String propertyNamePrefix)
           
 
Method Summary
protected  boolean checkAudited(org.hibernate.annotations.common.reflection.XProperty property, PropertyAuditingData propertyData, Audited allClassAudited)
           
 void read()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultStore

protected final ModificationStore defaultStore
Constructor Detail

AuditedPropertiesReader

public AuditedPropertiesReader(ModificationStore defaultStore,
                               PersistentPropertiesSource persistentPropertiesSource,
                               AuditedPropertiesHolder auditedPropertiesHolder,
                               GlobalConfiguration globalCfg,
                               org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager,
                               String propertyNamePrefix)
Method Detail

read

public void read()

checkAudited

protected boolean checkAudited(org.hibernate.annotations.common.reflection.XProperty property,
                               PropertyAuditingData propertyData,
                               Audited allClassAudited)


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