public class EntitiesModifiedAtRevisionQuery extends AbstractAuditQuery
EntitiesAtRevisionQuery
this query returns an empty collection if an entity
of a certain type has not been changed in a given revision.EntitiesAtRevisionQuery
aliasToEntityNameMap, associationQueries, associationQueryMap, criterions, entityClassName, entityInstantiator, entityName, enversService, hasOrder, projections, qb, versionsEntityName, versionsReader
Constructor and Description |
---|
EntitiesModifiedAtRevisionQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Class<?> cls,
Number revision) |
EntitiesModifiedAtRevisionQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Class<?> cls,
String entityName,
Number revision) |
Modifier and Type | Method and Description |
---|---|
List |
list() |
add, addOrder, addProjection, applyProjections, buildAndExecuteQuery, buildQuery, getAlias, getEntityConfiguration, getEntityName, getResultList, getSingleResult, hasProjection, registerProjection, setCacheable, setCacheMode, setCacheRegion, setComment, setFirstResult, setFlushMode, setLockMode, setLockOptions, setMaxResults, setQueryProperties, setTimeout, traverseRelation, traverseRelation
public EntitiesModifiedAtRevisionQuery(EnversService enversService, AuditReaderImplementor versionsReader, Class<?> cls, Number revision)
public EntitiesModifiedAtRevisionQuery(EnversService enversService, AuditReaderImplementor versionsReader, Class<?> cls, String entityName, Number revision)
public List list()
list
in class AbstractAuditQuery
Copyright © 2019 JBoss by Red Hat. All rights reserved.