public class PropertyAuditProjection extends java.lang.Object implements AuditProjection
AuditProjection.ProjectionData
Constructor and Description |
---|
PropertyAuditProjection(java.lang.String alias,
PropertyNameGetter propertyNameGetter,
java.lang.String function,
boolean distinct) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convertQueryResult(EnversService enversService,
EntityInstantiator entityInstantiator,
java.lang.String entityName,
java.lang.Number revision,
java.lang.Object value) |
AuditProjection.ProjectionData |
getData(EnversService enversService) |
public PropertyAuditProjection(java.lang.String alias, PropertyNameGetter propertyNameGetter, java.lang.String function, boolean distinct)
public AuditProjection.ProjectionData getData(EnversService enversService)
getData
in interface AuditProjection
enversService
- The EnversServicepublic java.lang.Object convertQueryResult(EnversService enversService, EntityInstantiator entityInstantiator, java.lang.String entityName, java.lang.Number revision, java.lang.Object value)
convertQueryResult
in interface AuditProjection
enversService
- the Envers serviceentityInstantiator
- the entity instantiatorentityName
- the name of the entity for which the projection has been addedrevision
- the revisionvalue
- the value to convertCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.