public abstract class CriteriaTools extends Object
Constructor and Description |
---|
CriteriaTools() |
Modifier and Type | Method and Description |
---|---|
static void |
checkPropertyNotARelation(EnversService enversService,
String entityName,
String propertyName) |
static String |
determinePropertyName(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
PropertyNameGetter propertyNameGetter) |
static String |
determinePropertyName(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String propertyName) |
static RelationDescription |
getRelatedEntity(EnversService enversService,
String entityName,
String propertyName) |
public static void checkPropertyNotARelation(EnversService enversService, String entityName, String propertyName) throws AuditException
AuditException
public static RelationDescription getRelatedEntity(EnversService enversService, String entityName, String propertyName) throws AuditException
AuditException
public static String determinePropertyName(EnversService enversService, AuditReaderImplementor versionsReader, String entityName, PropertyNameGetter propertyNameGetter)
public static String determinePropertyName(EnversService enversService, AuditReaderImplementor versionsReader, String entityName, String propertyName)
enversService
- The EnversServiceversionsReader
- Versions reader.entityName
- Original entity name (not audited).propertyName
- Property name or placeholder.AuditId
.Copyright © 2017 JBoss by Red Hat. All rights reserved.