svn commit: r934432 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r934432 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java

eckardjf
Author: eckardjf
Date: Thu Apr 15 14:47:00 2010
New Revision: 934432

URL: http://svn.apache.org/viewvc?rev=934432&view=rev
Log:
deprecated getProductSupplier(), this is essentially a duplicate of ShoppingCart.getSupplierProduct()

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java?rev=934432&r1=934431&r2=934432&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java Thu Apr 15 14:47:00 2010
@@ -1036,7 +1036,13 @@ public class ShoppingCartHelper {
         return result;
     }
 
-    /** Get the first SupplierProduct record for productId with matching quantity and currency */
+    /**
+     * Get the first SupplierProduct record for productId with matching quantity and currency
+     *
+     * @deprecated replaced by {@link ShoppingCart#getSupplierProduct(String, java.math.BigDecimal, org.ofbiz.service.LocalDispatcher)}
+     *
+     * */
+    @Deprecated
     public GenericValue getProductSupplier(String productId, BigDecimal quantity, String currencyUomId) {
         GenericValue productSupplier = null;
         Map params = UtilMisc.toMap("productId", productId, "partyId", cart.getPartyId(), "currencyUomId", currencyUomId, "quantity", quantity);