Class AuditedPropertiesReader
- java.lang.Object
-
- org.hibernate.envers.configuration.internal.metadata.reader.AuditedPropertiesReader
-
- Direct Known Subclasses:
ComponentAuditedPropertiesReader
public class AuditedPropertiesReader extends Object
Reads persistent properties form aPersistentPropertiesSource
and adds the ones that are audited to aAuditedPropertiesHolder
, filling all the auditing data.
-
-
Constructor Summary
Constructors Constructor Description AuditedPropertiesReader(EnversMetadataBuildingContext metadataBuildingContext, PersistentPropertiesSource persistentPropertiesSource, AuditedPropertiesHolder auditedPropertiesHolder)
AuditedPropertiesReader(EnversMetadataBuildingContext metadataBuildingContext, PersistentPropertiesSource persistentPropertiesSource, AuditedPropertiesHolder auditedPropertiesHolder, String propertyNamePrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkAudited(org.hibernate.annotations.common.reflection.XProperty property, PropertyAuditingData propertyData, String propertyName, Audited allClassAudited, String modifiedFlagSuffix)
protected boolean
checkAudited(Property property, PropertyAuditingData propertyData, String propertyName, Audited allClassAudited, String modifiedFlagSuffix)
protected boolean
checkUsingModifiedFlag(Audited aud)
protected boolean
isClassHierarchyTraversalNeeded(Audited allClassAudited)
protected boolean
isOverriddenAudited(org.hibernate.annotations.common.reflection.XClass clazz)
protected boolean
isOverriddenAudited(org.hibernate.annotations.common.reflection.XProperty property)
protected boolean
isOverriddenNotAudited(org.hibernate.annotations.common.reflection.XClass clazz)
protected boolean
isOverriddenNotAudited(org.hibernate.annotations.common.reflection.XProperty property)
void
read()
void
read(Audited allClassAudited)
-
-
-
Field Detail
-
NO_PREFIX
public static final String NO_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AuditedPropertiesReader
public AuditedPropertiesReader(EnversMetadataBuildingContext metadataBuildingContext, PersistentPropertiesSource persistentPropertiesSource, AuditedPropertiesHolder auditedPropertiesHolder)
-
AuditedPropertiesReader
public AuditedPropertiesReader(EnversMetadataBuildingContext metadataBuildingContext, PersistentPropertiesSource persistentPropertiesSource, AuditedPropertiesHolder auditedPropertiesHolder, String propertyNamePrefix)
-
-
Method Detail
-
read
public void read()
-
read
public void read(Audited allClassAudited)
-
isClassHierarchyTraversalNeeded
protected boolean isClassHierarchyTraversalNeeded(Audited allClassAudited)
-
checkAudited
protected boolean checkAudited(org.hibernate.annotations.common.reflection.XProperty property, PropertyAuditingData propertyData, String propertyName, Audited allClassAudited, String modifiedFlagSuffix)
-
checkAudited
protected boolean checkAudited(Property property, PropertyAuditingData propertyData, String propertyName, Audited allClassAudited, String modifiedFlagSuffix)
-
checkUsingModifiedFlag
protected boolean checkUsingModifiedFlag(Audited aud)
-
isOverriddenNotAudited
protected boolean isOverriddenNotAudited(org.hibernate.annotations.common.reflection.XProperty property)
-
isOverriddenNotAudited
protected boolean isOverriddenNotAudited(org.hibernate.annotations.common.reflection.XClass clazz)
-
isOverriddenAudited
protected boolean isOverriddenAudited(org.hibernate.annotations.common.reflection.XProperty property)
-
isOverriddenAudited
protected boolean isOverriddenAudited(org.hibernate.annotations.common.reflection.XClass clazz)
-
-