You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2007/11/13 07:25:32 UTC
svn commit: r594445 -
/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
Author: hansbak
Date: Mon Nov 12 22:25:31 2007
New Revision: 594445
URL: http://svn.apache.org/viewvc?rev=594445&view=rev
Log:
add 2 new methods to the shopping cart to clear the 2 types of ordernotes
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java?rev=594445&r1=594444&r2=594445&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java Mon Nov 12 22:25:31 2007
@@ -2299,6 +2299,13 @@
this.internalOrderNotes.add(note);
}
+ public void clearInternalOrderNotes() {
+ this.internalOrderNotes.clear();
+ }
+ public void clearOrderNotes() {
+ this.orderNotes.clear();
+ }
+
public void addOrderNote(String note) {
this.orderNotes.add(note);
}