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