Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 30 Next »

Replace deprecated methods of entity delegator in OFBiz.

Underline methods are not deprecated now.

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

findByPrimaryKey(GenericPK primaryKey)

findOne(primaryKey.getEntityName(), primaryKey, false)

0

0

0

0

  • No labels