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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.envers.query.projection.AuditProjection
AuditProjection.ProjectionData
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIDENTIFIER_PLACEHOLDER
-
Constructor Summary
Constructors Constructor Description AuditId(java.lang.String alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditCriterioneq(java.lang.Object id)Apply an "equal" constraintAuditCriterionhasChanged()AuditCriterionhasNotChanged()AuditCriterionne(java.lang.Object id)Apply a "not equal" constraint-
Methods inherited from class org.hibernate.envers.query.criteria.AuditProperty
asc, between, convertQueryResult, count, countDistinct, desc, distinct, eqProperty, eqProperty, function, ge, geProperty, geProperty, getData, gt, gtProperty, gtProperty, ilike, ilike, ilike, in, in, isNotNull, isNull, le, leProperty, leProperty, like, like, like, lt, ltProperty, ltProperty, max, maximize, min, minimize, neProperty, neProperty
-
-
-
-
Field Detail
-
IDENTIFIER_PLACEHOLDER
public static final java.lang.String IDENTIFIER_PLACEHOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
eq
public AuditCriterion eq(java.lang.Object id)
Apply an "equal" constraint- Overrides:
eqin classAuditProperty<T>
-
ne
public AuditCriterion ne(java.lang.Object id)
Apply a "not equal" constraint- Overrides:
nein classAuditProperty<T>
-
hasChanged
public AuditCriterion hasChanged()
- Overrides:
hasChangedin classAuditProperty<T>
-
hasNotChanged
public AuditCriterion hasNotChanged()
- Overrides:
hasNotChangedin classAuditProperty<T>
-
-