|
Ujorm release 1.22 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CriterionProvider<UJO extends Ujo,VALUE>
| Method Summary | |
|---|---|
Criterion<UJO> |
forAll()
Create a new Criterion for this property where all results will be true (the result is independed on the value). |
Criterion<UJO> |
forNone()
Create a new Criterion for this property where all results will be false (the result is independed on the value). |
Criterion<UJO> |
forSql(java.lang.String sqlCondition)
Create a new Criterion for a Native Criterion in SQL statement format. |
Criterion<UJO> |
where(Operator operator,
UjoProperty<?,VALUE> value)
Create a new Criterion where this property is related to the value along the parameter Operator. |
Criterion<UJO> |
where(Operator operator,
VALUE value)
Create a new Criterion where this property is related to the value along the parameter Operator. |
Criterion<UJO> |
whereEq(UjoProperty<UJO,VALUE> property)
Create a new Criterion where this property equals the property |
Criterion<UJO> |
whereEq(VALUE value)
Create a new Criterion where this property equals the value |
Criterion<UJO> |
whereGe(VALUE value)
Create a new Criterion where this property is great or equals the value |
Criterion<UJO> |
whereGt(VALUE value)
Create a new Criterion where this property is great then the value |
Criterion<UJO> |
whereIn(java.util.Collection<VALUE> list)
Create new Criterion for operator IN to compare value to a list of constants. |
Criterion<UJO> |
whereIn(VALUE... list)
Create new Criterion for operator IN to compare value to a list of constants |
Criterion<UJO> |
whereLe(VALUE value)
Create a new Criterion where this property is less or equals than the value |
Criterion<UJO> |
whereLt(VALUE value)
Create a new Criterion where this property is less then the value |
Criterion<UJO> |
whereNeq(VALUE value)
Create a new Criterion where this property not equals the value |
Criterion<UJO> |
whereNotIn(java.util.Collection<VALUE> list)
Create new Criterion for operator IN to compare value to a list of constants. |
Criterion<UJO> |
whereNotIn(VALUE... list)
Create new Criterion for operator IN to compare value to a list of constants. |
Criterion<UJO> |
whereNotNull()
Create a new Criterion where this property is not null. |
Criterion<UJO> |
whereNull()
Create a new Criterion where this property is null. |
| Method Detail |
|---|
Criterion<UJO> where(Operator operator,
VALUE value)
Operator.
operator - Operator
Criterion<UJO> where(Operator operator,
UjoProperty<?,VALUE> value)
Operator.
property - UjoPropertyoperator - Operator
Criterion<UJO> whereEq(VALUE value)
property - UjoProperty
Criterion<UJO> whereEq(UjoProperty<UJO,VALUE> property)
property - UjoProperty can be type a direct of indirect (for a relation) property
Criterion<UJO> whereIn(java.util.Collection<VALUE> list)
property - A direct or indeirect Ujo propertylist - A collection of the values. The collection argument can be the EMPTY, the Criterion result will be FALSE in this case.
Criterion<UJO> whereNotIn(java.util.Collection<VALUE> list)
property - A direct or indeirect Ujo propertylist - A collection of the values. The collection argument can be the EMPTY, the Criterion result will be TRUE in this case.
Criterion<UJO> whereIn(VALUE... list)
property - A reference to a related entitylist - A collection of the values. The collection argument can be the EMPTY, the Criterion result will be FALSE in this case.
Criterion<UJO> whereNotIn(VALUE... list)
property - A property direct or indeirect Ujo propertylist - A collection of the values. The collection argument can be the EMPTY, the Criterion result will be TRUE in this case.
Criterion<UJO> whereNeq(VALUE value)
Operator.NOT_EQCriterion<UJO> whereGt(VALUE value)
Operator.GTCriterion<UJO> whereGe(VALUE value)
Operator.GECriterion<UJO> whereLt(VALUE value)
Operator.LTCriterion<UJO> whereLe(VALUE value)
Operator.LECriterion<UJO> whereNull()
null.
The method is a shortcut to the next full expression:
Criterin.where(Order.NOTE_PROPERTY, Operator.EQ, (String) null)for the String property type in this case.
property - UjoProperty#whereNotNull(org.ujorm.UjoProperty),
Operator.EQCriterion<UJO> whereNotNull()
null.
The method is a shortcut to the next full expression:
Criterin.where(Order.NOTE_PROPERTY, Operator.EQ, (String) null)for the String property type in this case.
property - UjoProperty#whereNull(org.ujorm.UjoProperty),
Operator.NOT_EQCriterion<UJO> forSql(java.lang.String sqlCondition)
#evaluate(org.ujorm.Ujo) is not supported and throws UnsupportedOperationException in the run-time
property - The parameter is required by Ujorm to location a basic database table and the join relations in case a composed PropertysqlCondition - a SQL condition in the String format, the NULL value or empty string is not acceptedOperator.XSQLCriterion<UJO> forAll()
property - The parameter is required by Ujorm to location a basic database table and the join relations in case a composed PropertyCriterion<UJO> forNone()
property - The parameter is required by Ujorm to location a basic database table and the join relations in case a composed Property
|
Ujorm release 1.22 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||