Author: doogie
Date: Tue May 29 04:20:26 2012
New Revision: 1343527
URL:
http://svn.apache.org/viewvc?rev=1343527&view=revLog:
DEPRECATION: framework: GenericValue.getRelated(ByAnd|OrderBy)(|Cache)
replaced by the single getRelated variant.
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtil.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtil.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtil.java?rev=1343527&r1=1343526&r2=1343527&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtil.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtil.java Tue May 29 04:20:26 2012
@@ -364,7 +364,7 @@ public class EntityUtil {
List<GenericValue> result = FastList.newInstance();
for (GenericValue value: values) {
- result.addAll(value.getRelatedByAnd(relationName, fields));
+ result.addAll(value.getRelated(relationName, fields, null, false));
}
return result;
}
@@ -374,7 +374,7 @@ public class EntityUtil {
List<GenericValue> result = FastList.newInstance();
for (GenericValue value: values) {
- result.addAll(value.getRelatedByAndCache(relationName, fields));
+ result.addAll(value.getRelated(relationName, fields, null, true));
}
return result;
}