public abstract class CriteriaTools extends Object
Constructor and Description |
---|
CriteriaTools() |
Modifier and Type | Method and Description |
---|---|
static void |
checkPropertyNotARelation(AuditConfiguration verCfg,
String entityName,
String propertyName) |
static String |
determinePropertyName(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
PropertyNameGetter propertyNameGetter) |
static String |
determinePropertyName(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
String propertyName) |
static RelationDescription |
getRelatedEntity(AuditConfiguration verCfg,
String entityName,
String propertyName) |
public static void checkPropertyNotARelation(AuditConfiguration verCfg, String entityName, String propertyName) throws AuditException
AuditException
public static RelationDescription getRelatedEntity(AuditConfiguration verCfg, String entityName, String propertyName) throws AuditException
AuditException
public static String determinePropertyName(AuditConfiguration auditCfg, AuditReaderImplementor versionsReader, String entityName, PropertyNameGetter propertyNameGetter)
public static String determinePropertyName(AuditConfiguration auditCfg, AuditReaderImplementor versionsReader, String entityName, String propertyName)
auditCfg
- Audit configuration.versionsReader
- Versions reader.entityName
- Original entity name (not audited).propertyName
- Property name or placeholder.AuditId
.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.