public class AggregatedAuditExpression extends Object implements AuditCriterion, ExtendableCriterion
Modifier and Type | Class and Description |
---|---|
static class |
AggregatedAuditExpression.AggregatedMode |
Constructor and Description |
---|
AggregatedAuditExpression(String alias,
PropertyNameGetter propertyNameGetter,
AggregatedAuditExpression.AggregatedMode mode) |
Modifier and Type | Method and Description |
---|---|
AggregatedAuditExpression |
add(AuditCriterion criterion) |
void |
addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Map<String,String> aliasToEntityNameMap,
String baseAlias,
QueryBuilder qb,
Parameters parameters) |
AggregatedAuditExpression |
computeAggregationInInstanceContext()
Compute aggregated expression in the context of each entity instance separately.
|
public AggregatedAuditExpression(String alias, PropertyNameGetter propertyNameGetter, AggregatedAuditExpression.AggregatedMode mode)
public AggregatedAuditExpression add(AuditCriterion criterion)
add
in interface ExtendableCriterion
public void addToQuery(EnversService enversService, AuditReaderImplementor versionsReader, Map<String,String> aliasToEntityNameMap, String baseAlias, QueryBuilder qb, Parameters parameters)
addToQuery
in interface AuditCriterion
public AggregatedAuditExpression computeAggregationInInstanceContext()
Copyright © 2019 JBoss by Red Hat. All rights reserved.