org.hibernate.envers.query.criteria
Class AuditId<T>
java.lang.Object
org.hibernate.envers.query.criteria.AuditProperty<T>
org.hibernate.envers.query.criteria.AuditId<T>
- All Implemented Interfaces:
- AuditProjection
public class AuditId<T>
- extends AuditProperty<T>
Create restrictions and projections for the id of an audited entity.
Methods inherited from class org.hibernate.envers.query.criteria.AuditProperty |
asc, between, count, countDistinct, desc, distinct, eqProperty, function, ge, geProperty, getData, gt, gtProperty, in, in, isNotNull, isNull, le, leProperty, like, like, lt, ltProperty, max, maximize, min, minimize, neProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDENTIFIER_PLACEHOLDER
public static final String IDENTIFIER_PLACEHOLDER
- See Also:
- Constant Field Values
AuditId
public AuditId()
eq
public AuditCriterion eq(Object id)
- Apply an "equal" constraint
- Overrides:
eq
in class AuditProperty<T>
ne
public AuditCriterion ne(Object id)
- Apply a "not equal" constraint
- Overrides:
ne
in class AuditProperty<T>
count
public AuditProjection count(String idPropertyName)
- Deprecated. Use
AuditProperty.count()
.
- Projection counting the values
- Parameters:
idPropertyName
- Name of the identifier property
hasChanged
public AuditCriterion hasChanged()
- Overrides:
hasChanged
in class AuditProperty<T>
hasNotChanged
public AuditCriterion hasNotChanged()
- Overrides:
hasNotChanged
in class AuditProperty<T>
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.