public class ClassesAuditingData extends Object
Constructor and Description |
---|
ClassesAuditingData() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void addClassAuditingData(PersistentClass pc, ClassAuditingData cad)
pc
- Persistent class.cad
- Auditing meta-data for the given class.public Collection<Map.Entry<PersistentClass,ClassAuditingData>> getAllClassAuditedData()
public ClassAuditingData getClassAuditingData(String entityName)
entityName
- Name of the entity.public void updateCalculatedFields()
forceInsertable
to true
for properties specified by @AuditMappedBy
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.