public final class AuditMetadataGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static EnversMessageLogger |
LOG |
Constructor and Description |
---|
AuditMetadataGenerator(Configuration cfg,
GlobalConfiguration globalCfg,
AuditEntitiesConfiguration verEntCfg,
AuditStrategy auditStrategy,
org.dom4j.Element revisionInfoRelationMapping,
AuditEntityNameRegister auditEntityNameRegister) |
Modifier and Type | Method and Description |
---|---|
void |
generateFirstPass(PersistentClass pc,
ClassAuditingData auditingData,
EntityXmlMappingData xmlMappingData,
boolean isAudited) |
void |
generateSecondPass(PersistentClass pc,
ClassAuditingData auditingData,
EntityXmlMappingData xmlMappingData) |
protected String |
getCatalog(String catalogFromAnnotation,
Table table) |
Map<String,EntityConfiguration> |
getEntitiesConfigurations() |
Map<String,EntityConfiguration> |
getNotAuditedEntitiesConfigurations()
Get the notAuditedEntitiesConfigurations property.
|
protected String |
getSchema(String schemaFromAnnotation,
Table table) |
public static final EnversMessageLogger LOG
public AuditMetadataGenerator(Configuration cfg, GlobalConfiguration globalCfg, AuditEntitiesConfiguration verEntCfg, AuditStrategy auditStrategy, org.dom4j.Element revisionInfoRelationMapping, AuditEntityNameRegister auditEntityNameRegister)
public void generateFirstPass(PersistentClass pc, ClassAuditingData auditingData, EntityXmlMappingData xmlMappingData, boolean isAudited)
public void generateSecondPass(PersistentClass pc, ClassAuditingData auditingData, EntityXmlMappingData xmlMappingData)
public Map<String,EntityConfiguration> getEntitiesConfigurations()
public Map<String,EntityConfiguration> getNotAuditedEntitiesConfigurations()
Copyright © 2018 JBoss by Red Hat. All rights reserved.