Package org.hibernate.envers.query
Interface AuditQuery
-
- All Known Subinterfaces:
AuditAssociationQuery<Q>
public interface AuditQuery- See Also:
Criteria
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuditQueryadd(AuditCriterion criterion)AuditQueryaddOrder(AuditOrder order)AuditQueryaddProjection(AuditProjection projection)java.lang.StringgetAlias()java.util.ListgetResultList()java.lang.ObjectgetSingleResult()AuditQuerysetCacheable(boolean cacheable)AuditQuerysetCacheMode(org.hibernate.CacheMode cacheMode)AuditQuerysetCacheRegion(java.lang.String cacheRegion)AuditQuerysetComment(java.lang.String comment)AuditQuerysetFirstResult(int firstResult)AuditQuerysetFlushMode(org.hibernate.FlushMode flushMode)AuditQuerysetLockMode(org.hibernate.LockMode lockMode)AuditQuerysetMaxResults(int maxResults)AuditQuerysetTimeout(int timeout)AuditAssociationQuery<? extends AuditQuery>traverseRelation(java.lang.String associationName, JoinType joinType)AuditAssociationQuery<? extends AuditQuery>traverseRelation(java.lang.String associationName, JoinType joinType, java.lang.String alias)
-
-
-
Method Detail
-
getResultList
java.util.List getResultList() throws AuditException- Throws:
AuditException
-
getSingleResult
java.lang.Object getSingleResult() throws AuditException, NonUniqueResultException, NoResultException
-
traverseRelation
AuditAssociationQuery<? extends AuditQuery> traverseRelation(java.lang.String associationName, JoinType joinType)
-
traverseRelation
AuditAssociationQuery<? extends AuditQuery> traverseRelation(java.lang.String associationName, JoinType joinType, java.lang.String alias)
-
add
AuditQuery add(AuditCriterion criterion)
-
addProjection
AuditQuery addProjection(AuditProjection projection)
-
addOrder
AuditQuery addOrder(AuditOrder order)
-
setMaxResults
AuditQuery setMaxResults(int maxResults)
-
setFirstResult
AuditQuery setFirstResult(int firstResult)
-
setCacheable
AuditQuery setCacheable(boolean cacheable)
-
setCacheRegion
AuditQuery setCacheRegion(java.lang.String cacheRegion)
-
setComment
AuditQuery setComment(java.lang.String comment)
-
setFlushMode
AuditQuery setFlushMode(org.hibernate.FlushMode flushMode)
-
setCacheMode
AuditQuery setCacheMode(org.hibernate.CacheMode cacheMode)
-
setTimeout
AuditQuery setTimeout(int timeout)
-
setLockMode
AuditQuery setLockMode(org.hibernate.LockMode lockMode)
-
getAlias
java.lang.String getAlias()
-
-