Author: lektran
Date: Wed Apr 28 11:30:23 2010 New Revision: 938947 URL: http://svn.apache.org/viewvc?rev=938947&view=rev Log: Removed all references to the deprecated GenericDelegator method findAll(String) Modified: ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy ofbiz/trunk/applications/order/webapp/ordermgr/reports/CouponSalesReport.rptdesign ofbiz/trunk/applications/order/webapp/ordermgr/reports/OrderByReferrer.rptdesign ofbiz/trunk/applications/order/webapp/ordermgr/reports/OrdersByChannel.rptdesign ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/FindFacility.groovy ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilJavaParse.java ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPortlets.groovy ofbiz/trunk/framework/example/webapp/birt/report/product.rptdesign Modified: ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy?rev=938947&r1=938946&r2=938947&view=diff ============================================================================== --- ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy (original) +++ ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy Wed Apr 28 11:30:23 2010 @@ -21,7 +21,7 @@ import org.ofbiz.base.util.*; //partyAcctgPrefAndGroupList partyAcctgPrefAndGroupList = []; -partyAcctgPrefAndGroup = delegator.findAll("PartyAcctgPrefAndGroup"); +partyAcctgPrefAndGroup = delegator.findList("PartyAcctgPrefAndGroup", null, null, null, null, false); iter = partyAcctgPrefAndGroup.iterator(); while (iter.hasNext()) { group = iter.next() Modified: ofbiz/trunk/applications/order/webapp/ordermgr/reports/CouponSalesReport.rptdesign URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/reports/CouponSalesReport.rptdesign?rev=938947&r1=938946&r2=938947&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/reports/CouponSalesReport.rptdesign (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/reports/CouponSalesReport.rptdesign Wed Apr 28 11:30:23 2010 @@ -138,7 +138,7 @@ module = "CouponSalesReport.rptdesign";] <property name="dataSource">OFBIZ</property> <method name="open"><![CDATA[couponSalesOrders = null try { - couponSalesOrders = delegator.findAll("ProductPromo"); + couponSalesOrders = delegator.findList("ProductPromo", null, null, null, null, false); } catch (e) { Debug.logError(e, module); } Modified: ofbiz/trunk/applications/order/webapp/ordermgr/reports/OrderByReferrer.rptdesign URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/reports/OrderByReferrer.rptdesign?rev=938947&r1=938946&r2=938947&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/reports/OrderByReferrer.rptdesign (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/reports/OrderByReferrer.rptdesign Wed Apr 28 11:30:23 2010 @@ -247,7 +247,7 @@ module = "OrderByReferrer.rptdesign";]]> <property name="dataSource">OFBIZ</property> <method name="open"><![CDATA[salesOrderItemFacts = null; try { - salesOrderItemFacts = delegator.findAll("SalesOrderItemFact"); + salesOrderItemFacts = delegator.findList("SalesOrderItemFact", null, null, null, null, false); } catch (e) { Debug.logError(e, module); } Modified: ofbiz/trunk/applications/order/webapp/ordermgr/reports/OrdersByChannel.rptdesign URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/reports/OrdersByChannel.rptdesign?rev=938947&r1=938946&r2=938947&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/reports/OrdersByChannel.rptdesign (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/reports/OrdersByChannel.rptdesign Wed Apr 28 11:30:23 2010 @@ -257,7 +257,7 @@ try { if(params["saleChannel"] != "null"){ salesOrderItemFacts = delegator.findByAnd("SalesOrderItemFact", UtilMisc.toMap("saleChannel", params["saleChannel"])); }else{ - salesOrderItemFacts = delegator.findAll("SalesOrderItemFact"); + salesOrderItemFacts = delegator.findList("SalesOrderItemFact", null, null, null, null, false); } } catch (e) { Debug.logError(e, module); Modified: ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/FindFacility.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/FindFacility.groovy?rev=938947&r1=938946&r2=938947&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/FindFacility.groovy (original) +++ ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/facility/FindFacility.groovy Wed Apr 28 11:30:23 2010 @@ -18,7 +18,7 @@ */ import org.ofbiz.base.util.* -findResult = delegator.findAll("Facility"); +findResult = delegator.findList("Facility", null, null, null, null, false); findResultSize = findResult.size(); if (findResultSize == 1) { context.showScreen = "one"; Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilJavaParse.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilJavaParse.java?rev=938947&r1=938946&r2=938947&view=diff ============================================================================== --- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilJavaParse.java (original) +++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilJavaParse.java Wed Apr 28 11:30:23 2010 @@ -183,7 +183,6 @@ public class UtilJavaParse { entityMethodNames.add("findOne"); entityMethodNames.add("findByPrimaryKey"); entityMethodNames.add("findByPrimaryKeyCache"); - entityMethodNames.add("findAll"); entityMethodNames.add("findAllCache"); entityMethodNames.add("findByAnd"); entityMethodNames.add("findByOr"); Modified: ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPortlets.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPortlets.groovy?rev=938947&r1=938946&r2=938947&view=diff ============================================================================== --- ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPortlets.groovy (original) +++ ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPortlets.groovy Wed Apr 28 11:30:23 2010 @@ -45,5 +45,5 @@ portalPortlets = []; } } -context.portletCat = delegator.findAll("PortletCategory"); +context.portletCat = delegator.findList("PortletCategory", null, null, null, null, false); context.portalPortlets = portalPortlets; \ No newline at end of file Modified: ofbiz/trunk/framework/example/webapp/birt/report/product.rptdesign URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/webapp/birt/report/product.rptdesign?rev=938947&r1=938946&r2=938947&view=diff ============================================================================== --- ofbiz/trunk/framework/example/webapp/birt/report/product.rptdesign (original) +++ ofbiz/trunk/framework/example/webapp/birt/report/product.rptdesign Wed Apr 28 11:30:23 2010 @@ -83,7 +83,7 @@ module = "product.rptdesign";]]></method <property name="dataSource">OFBiz</property> <method name="open"><![CDATA[products = null; try { - products = delegator.findAll("Product"); + products = delegator.findList("Product", null, null, null, null, false); } catch (e) { Debug.logError(e, module); } |
Free forum by Nabble | Edit this page |