org.hibernate.envers.query
Interface AuditQuery
- All Known Implementing Classes:
- AbstractAuditQuery, EntitiesAtRevisionQuery, RevisionsOfEntityQuery
public interface AuditQuery
- Author:
- Adam Warski (adam at warski dot org)
- See Also:
Criteria
getResultList
List getResultList()
throws AuditException
- Throws:
AuditException
getSingleResult
Object getSingleResult()
throws AuditException,
NonUniqueResultException,
NoResultException
- Throws:
AuditException
NonUniqueResultException
NoResultException
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(String cacheRegion)
setComment
AuditQuery setComment(String comment)
setFlushMode
AuditQuery setFlushMode(FlushMode flushMode)
setCacheMode
AuditQuery setCacheMode(CacheMode cacheMode)
setTimeout
AuditQuery setTimeout(int timeout)
setLockMode
AuditQuery setLockMode(LockMode lockMode)
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.