|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.envers.query.criteria.AuditProperty<T>
public class AuditProperty<T>
Create restrictions, projections and specify order for a property of an audited entity.
Constructor Summary | |
---|---|
AuditProperty(PropertyNameGetter propertyNameGetter)
|
Method Summary | |
---|---|
AuditOrder |
asc()
Sort the results by the property in ascending order |
AuditCriterion |
between(T lo,
T hi)
Apply a "between" constraint |
AuditProjection |
count()
Projection counting the values |
AuditProjection |
countDistinct()
Projection counting distinct values |
AuditOrder |
desc()
Sort the results by the property in descending order |
AuditProjection |
distinct()
Projection on distinct values |
AuditCriterion |
eq(T value)
Apply an "equal" constraint |
AuditCriterion |
eqProperty(String otherPropertyName)
Apply an "equal" constraint to another property |
AuditProjection |
function(String functionName)
Projection using a custom function |
AuditCriterion |
ge(T value)
Apply a "greater than or equal" constraint |
AuditCriterion |
geProperty(String otherPropertyName)
Apply a "greater than or equal" constraint to another property |
Triple<String,String,Boolean> |
getData(AuditConfiguration auditCfg)
|
AuditCriterion |
gt(T value)
Apply a "greater than" constraint |
AuditCriterion |
gtProperty(String otherPropertyName)
Apply a "greater than" constraint to another property |
AuditCriterion |
hasChanged()
|
AuditCriterion |
hasNotChanged()
|
AuditCriterion |
in(Collection values)
Apply an "in" constraint |
AuditCriterion |
in(T[] values)
Apply an "in" constraint |
AuditCriterion |
isNotNull()
Apply an "is not null" constraint to the another property |
AuditCriterion |
isNull()
Apply an "is null" constraint |
AuditCriterion |
le(T value)
Apply a "less than or equal" constraint |
AuditCriterion |
leProperty(String otherPropertyName)
Apply a "less than or equal" constraint to another property |
AuditCriterion |
like(String value,
MatchMode matchMode)
Apply a "like" constraint |
AuditCriterion |
like(T value)
Apply a "like" constraint |
AuditCriterion |
lt(T value)
Apply a "less than" constraint |
AuditCriterion |
ltProperty(String otherPropertyName)
Apply a "less than" constraint to another property |
AuditProjection |
max()
Projection on the maximum value |
AggregatedAuditExpression |
maximize()
Apply a "maximalize" constraint, with the ability to specify further constraints on the maximized property |
AuditProjection |
min()
Projection on the minimum value |
AggregatedAuditExpression |
minimize()
Apply a "minimize" constraint, with the ability to specify further constraints on the minimized property |
AuditCriterion |
ne(T value)
Apply a "not equal" constraint |
AuditCriterion |
neProperty(String otherPropertyName)
Apply a "not equal" constraint to another property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuditProperty(PropertyNameGetter propertyNameGetter)
Method Detail |
---|
public AuditCriterion hasChanged()
public AuditCriterion hasNotChanged()
public AuditCriterion eq(T value)
public AuditCriterion ne(T value)
public AuditCriterion like(T value)
public AuditCriterion like(String value, MatchMode matchMode)
public AuditCriterion gt(T value)
public AuditCriterion lt(T value)
public AuditCriterion le(T value)
public AuditCriterion ge(T value)
public AuditCriterion between(T lo, T hi)
public AuditCriterion in(T[] values)
public AuditCriterion in(Collection values)
public AuditCriterion isNull()
public AuditCriterion eqProperty(String otherPropertyName)
public AuditCriterion neProperty(String otherPropertyName)
public AuditCriterion ltProperty(String otherPropertyName)
public AuditCriterion leProperty(String otherPropertyName)
public AuditCriterion gtProperty(String otherPropertyName)
public AuditCriterion geProperty(String otherPropertyName)
public AuditCriterion isNotNull()
public AggregatedAuditExpression maximize()
public AggregatedAuditExpression minimize()
public AuditProjection max()
public AuditProjection min()
public AuditProjection count()
public AuditProjection countDistinct()
public AuditProjection distinct()
public AuditProjection function(String functionName)
public Triple<String,String,Boolean> getData(AuditConfiguration auditCfg)
getData
in interface AuditProjection
auditCfg
- Configuration.
public AuditOrder asc()
public AuditOrder desc()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |