public class ClassAuditingData extends Object implements AuditedPropertiesHolder
Constructor and Description |
---|
ClassAuditingData() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyAuditingData(String propertyName,
PropertyAuditingData auditingData)
Add an audited property.
|
boolean |
contains(String propertyName) |
AuditTable |
getAuditTable() |
Iterable<String> |
getNonSyntheticPropertyNames() |
PropertyAuditingData |
getPropertyAuditingData(String propertyName) |
Iterable<String> |
getPropertyNames() |
Map<String,String> |
getSecondaryTableDictionary() |
Iterable<PropertyAuditingData> |
getSyntheticProperties() |
boolean |
isAudited() |
boolean |
isEmpty() |
void |
setAuditTable(AuditTable auditTable) |
void |
setDefaultAudited(boolean defaultAudited) |
public boolean isEmpty()
isEmpty
in interface AuditedPropertiesHolder
public void addPropertyAuditingData(String propertyName, PropertyAuditingData auditingData)
AuditedPropertiesHolder
addPropertyAuditingData
in interface AuditedPropertiesHolder
propertyName
- Name of the audited property.auditingData
- Data for the audited property.public PropertyAuditingData getPropertyAuditingData(String propertyName)
getPropertyAuditingData
in interface AuditedPropertiesHolder
propertyName
- Name of a property.public AuditTable getAuditTable()
public void setAuditTable(AuditTable auditTable)
public void setDefaultAudited(boolean defaultAudited)
public boolean isAudited()
public boolean contains(String propertyName)
contains
in interface AuditedPropertiesHolder
public Iterable<PropertyAuditingData> getSyntheticProperties()
Copyright © 2021 JBoss by Red Hat. All rights reserved.