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,
java.lang.Class<?> cls,
java.lang.Number revision) |
EntitiesModifiedAtRevisionQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
java.lang.Class<?> cls,
java.lang.String entityName,
java.lang.Number revision) |
Modifier and Type | Method and Description |
---|---|
java.util.List |
list() |
add, addOrder, addProjection, applyProjections, buildAndExecuteQuery, buildQuery, getAlias, getResultList, getSingleResult, hasProjection, registerProjection, setCacheable, setCacheMode, setCacheRegion, setComment, setFirstResult, setFlushMode, setLockMode, setLockOptions, setMaxResults, setQueryProperties, setTimeout, traverseRelation, traverseRelation
public EntitiesModifiedAtRevisionQuery(EnversService enversService, AuditReaderImplementor versionsReader, java.lang.Class<?> cls, java.lang.Number revision)
public EntitiesModifiedAtRevisionQuery(EnversService enversService, AuditReaderImplementor versionsReader, java.lang.Class<?> cls, java.lang.String entityName, java.lang.Number revision)
public java.util.List list()
list
in class AbstractAuditQuery
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.