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.
-
-
Field Summary
Fields Modifier and Type Field Description static String
IDENTIFIER_PLACEHOLDER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditCriterion
eq(Object id)
Apply an "equal" constraintAuditCriterion
hasChanged()
AuditCriterion
hasNotChanged()
AuditCriterion
ne(Object id)
Apply a "not equal" constraint-
Methods inherited from class org.hibernate.envers.query.criteria.AuditProperty
addProjectionToQuery, asc, between, convertQueryResult, count, countDistinct, desc, distinct, eqFunction, eqProperty, eqProperty, function, ge, geFunction, geProperty, geProperty, getAlias, getPropertyNameGetter, gt, gtFunction, gtProperty, gtProperty, ilike, ilike, in, in, isNotNull, isNull, le, leFunction, leProperty, leProperty, like, like, lt, ltFunction, ltProperty, ltProperty, max, maximize, min, minimize, neFunction, neProperty, neProperty
-
-
-
-
Field Detail
-
IDENTIFIER_PLACEHOLDER
public static final String IDENTIFIER_PLACEHOLDER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AuditId
public AuditId(String alias)
-
-
Method Detail
-
eq
public AuditCriterion eq(Object id)
Apply an "equal" constraint- Overrides:
eq
in classAuditProperty<T>
-
ne
public AuditCriterion ne(Object id)
Apply a "not equal" constraint- Overrides:
ne
in classAuditProperty<T>
-
hasChanged
public AuditCriterion hasChanged()
- Overrides:
hasChanged
in classAuditProperty<T>
-
hasNotChanged
public AuditCriterion hasNotChanged()
- Overrides:
hasNotChanged
in classAuditProperty<T>
-
-