commit 6493e4845f2acab9ce3e1f92cdc7f5b62bb79a2f Author: Adam Heath <[hidden email]> Date: Sun Dec 5 18:32:01 2010 -0600 Deprecate GenericValue.getRelatedDummyPK(String). Still more api simplification. Fortunately, this is a very small change. It seems that this method is hardly used by anything. GenericValue.getRelatedDummyPK(String) is replaced by GenericValue.getRelatedDummyPK(String, Map). commit 3e91daff87f5a35c9910f6a19698b755a05e1c80 Author: Adam Heath <[hidden email]> Date: Sun Dec 5 16:30:03 2010 -0600 Deprecate all Delegator.getRelatedOne and Delegator.getRelatedOneCache, and GenericValue.getRelatedOne/GenericValue.getRelatedOneCache, and add a version that takes a cache parameter. Yet again, another simplication of the delegator api. This replaces all simple getRelatedOne type methods with a single version that takes all possible arguments. Delegator.getRelatedOne(String, GenericValue) is replaced by Delegator.getRelatedOne(String, boolean, GenericValue). Delegator.getRelatedOneCache(String, GenericValue) is replaced by Delegator.getRelatedOne(String, boolean, GenericValue). GenericValue.getRelatedOne(String) is replaced by GenericValue.getRelatedOne(String, boolean). GenericValue.getRelatedOneCache(String) is replaced by GenericValue.getRelatedOne(String, boolean). commit f841a522ead6a8cb9787e7ce3f26ec0979c278cc Author: Adam Heath <[hidden email]> Date: Sun Jun 26 17:14:07 2011 -0500 Deprecate all Delegator.findByAnd and Delegator.findByAndCache; introduce a new Delegator.findByAnd variant that takes a boolean cache parameter. This change continues the simplication of the delegator api. There is no longer a version of a method with a 'Cache' suffix; instead, a single version now exists that takes a boolean cache parameter. Also, there has been a trend to remove several method variants that take different numbers and types of parameters, instead preferring to fully specify all parameters; this also continues that trend. Delegator.findByAnd(String, Map) is replaced with findByAnd(String, Map, List, boolean). Delegator.findByAnd(String, Map, List) is replaced with findByAnd(String, Map, List, boolean). Delegator.findByAnd(String, Object...) is replaced with findByAnd(String, Map, List, boolean). The object array is converted to a map by using UtilMisc.toMap(Object...). Delegator.findByAndCache(String, Map) is replaced with findByAnd(String, Map, List, boolean). Delegator.findByAndCache(String, Map, List) is replaced with findByAnd(String, Map, List, boolean). commit e5fd12b37f07dbee109e30a0d528ba1ca7e226e6 Author: Adam Heath <[hidden email]> Date: Sun Dec 5 21:51:51 2010 -0600 Deprecate Delegator.findByPrimaryKey and Delegator.findByPrimaryKeyCache. Ofbiz is moving towards simpler delegator apis; this means all 'fooCache' variants are removed(and their matching 'foo' method), and a new version of 'foo' added that takes a boolean cache parameter. Delegator.findByPrimaryKey(String, Map) is replaced with findOne(String, Map, false). Delegator.findByPrimaryKeyCache(String, Map) is replaced with findOne(String, Map, true). Delegator.findByPrimaryKey(String, Object...) is replaced with findOne(String, false, Object...). |
Free forum by Nabble | Edit this page |