Author: lektran
Date: Wed Apr 28 11:30:44 2010
New Revision: 938949
URL:
http://svn.apache.org/viewvc?rev=938949&view=revLog:
Removed usage of deprecated methods
Modified:
ofbiz/trunk/framework/webtools/webapp/webtools/entity/xmldsdump.jsp
ofbiz/trunk/framework/webtools/webapp/webtools/entity/xmldsrawdump.jsp
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/entity/xmldsdump.jsp
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/entity/xmldsdump.jsp?rev=938949&r1=938948&r2=938949&view=diff==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/entity/xmldsdump.jsp (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/entity/xmldsdump.jsp Wed Apr 28 11:30:44 2010
@@ -214,7 +214,7 @@ under the License.
boolean beganTransaction = TransactionUtil.begin(3600);
try {
String curEntityName = (String)i.next();
- EntityListIterator values = delegator.findListIteratorByCondition(curEntityName, entityDateCond, null, null, UtilMisc.toList("-createdTxStamp"), efo);
+ EntityListIterator values = delegator.find(curEntityName, entityDateCond, null, null, UtilMisc.toList("-createdTxStamp"), efo);
GenericValue value = null;
long curNumberWritten = 0;
@@ -268,7 +268,7 @@ under the License.
results.add("["+fileNumber +"] [vvv] " + curEntityName + " skipping view entity");
continue;
}
- values = delegator.findListIteratorByCondition(curEntityName, entityDateCond, null, null, me.getPkFieldNames(), efo);
+ values = delegator.find(curEntityName, entityDateCond, null, null, me.getPkFieldNames(), efo);
boolean isFirst = true;
PrintWriter writer = null;
int fileSplitNumber = 1;
Modified: ofbiz/trunk/framework/webtools/webapp/webtools/entity/xmldsrawdump.jsp
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/entity/xmldsrawdump.jsp?rev=938949&r1=938948&r2=938949&view=diff==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/entity/xmldsrawdump.jsp (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/entity/xmldsrawdump.jsp Wed Apr 28 11:30:44 2010
@@ -58,9 +58,9 @@ under the License.
ModelEntity me = reader.getModelEntity(curEntityName);
EntityListIterator values = null;
if (me.getNoAutoStamp() == true) {
- values = delegator.findListIteratorByCondition(curEntityName, null, null, null);
+ values = delegator.find(curEntityName, null, null, null, null, null);
} else {
- values = delegator.findListIteratorByCondition(curEntityName, entityDateCond, null, null);
+ values = delegator.find(curEntityName, entityDateCond, null, null, null, null);
}
GenericValue value = null;