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
criterions, entityClassName, entityInstantiator, entityName, enversService, hasOrder, hasProjection, 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, buildAndExecuteQuery, buildQuery, getResultList, getSingleResult, setCacheable, setCacheMode, setCacheRegion, setComment, setFirstResult, setFlushMode, setLockMode, setLockOptions, setMaxResults, setQueryProperties, setTimeout
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 © 2016 JBoss by Red Hat. All rights reserved.