Replace deprecated methods of entity delegator classes in OFBiz.
Underline methods are not deprecated now.
GenericDelegator.java
findByOr method |
destination method |
java references |
groovy references |
bsh references |
ftl references |
---|---|---|---|---|---|
findByOr(String entityName, Object... fields) |
findList(entityName, EntityCondition.makeCondition(EntityOperator.OR, fields), null, null, null, false) |
0 |
0 |
0 |
0 |
findByOr(String entityName, Map<String, ? extends Object> fields) |
findList(entityName, EntityCondition.makeCondition(fields, EntityOperator.OR), null, null, null, false) |
0 |
0 |
0 |
0 |
findByOr(String entityName, Map<String, ? extends Object> fields, List<String> orderBy) |
findList(entityName, EntityCondition.makeCondition(fields, EntityOperator.OR), null, orderBy, null, false) |
0 |
0 |
0 |
0 |
findByOr(String entityName, T... expressions) |
findList(entityName, EntityCondition.makeCondition(EntityOperator.AND, expressions), null, null, null, false) |
0 |
0 |
0 |
0 |
findByOr(String entityName, List<T> expressions) |
findList(entityName, EntityCondition.makeCondition(expressions, EntityOperator.OR), null, null, null, false) |
0 |
0 |
0 |
0 |
findByOr(String entityName, List<T> expressions, List<String> orderBy) |
findList(entityName, EntityCondition.makeCondition(expressions, EntityOperator.OR), null, orderBy, null, false) |
2 |
1 |
0 |
0 |
findAll method |
destination method |
java references |
groovy references |
bsh references |
ftl references |
findAllByPrimaryKeys(Collection<GenericPK> primaryKeys) |
|
0 |
0 |
0 |
0 |
findAllByPrimaryKeysCache(Collection<GenericPK> primaryKeys) |
|
0 |
0 |
0 |
0 |
findAll(String entityName) |
findList(entityName, null, null, null, null, false) |
0 |
0 |
0 |
0 |
findAll(String entityName, String... orderBy) |
findList(entityName, null, null, Arrays.asList(orderBy), null, false) |
0 |
0 |
0 |
0 |
findAll(String entityName, List<String> orderBy) |
findList(entityName, null, null, orderBy, null, false) |
0 |
0 |
0 |
0 |
findAllCache(String entityName) |
findList(entityName, null, null, null, null, true) |
0 |
0 |
0 |
0 |
findAllCache(String entityName, String... orderBy) |
findList(entityName, null, null, Arrays.asList(orderBy), null, true) |
0 |
0 |
0 |
0 |
findAllCache(String entityName, List<String> orderBy) |
findList(entityName, null, null, orderBy, null, true) |
0 |
0 |
0 |
0 |
findByAnd method |
destination method |
java references |
groovy references |
bsh references |
ftl references |
findByAnd(String entityName, Object... fields) |
|
0 |
0 |
0 |
0 |
findByAnd(String entityName, Map<String, ? extends Object> fields) |
findList(entityName, EntityCondition.makeCondition(fields), null, null, null, false) |
0 |
0 |
0 |
0 |
findByAnd(String entityName, Map<String, ? extends Object> fields, List<String> orderBy) |
findList(entityName, EntityCondition.makeCondition(fields), null, orderBy, null, false |
0 |
0 |
0 |
0 |
findByAndCache(String entityName, Object... fields) |
findByAndCache(entityName, UtilMisc.<String, Object>toMap(fields)) ??? |
0 |
0 |
0 |
0 |
findByAndCache(String entityName, Map<String, ? extends Object> fields) |
findList(entityName, EntityCondition.makeCondition(fields), null, null, null, true) |
0 |
0 |
0 |
0 |
findByAndCache(String entityName, Map<String, ? extends Object> fields, List<String> orderBy) |
findList(entityName, EntityCondition.makeCondition(fields), null, orderBy, null, true) |
0 |
0 |
0 |
0 |
findByAnd(String entityName, T... expressions) |
findList(entityName, EntityCondition.makeCondition(EntityOperator.AND, expressions), null, null, null, false) |
0 |
0 |
0 |
0 |
findByAnd(String entityName, List<T> expressions) |
findList(entityName, EntityCondition.makeCondition(expressions, EntityOperator.AND), null, null, null, false) |
0 |
0 |
0 |
0 |
findByAnd(String entityName, List<T> expressions, List<String> orderBy) |
findList(entityName, EntityCondition.makeCondition(expressions, EntityOperator.AND), null, orderBy, null, false) |
0 |
0 |
0 |
0 |
findByPrimaryKey method |
destination method |
java references |
groovy references |
bsh references |
ftl references |
findByPrimaryKeyCache(GenericPK primaryKey) |
findOne(primaryKey.getEntityName(), primaryKey, false) |
0 |
0 |
0 |
0 |
findByPrimaryKey(GenericPK primaryKey) |
findOne(primaryKey.getEntityName(), primaryKey, true) |
0 |
0 |
0 |
0 |
findByPrimaryKey(String entityName, Object... fields) |
findByPrimaryKey(entityName, UtilMisc.<String, Object>toMap(fields)) |
0 |
0 |
0 |
0 |
findByPrimaryKey(String entityName, Map<String, ? extends Object> fields) |
findOne(entityName, fields, false) |
0 |
0 |
0 |
0 |
findByPrimaryKeySingle(String entityName, Object singlePkValue) |
findOne(entityName, makePKSingle(entityName, singlePkValue), false) |
0 |
0 |
0 |
0 |
findByPrimaryKeyCache(String entityName, Object... fields) |
findByPrimaryKeyCache(entityName, UtilMisc.<String, Object>toMap(fields)) |
0 |
0 |
0 |
0 |
findByPrimaryKeyCache(String entityName, Map<String, ? extends Object> fields) |
findOne(entityName, fields, true) |
0 |
0 |
0 |
0 |
findByPrimaryKeyCacheSingle(String entityName, Object singlePkValue) |
findOne(entityName, makePKSingle(entityName, singlePkValue), true) |
0 |
0 |
0 |
0 |
findByPrimaryKeyPartial(GenericPK primaryKey, String... keys) |
findByPrimaryKeyPartial(primaryKey, UtilMisc.makeSetWritable(Arrays.asList(keys))) |
0 |
0 |
0 |
0 |
findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys) |
|
0 |
0 |
0 |
0 |
EntityConditionList.java
EntityConditionList constructor |
destination method |
java references |
groovy references |
bsh references |
ftl references |
---|---|---|---|---|---|
EntityConditionList(EntityJoinOperator operator, T... conditionList) |
EntityCondition.makeCondition() |
0 |
0 |
0 |
0 |
EntityConditionList(List<T> conditionList, EntityJoinOperator operator) |
EntityCondition.makeCondition() |
0 |
0 |
0 |
0 |
EntityDateFilterCondition.java
EntityDateFilterCondition constructor |
destination method |
java references |
groovy references |
bsh references |
ftl references |
---|---|---|---|---|---|
EntityDateFilterCondition(String fromDateName, String thruDateName) |
EntityCondition.makeConditionDate() |
0 |
0 |
0 |
0 |
EntityExpr.java
EntityExpr constructor |
destination method |
java references |
groovy references |
bsh references |
ftl references |
---|---|---|---|---|---|
EntityExpr(Object lhs, EntityComparisonOperator operator, Object rhs) |
EntityCondition.makeCondition() |
0 |
0 |
0 |
0 |
EntityExpr(String lhs, EntityComparisonOperator operator, Object rhs) |
EntityCondition.makeCondition() |
0 |
0 |
0 |
0 |
EntityExpr(String lhs, boolean leftUpper, EntityComparisonOperator operator, Object rhs, boolean rightUpper) |
EntityCondition.makeCondition() |
0 |
0 |
0 |
0 |
EntityExpr(EntityCondition lhs, EntityJoinOperator operator, EntityCondition rhs) |
EntityCondition.makeCondition() |
0 |
0 |
0 |
0 |
EntityFieldMap.java
EntityFieldMap constructor |
destination method |
java references |
groovy references |
bsh references |
ftl references |
---|---|---|---|---|---|
EntityFieldMap(EntityComparisonOperator compOp, EntityJoinOperator joinOp, Object... keysValues) |
EntityCondition.makeCondition() |
0 |
0 |
0 |
0 |
EntityFieldMap(Map<String, ? extends Object> fieldMap, EntityComparisonOperator compOp, EntityJoinOperator joinOp) |
EntityCondition.makeCondition() |
0 |
0 |
0 |
0 |
EntityFieldMap(EntityJoinOperator operator, Object... keysValues) |
EntityCondition.makeCondition() |
0 |
0 |
0 |
0 |
EntityFieldMap(Map<String, ? extends Object> fieldMap, EntityJoinOperator operator) |
EntityCondition.makeCondition() |
0 |
0 |
0 |
0 |
EntityFieldValue.java
EntityFieldValue constructor |
destination method |
java references |
groovy references |
bsh references |
ftl references |
---|---|---|---|---|---|
EntityFieldValue(String fieldName) |
EntityFieldValue.makeFieldValue() |
0 |
0 |
0 |
0 |
EntityFunction.java
EntityFunction constructor |
destination method |
java references |
groovy references |
bsh references |
ftl references |
---|---|---|---|---|---|
LENGTH(EntityConditionValue nested) |
EntityCondition.LENGTH() |
0 |
0 |
0 |
0 |
LENGTH(Object value) |
EntityCondition.LENGTH() |
0 |
0 |
0 |
0 |
TRIM(EntityConditionValue nested) |
EntityCondition.TRIM() |
0 |
0 |
0 |
0 |
TRIM(Object value) |
EntityCondition.TRIM() |
0 |
0 |
0 |
0 |
UPPER(EntityConditionValue nested) |
EntityCondition.UPPER() |
0 |
0 |
0 |
0 |
UPPER(Object value) |
EntityCondition.UPPER() |
0 |
0 |
0 |
0 |
LOWER(EntityConditionValue nested) |
EntityCondition.LOWER() |
0 |
0 |
0 |
0 |
LOWER(Object value) |
EntityCondition.LOWER() |
0 |
0 |
0 |
0 |