@java.lang.SuppressWarnings("unused") public interface EntityConditionFactory
Represents the conditions to be used to constrain a query. These can be used in various combinations using the different condition types.
Type Params | Return Type | Name and description |
---|---|---|
|
public ComparisonOperator |
comparisonOperatorFromEnumId(java.lang.String enumId) Get a ComparisonOperator using an enumId for enum type "ComparisonOperator" |
|
public EntityCondition |
getTrueCondition() |
|
public EntityCondition |
makeCondition(EntityCondition lhs, JoinOperator operator, EntityCondition rhs) |
|
public EntityCondition |
makeCondition(java.lang.String fieldName, ComparisonOperator operator, java.lang.Object value) |
|
public EntityCondition |
makeCondition(java.lang.String fieldName, ComparisonOperator operator, java.lang.Object value, boolean orNull) |
|
public EntityCondition |
makeCondition(java.util.List<EntityCondition> conditionList) Default to JoinOperator of AND |
|
public EntityCondition |
makeCondition(java.util.List<EntityCondition> conditionList, JoinOperator operator) |
|
public EntityCondition |
makeCondition(java.util.List<java.lang.Object> conditionList, java.lang.String listOperator, java.lang.String mapComparisonOperator, java.lang.String mapJoinOperator) More convenient for scripts, etc. |
|
public EntityCondition |
makeCondition(java.util.Map<java.lang.String, java.lang.Object> fieldMap, ComparisonOperator comparisonOperator, JoinOperator joinOperator) |
|
public EntityCondition |
makeCondition(java.util.Map<java.lang.String, java.lang.Object> fieldMap) Default to ComparisonOperator of EQUALS and JoinOperator of AND |
|
public EntityCondition |
makeConditionDate(java.lang.String fromFieldName, java.lang.String thruFieldName, java.sql.Timestamp compareStamp) |
|
public EntityCondition |
makeConditionToField(java.lang.String fieldName, ComparisonOperator operator, java.lang.String toFieldName) |
|
public EntityCondition |
makeConditionWhere(java.lang.String sqlWhereClause) |
Get a ComparisonOperator using an enumId for enum type "ComparisonOperator"
Default to JoinOperator of AND
More convenient for scripts, etc. The conditionList parameter may contain Map or EntityCondition objects.
Default to ComparisonOperator of EQUALS and JoinOperator of AND