, Serializable {
}
}
// set the default shipment method
- ShippingEstimateWrapper shipEstimateWrapper = org.ofbiz.order.shoppingcart.shipping.ShippingEstimateWrapper.getWrapper(dispatcher, this, 0);
+ ShippingEstimateWrapper shipEstimateWrapper = org.apache.ofbiz.order.shoppingcart.shipping.ShippingEstimateWrapper.getWrapper(dispatcher, this, 0);
GenericValue carrierShipmentMethod = EntityUtil.getFirst(shipEstimateWrapper.getShippingMethods());
if (carrierShipmentMethod != null) {
this.setAllShipmentMethodTypeId(carrierShipmentMethod.getString("shipmentMethodTypeId"));
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartEvents.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartEvents.java
similarity index 98%
rename from applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartEvents.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartEvents.java
index bc29a82208..185efce6aa 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartEvents.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartEvents.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.shoppingcart;
+package org.apache.ofbiz.order.shoppingcart;
import java.math.BigDecimal;
import java.math.MathContext;
@@ -34,37 +34,37 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.ObjectType;
-import org.ofbiz.base.util.UtilDateTime;
-import org.ofbiz.base.util.UtilFormatOut;
-import org.ofbiz.base.util.UtilGenerics;
-import org.ofbiz.base.util.UtilHttp;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilNumber;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericPK;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.condition.EntityCondition;
-import org.ofbiz.entity.condition.EntityOperator;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.entity.util.EntityUtil;
-import org.ofbiz.order.shoppingcart.product.ProductPromoWorker;
-import org.ofbiz.product.catalog.CatalogWorker;
-import org.ofbiz.product.config.ProductConfigWorker;
-import org.ofbiz.product.config.ProductConfigWrapper;
-import org.ofbiz.product.product.ProductWorker;
-import org.ofbiz.product.store.ProductStoreSurveyWrapper;
-import org.ofbiz.product.store.ProductStoreWorker;
-import org.ofbiz.security.Security;
-import org.ofbiz.service.GenericServiceException;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ModelService;
-import org.ofbiz.service.ServiceUtil;
-import org.ofbiz.webapp.control.RequestHandler;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.ObjectType;
+import org.apache.ofbiz.base.util.UtilDateTime;
+import org.apache.ofbiz.base.util.UtilFormatOut;
+import org.apache.ofbiz.base.util.UtilGenerics;
+import org.apache.ofbiz.base.util.UtilHttp;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilNumber;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericPK;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.condition.EntityCondition;
+import org.apache.ofbiz.entity.condition.EntityOperator;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.entity.util.EntityUtil;
+import org.apache.ofbiz.order.shoppingcart.product.ProductPromoWorker;
+import org.apache.ofbiz.product.catalog.CatalogWorker;
+import org.apache.ofbiz.product.config.ProductConfigWorker;
+import org.apache.ofbiz.product.config.ProductConfigWrapper;
+import org.apache.ofbiz.product.product.ProductWorker;
+import org.apache.ofbiz.product.store.ProductStoreSurveyWrapper;
+import org.apache.ofbiz.product.store.ProductStoreWorker;
+import org.apache.ofbiz.security.Security;
+import org.apache.ofbiz.service.GenericServiceException;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ModelService;
+import org.apache.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.webapp.control.RequestHandler;
/**
* Shopping cart events.
@@ -1123,7 +1123,7 @@ public class ShoppingCartEvents {
GenericPK productPromoActionPk = delegator.makeValidValue("ProductPromoAction", checkOrderAdjustment).getPrimaryKey();
cart.setDesiredAlternateGiftByAction(productPromoActionPk, alternateGwpProductId);
if (cart.getOrderType().equals("SALES_ORDER")) {
- org.ofbiz.order.shoppingcart.product.ProductPromoWorker.doPromotions(cart, dispatcher);
+ org.apache.ofbiz.order.shoppingcart.product.ProductPromoWorker.doPromotions(cart, dispatcher);
}
return "success";
}
@@ -1989,7 +1989,7 @@ public class ShoppingCartEvents {
request.setAttribute("configId", configWrapper.getConfigId());
}
- request.setAttribute("totalPrice", org.ofbiz.base.util.UtilFormatOut.formatCurrency(configWrapper.getTotalPrice(), currencyUomId, UtilHttp.getLocale(request)));
+ request.setAttribute("totalPrice", org.apache.ofbiz.base.util.UtilFormatOut.formatCurrency(configWrapper.getTotalPrice(), currencyUomId, UtilHttp.getLocale(request)));
return "success";
}
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartHelper.java
similarity index 97%
rename from applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartHelper.java
index 62488bdd85..b421dc5849 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartHelper.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.shoppingcart;
+package org.apache.ofbiz.order.shoppingcart;
import java.math.BigDecimal;
import java.sql.Timestamp;
@@ -31,34 +31,34 @@ import java.util.Locale;
import java.util.Map;
import java.util.Map.Entry;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.GeneralException;
-import org.ofbiz.base.util.ObjectType;
-import org.ofbiz.base.util.UtilHttp;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilNumber;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.entity.util.EntityTypeUtil;
-import org.ofbiz.entity.util.EntityUtil;
-import org.ofbiz.entity.util.EntityUtilProperties;
-import org.ofbiz.order.order.OrderReadHelper;
-import org.ofbiz.order.shoppingcart.product.ProductPromoWorker;
-import org.ofbiz.product.config.ProductConfigWorker;
-import org.ofbiz.product.config.ProductConfigWrapper;
-import org.ofbiz.product.product.ProductWorker;
-import org.ofbiz.security.Security;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ModelService;
-import org.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.GeneralException;
+import org.apache.ofbiz.base.util.ObjectType;
+import org.apache.ofbiz.base.util.UtilHttp;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilNumber;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.entity.util.EntityTypeUtil;
+import org.apache.ofbiz.entity.util.EntityUtil;
+import org.apache.ofbiz.entity.util.EntityUtilProperties;
+import org.apache.ofbiz.order.order.OrderReadHelper;
+import org.apache.ofbiz.order.shoppingcart.product.ProductPromoWorker;
+import org.apache.ofbiz.product.config.ProductConfigWorker;
+import org.apache.ofbiz.product.config.ProductConfigWrapper;
+import org.apache.ofbiz.product.product.ProductWorker;
+import org.apache.ofbiz.security.Security;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ModelService;
+import org.apache.ofbiz.service.ServiceUtil;
/**
* A facade over the
- * {@link org.ofbiz.order.shoppingcart.ShoppingCart ShoppingCart}
+ * {@link org.apache.ofbiz.order.shoppingcart.ShoppingCart ShoppingCart}
* providing catalog and product services to simplify the interaction
* with the cart directly.
*/
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartItem.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartItem.java
similarity index 98%
rename from applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartItem.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartItem.java
index d35f7045fe..f867e4006b 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartItem.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartItem.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.ofbiz.order.shoppingcart;
+package org.apache.ofbiz.order.shoppingcart;
import java.math.BigDecimal;
import java.math.MathContext;
@@ -33,39 +33,39 @@ import java.util.Locale;
import java.util.Map;
import java.util.Set;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.GeneralException;
-import org.ofbiz.base.util.UtilDateTime;
-import org.ofbiz.base.util.UtilFormatOut;
-import org.ofbiz.base.util.UtilGenerics;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.DelegatorFactory;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericPK;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.condition.EntityCondition;
-import org.ofbiz.entity.condition.EntityExpr;
-import org.ofbiz.entity.condition.EntityOperator;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.entity.util.EntityUtil;
-import org.ofbiz.entity.util.EntityUtilProperties;
-import org.ofbiz.order.order.OrderReadHelper;
-import org.ofbiz.order.shoppingcart.product.ProductPromoWorker;
-import org.ofbiz.order.shoppinglist.ShoppingListEvents;
-import org.ofbiz.product.catalog.CatalogWorker;
-import org.ofbiz.product.category.CategoryWorker;
-import org.ofbiz.product.config.ProductConfigWorker;
-import org.ofbiz.product.config.ProductConfigWrapper;
-import org.ofbiz.product.product.ProductContentWrapper;
-import org.ofbiz.product.product.ProductWorker;
-import org.ofbiz.product.store.ProductStoreWorker;
-import org.ofbiz.service.GenericServiceException;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ModelService;
-import org.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.GeneralException;
+import org.apache.ofbiz.base.util.UtilDateTime;
+import org.apache.ofbiz.base.util.UtilFormatOut;
+import org.apache.ofbiz.base.util.UtilGenerics;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.DelegatorFactory;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericPK;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.condition.EntityCondition;
+import org.apache.ofbiz.entity.condition.EntityExpr;
+import org.apache.ofbiz.entity.condition.EntityOperator;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.entity.util.EntityUtil;
+import org.apache.ofbiz.entity.util.EntityUtilProperties;
+import org.apache.ofbiz.order.order.OrderReadHelper;
+import org.apache.ofbiz.order.shoppingcart.product.ProductPromoWorker;
+import org.apache.ofbiz.order.shoppinglist.ShoppingListEvents;
+import org.apache.ofbiz.product.catalog.CatalogWorker;
+import org.apache.ofbiz.product.category.CategoryWorker;
+import org.apache.ofbiz.product.config.ProductConfigWorker;
+import org.apache.ofbiz.product.config.ProductConfigWrapper;
+import org.apache.ofbiz.product.product.ProductContentWrapper;
+import org.apache.ofbiz.product.product.ProductWorker;
+import org.apache.ofbiz.product.store.ProductStoreWorker;
+import org.apache.ofbiz.service.GenericServiceException;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ModelService;
+import org.apache.ofbiz.service.ServiceUtil;
/**
* Title: ShoppingCartItem.java
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartServices.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartServices.java
similarity index 96%
rename from applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartServices.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartServices.java
index 651dcb5197..b1376fb65f 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/ShoppingCartServices.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartServices.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.shoppingcart;
+package org.apache.ofbiz.order.shoppingcart;
import java.math.BigDecimal;
import java.math.MathContext;
@@ -28,32 +28,32 @@ import java.util.List;
import java.util.Locale;
import java.util.Map;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.GeneralException;
-import org.ofbiz.base.util.UtilDateTime;
-import org.ofbiz.base.util.UtilFormatOut;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.condition.EntityCondition;
-import org.ofbiz.entity.condition.EntityExpr;
-import org.ofbiz.entity.condition.EntityOperator;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.entity.util.EntityTypeUtil;
-import org.ofbiz.entity.util.EntityUtil;
-import org.ofbiz.entity.util.EntityUtilProperties;
-import org.ofbiz.order.order.OrderReadHelper;
-import org.ofbiz.order.shoppingcart.ShoppingCart.CartShipInfo;
-import org.ofbiz.order.shoppingcart.ShoppingCart.CartShipInfo.CartShipItemInfo;
-import org.ofbiz.product.config.ProductConfigWorker;
-import org.ofbiz.product.config.ProductConfigWrapper;
-import org.ofbiz.service.DispatchContext;
-import org.ofbiz.service.GenericServiceException;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.GeneralException;
+import org.apache.ofbiz.base.util.UtilDateTime;
+import org.apache.ofbiz.base.util.UtilFormatOut;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.condition.EntityCondition;
+import org.apache.ofbiz.entity.condition.EntityExpr;
+import org.apache.ofbiz.entity.condition.EntityOperator;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.entity.util.EntityTypeUtil;
+import org.apache.ofbiz.entity.util.EntityUtil;
+import org.apache.ofbiz.entity.util.EntityUtilProperties;
+import org.apache.ofbiz.order.order.OrderReadHelper;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart.CartShipInfo;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart.CartShipInfo.CartShipItemInfo;
+import org.apache.ofbiz.product.config.ProductConfigWorker;
+import org.apache.ofbiz.product.config.ProductConfigWrapper;
+import org.apache.ofbiz.service.DispatchContext;
+import org.apache.ofbiz.service.GenericServiceException;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ServiceUtil;
/**
* Shopping Cart Services
@@ -1110,23 +1110,23 @@ public class ShoppingCartServices {
result.put("totalQuantity", shoppingCart.getTotalQuantity());
result.put("currencyIsoCode",isoCode);
result.put("subTotal", shoppingCart.getSubTotal());
- result.put("subTotalCurrencyFormatted",org.ofbiz.base.util.UtilFormatOut.formatCurrency(shoppingCart.getSubTotal(), isoCode, locale));
+ result.put("subTotalCurrencyFormatted",org.apache.ofbiz.base.util.UtilFormatOut.formatCurrency(shoppingCart.getSubTotal(), isoCode, locale));
result.put("totalShipping", shoppingCart.getTotalShipping());
- result.put("totalShippingCurrencyFormatted",org.ofbiz.base.util.UtilFormatOut.formatCurrency(shoppingCart.getTotalShipping(), isoCode, locale));
+ result.put("totalShippingCurrencyFormatted",org.apache.ofbiz.base.util.UtilFormatOut.formatCurrency(shoppingCart.getTotalShipping(), isoCode, locale));
result.put("totalSalesTax",shoppingCart.getTotalSalesTax());
- result.put("totalSalesTaxCurrencyFormatted",org.ofbiz.base.util.UtilFormatOut.formatCurrency(shoppingCart.getTotalSalesTax(), isoCode, locale));
+ result.put("totalSalesTaxCurrencyFormatted",org.apache.ofbiz.base.util.UtilFormatOut.formatCurrency(shoppingCart.getTotalSalesTax(), isoCode, locale));
result.put("displayGrandTotal", shoppingCart.getDisplayGrandTotal());
- result.put("displayGrandTotalCurrencyFormatted",org.ofbiz.base.util.UtilFormatOut.formatCurrency(shoppingCart.getDisplayGrandTotal(), isoCode, locale));
+ result.put("displayGrandTotalCurrencyFormatted",org.apache.ofbiz.base.util.UtilFormatOut.formatCurrency(shoppingCart.getDisplayGrandTotal(), isoCode, locale));
BigDecimal orderAdjustmentsTotal = OrderReadHelper.calcOrderAdjustments(OrderReadHelper.getOrderHeaderAdjustments(shoppingCart.getAdjustments(), null), shoppingCart.getSubTotal(), true, true, true);
- result.put("displayOrderAdjustmentsTotalCurrencyFormatted", org.ofbiz.base.util.UtilFormatOut.formatCurrency(orderAdjustmentsTotal, isoCode, locale));
+ result.put("displayOrderAdjustmentsTotalCurrencyFormatted", org.apache.ofbiz.base.util.UtilFormatOut.formatCurrency(orderAdjustmentsTotal, isoCode, locale));
Map cartItemData = new HashMap();
for (ShoppingCartItem cartLine : shoppingCart) {
int cartLineIndex = shoppingCart.getItemIndex(cartLine);
cartItemData.put("displayItemQty_" + cartLineIndex, cartLine.getQuantity());
- cartItemData.put("displayItemPrice_" + cartLineIndex, org.ofbiz.base.util.UtilFormatOut.formatCurrency(cartLine.getDisplayPrice(), isoCode, locale));
+ cartItemData.put("displayItemPrice_" + cartLineIndex, org.apache.ofbiz.base.util.UtilFormatOut.formatCurrency(cartLine.getDisplayPrice(), isoCode, locale));
cartItemData.put("displayItemSubTotal_" + cartLineIndex, cartLine.getDisplayItemSubTotal());
- cartItemData.put("displayItemSubTotalCurrencyFormatted_" + cartLineIndex ,org.ofbiz.base.util.UtilFormatOut.formatCurrency(cartLine.getDisplayItemSubTotal(), isoCode, locale));
- cartItemData.put("displayItemAdjustment_" + cartLineIndex ,org.ofbiz.base.util.UtilFormatOut.formatCurrency(cartLine.getOtherAdjustments(), isoCode, locale));
+ cartItemData.put("displayItemSubTotalCurrencyFormatted_" + cartLineIndex ,org.apache.ofbiz.base.util.UtilFormatOut.formatCurrency(cartLine.getDisplayItemSubTotal(), isoCode, locale));
+ cartItemData.put("displayItemAdjustment_" + cartLineIndex ,org.apache.ofbiz.base.util.UtilFormatOut.formatCurrency(cartLine.getOtherAdjustments(), isoCode, locale));
}
result.put("cartItemData",cartItemData);
}
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/WebShoppingCart.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/WebShoppingCart.java
similarity index 88%
rename from applications/order/src/main/java/org/ofbiz/order/shoppingcart/WebShoppingCart.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/WebShoppingCart.java
index 77d2775d62..daea2501e7 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/WebShoppingCart.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/WebShoppingCart.java
@@ -16,23 +16,23 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.shoppingcart;
+package org.apache.ofbiz.order.shoppingcart;
import java.util.Locale;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
-import org.ofbiz.base.util.UtilHttp;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.product.store.ProductStoreWorker;
-import org.ofbiz.webapp.website.WebSiteWorker;
+import org.apache.ofbiz.base.util.UtilHttp;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.product.store.ProductStoreWorker;
+import org.apache.ofbiz.webapp.website.WebSiteWorker;
/**
* WebShoppingCart.java
*
- * Extension of {@link org.ofbiz.order.shoppingcart.ShoppingCart ShoppingCart}
+ * Extension of {@link org.apache.ofbiz.order.shoppingcart.ShoppingCart ShoppingCart}
* class which provides web presentation layer specific functionality
* related specifically to user session information.
*/
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/product/ProductDisplayWorker.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/product/ProductDisplayWorker.java
similarity index 95%
rename from applications/order/src/main/java/org/ofbiz/order/shoppingcart/product/ProductDisplayWorker.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/product/ProductDisplayWorker.java
index d81e0a4b02..5cb00dda8b 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/product/ProductDisplayWorker.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/product/ProductDisplayWorker.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.shoppingcart.product;
+package org.apache.ofbiz.order.shoppingcart.product;
import java.math.BigDecimal;
import java.math.MathContext;
@@ -31,21 +31,21 @@ import java.util.Map;
import javax.servlet.ServletRequest;
import javax.servlet.http.HttpServletRequest;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.UtilGenerics;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilNumber;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericEntity;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.order.shoppingcart.ShoppingCart;
-import org.ofbiz.order.shoppingcart.ShoppingCartItem;
-import org.ofbiz.product.catalog.CatalogWorker;
-import org.ofbiz.product.category.CategoryWorker;
-import org.ofbiz.product.product.ProductWorker;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.UtilGenerics;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilNumber;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericEntity;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCartItem;
+import org.apache.ofbiz.product.catalog.CatalogWorker;
+import org.apache.ofbiz.product.category.CategoryWorker;
+import org.apache.ofbiz.product.product.ProductWorker;
public final class ProductDisplayWorker {
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/product/ProductPromoWorker.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/product/ProductPromoWorker.java
similarity index 98%
rename from applications/order/src/main/java/org/ofbiz/order/shoppingcart/product/ProductPromoWorker.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/product/ProductPromoWorker.java
index 109dcc6729..3b4c20ecff 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/product/ProductPromoWorker.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/product/ProductPromoWorker.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.shoppingcart.product;
+package org.apache.ofbiz.order.shoppingcart.product;
import java.math.BigDecimal;
import java.math.MathContext;
@@ -35,33 +35,33 @@ import java.util.Set;
import javax.servlet.ServletRequest;
import javax.servlet.http.HttpServletRequest;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.GeneralException;
-import org.ofbiz.base.util.UtilDateTime;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilNumber;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.condition.EntityCondition;
-import org.ofbiz.entity.condition.EntityOperator;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.entity.util.EntityUtil;
-import org.ofbiz.order.shoppingcart.CartItemModifyException;
-import org.ofbiz.order.shoppingcart.ShoppingCart;
-import org.ofbiz.order.shoppingcart.ShoppingCart.ProductPromoUseInfo;
-import org.ofbiz.order.shoppingcart.ShoppingCartEvents;
-import org.ofbiz.order.shoppingcart.ShoppingCartItem;
-import org.ofbiz.product.product.ProductContentWrapper;
-import org.ofbiz.product.product.ProductSearch;
-import org.ofbiz.service.GenericServiceException;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ModelService;
-import org.ofbiz.service.ServiceUtil;
-import org.ofbiz.service.calendar.RecurrenceInfo;
-import org.ofbiz.service.calendar.RecurrenceInfoException;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.GeneralException;
+import org.apache.ofbiz.base.util.UtilDateTime;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilNumber;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.condition.EntityCondition;
+import org.apache.ofbiz.entity.condition.EntityOperator;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.entity.util.EntityUtil;
+import org.apache.ofbiz.order.shoppingcart.CartItemModifyException;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart.ProductPromoUseInfo;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCartEvents;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCartItem;
+import org.apache.ofbiz.product.product.ProductContentWrapper;
+import org.apache.ofbiz.product.product.ProductSearch;
+import org.apache.ofbiz.service.GenericServiceException;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ModelService;
+import org.apache.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.service.calendar.RecurrenceInfo;
+import org.apache.ofbiz.service.calendar.RecurrenceInfoException;
import com.ibm.icu.util.Calendar;
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/product/ProductStoreCartAwareEvents.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/product/ProductStoreCartAwareEvents.java
similarity index 91%
rename from applications/order/src/main/java/org/ofbiz/order/shoppingcart/product/ProductStoreCartAwareEvents.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/product/ProductStoreCartAwareEvents.java
index a8457515d0..7ac5f6b2bf 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/product/ProductStoreCartAwareEvents.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/product/ProductStoreCartAwareEvents.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.shoppingcart.product;
+package org.apache.ofbiz.order.shoppingcart.product;
import java.util.Map;
@@ -24,15 +24,15 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.UtilHttp;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.order.shoppingcart.ShoppingCart;
-import org.ofbiz.order.shoppingcart.ShoppingCartEvents;
-import org.ofbiz.order.shoppingcart.WebShoppingCart;
-import org.ofbiz.product.store.ProductStoreWorker;
-import org.ofbiz.webapp.website.WebSiteWorker;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.UtilHttp;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCartEvents;
+import org.apache.ofbiz.order.shoppingcart.WebShoppingCart;
+import org.apache.ofbiz.product.store.ProductStoreWorker;
+import org.apache.ofbiz.webapp.website.WebSiteWorker;
/**
* ProductStoreWorker - Worker class for store related functionality
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/shipping/ShippingEstimateWrapper.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/shipping/ShippingEstimateWrapper.java
similarity index 90%
rename from applications/order/src/main/java/org/ofbiz/order/shoppingcart/shipping/ShippingEstimateWrapper.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/shipping/ShippingEstimateWrapper.java
index 2e648fd48e..bf44612e13 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/shipping/ShippingEstimateWrapper.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/shipping/ShippingEstimateWrapper.java
@@ -16,24 +16,24 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.shoppingcart.shipping;
+package org.apache.ofbiz.order.shoppingcart.shipping;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.order.shoppingcart.ShoppingCart;
-import org.ofbiz.order.shoppingcart.ShoppingCartItem;
-import org.ofbiz.product.store.ProductStoreWorker;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCartItem;
+import org.apache.ofbiz.product.store.ProductStoreWorker;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ServiceUtil;
public class ShippingEstimateWrapper {
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/shipping/ShippingEvents.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/shipping/ShippingEvents.java
similarity index 94%
rename from applications/order/src/main/java/org/ofbiz/order/shoppingcart/shipping/ShippingEvents.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/shipping/ShippingEvents.java
index 26ddd0ad45..3852238431 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppingcart/shipping/ShippingEvents.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/shipping/ShippingEvents.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.shoppingcart.shipping;
+package org.apache.ofbiz.order.shoppingcart.shipping;
import java.math.BigDecimal;
import java.util.HashMap;
@@ -27,27 +27,27 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.GeneralException;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.condition.EntityCondition;
-import org.ofbiz.entity.condition.EntityConditionList;
-import org.ofbiz.entity.condition.EntityOperator;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.entity.util.EntityUtil;
-import org.ofbiz.entity.util.EntityUtilProperties;
-import org.ofbiz.order.order.OrderReadHelper;
-import org.ofbiz.order.shoppingcart.ShoppingCart;
-import org.ofbiz.order.shoppingcart.product.ProductPromoWorker;
-import org.ofbiz.product.store.ProductStoreWorker;
-import org.ofbiz.service.GenericServiceException;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ModelService;
-import org.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.GeneralException;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.condition.EntityCondition;
+import org.apache.ofbiz.entity.condition.EntityConditionList;
+import org.apache.ofbiz.entity.condition.EntityOperator;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.entity.util.EntityUtil;
+import org.apache.ofbiz.entity.util.EntityUtilProperties;
+import org.apache.ofbiz.order.order.OrderReadHelper;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart;
+import org.apache.ofbiz.order.shoppingcart.product.ProductPromoWorker;
+import org.apache.ofbiz.product.store.ProductStoreWorker;
+import org.apache.ofbiz.service.GenericServiceException;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ModelService;
+import org.apache.ofbiz.service.ServiceUtil;
/**
* ShippingEvents - Events used for processing shipping fees
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppinglist/ShoppingListEvents.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppinglist/ShoppingListEvents.java
similarity index 95%
rename from applications/order/src/main/java/org/ofbiz/order/shoppinglist/ShoppingListEvents.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppinglist/ShoppingListEvents.java
index 2ae2de8f1f..6192d11cec 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppinglist/ShoppingListEvents.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppinglist/ShoppingListEvents.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.shoppinglist;
+package org.apache.ofbiz.order.shoppinglist;
import java.math.BigDecimal;
import java.sql.Timestamp;
@@ -32,32 +32,32 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.GeneralException;
-import org.ofbiz.base.util.UtilDateTime;
-import org.ofbiz.base.util.UtilHttp;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.entity.util.EntityUtil;
-import org.ofbiz.order.shoppingcart.CartItemModifyException;
-import org.ofbiz.order.shoppingcart.ItemNotFoundException;
-import org.ofbiz.order.shoppingcart.ShoppingCart;
-import org.ofbiz.order.shoppingcart.ShoppingCartEvents;
-import org.ofbiz.order.shoppingcart.ShoppingCartItem;
-import org.ofbiz.product.catalog.CatalogWorker;
-import org.ofbiz.product.config.ProductConfigWorker;
-import org.ofbiz.product.config.ProductConfigWrapper;
-import org.ofbiz.product.store.ProductStoreWorker;
-import org.ofbiz.service.GenericServiceException;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ModelService;
-import org.ofbiz.service.ServiceUtil;
-import org.ofbiz.webapp.website.WebSiteWorker;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.GeneralException;
+import org.apache.ofbiz.base.util.UtilDateTime;
+import org.apache.ofbiz.base.util.UtilHttp;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.entity.util.EntityUtil;
+import org.apache.ofbiz.order.shoppingcart.CartItemModifyException;
+import org.apache.ofbiz.order.shoppingcart.ItemNotFoundException;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCartEvents;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCartItem;
+import org.apache.ofbiz.product.catalog.CatalogWorker;
+import org.apache.ofbiz.product.config.ProductConfigWorker;
+import org.apache.ofbiz.product.config.ProductConfigWrapper;
+import org.apache.ofbiz.product.store.ProductStoreWorker;
+import org.apache.ofbiz.service.GenericServiceException;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ModelService;
+import org.apache.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.webapp.website.WebSiteWorker;
/**
* Shopping cart events.
diff --git a/applications/order/src/main/java/org/ofbiz/order/shoppinglist/ShoppingListServices.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppinglist/ShoppingListServices.java
similarity index 95%
rename from applications/order/src/main/java/org/ofbiz/order/shoppinglist/ShoppingListServices.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/shoppinglist/ShoppingListServices.java
index ec41378241..e6567c78a0 100644
--- a/applications/order/src/main/java/org/ofbiz/order/shoppinglist/ShoppingListServices.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppinglist/ShoppingListServices.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.shoppinglist;
+package org.apache.ofbiz.order.shoppinglist;
import java.math.BigDecimal;
import java.sql.Timestamp;
@@ -26,36 +26,36 @@ import java.util.List;
import java.util.Locale;
import java.util.Map;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.GeneralException;
-import org.ofbiz.base.util.UtilDateTime;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.transaction.TransactionUtil;
-import org.ofbiz.entity.util.EntityListIterator;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.entity.util.EntityTypeUtil;
-import org.ofbiz.entity.util.EntityUtil;
-import org.ofbiz.entity.util.EntityUtilProperties;
-import org.ofbiz.order.order.OrderReadHelper;
-import org.ofbiz.order.shoppingcart.CartItemModifyException;
-import org.ofbiz.order.shoppingcart.CheckOutHelper;
-import org.ofbiz.order.shoppingcart.ItemNotFoundException;
-import org.ofbiz.order.shoppingcart.ShoppingCart;
-import org.ofbiz.product.config.ProductConfigWorker;
-import org.ofbiz.product.config.ProductConfigWrapper;
-import org.ofbiz.product.product.ProductWorker;
-import org.ofbiz.product.store.ProductStoreWorker;
-import org.ofbiz.service.DispatchContext;
-import org.ofbiz.service.GenericServiceException;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ServiceUtil;
-import org.ofbiz.service.calendar.RecurrenceInfo;
-import org.ofbiz.service.calendar.RecurrenceInfoException;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.GeneralException;
+import org.apache.ofbiz.base.util.UtilDateTime;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.transaction.TransactionUtil;
+import org.apache.ofbiz.entity.util.EntityListIterator;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.entity.util.EntityTypeUtil;
+import org.apache.ofbiz.entity.util.EntityUtil;
+import org.apache.ofbiz.entity.util.EntityUtilProperties;
+import org.apache.ofbiz.order.order.OrderReadHelper;
+import org.apache.ofbiz.order.shoppingcart.CartItemModifyException;
+import org.apache.ofbiz.order.shoppingcart.CheckOutHelper;
+import org.apache.ofbiz.order.shoppingcart.ItemNotFoundException;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart;
+import org.apache.ofbiz.product.config.ProductConfigWorker;
+import org.apache.ofbiz.product.config.ProductConfigWrapper;
+import org.apache.ofbiz.product.product.ProductWorker;
+import org.apache.ofbiz.product.store.ProductStoreWorker;
+import org.apache.ofbiz.service.DispatchContext;
+import org.apache.ofbiz.service.GenericServiceException;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.service.calendar.RecurrenceInfo;
+import org.apache.ofbiz.service.calendar.RecurrenceInfoException;
import com.ibm.icu.util.Calendar;
diff --git a/applications/order/src/main/java/org/ofbiz/order/task/TaskEvents.java b/applications/order/src/main/java/org/apache/ofbiz/order/task/TaskEvents.java
similarity index 89%
rename from applications/order/src/main/java/org/ofbiz/order/task/TaskEvents.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/task/TaskEvents.java
index 6820e6f98f..d2ef7672cc 100644
--- a/applications/order/src/main/java/org/ofbiz/order/task/TaskEvents.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/task/TaskEvents.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.task;
+package org.apache.ofbiz.order.task;
import java.util.Map;
@@ -25,20 +25,20 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Locale;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.GeneralException;
-import org.ofbiz.base.util.ObjectType;
-import org.ofbiz.base.util.UtilHttp;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.webapp.control.RequestHandler;
-import org.ofbiz.webapp.control.ConfigXMLReader.Event;
-import org.ofbiz.webapp.event.EventHandler;
-import org.ofbiz.webapp.event.EventHandlerException;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.service.GenericServiceException;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ModelService;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.GeneralException;
+import org.apache.ofbiz.base.util.ObjectType;
+import org.apache.ofbiz.base.util.UtilHttp;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.webapp.control.RequestHandler;
+import org.apache.ofbiz.webapp.control.ConfigXMLReader.Event;
+import org.apache.ofbiz.webapp.event.EventHandler;
+import org.apache.ofbiz.webapp.event.EventHandlerException;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.service.GenericServiceException;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ModelService;
/**
* Order Processing Task Events
diff --git a/applications/order/src/main/java/org/ofbiz/order/task/TaskWorker.java b/applications/order/src/main/java/org/apache/ofbiz/order/task/TaskWorker.java
similarity index 92%
rename from applications/order/src/main/java/org/ofbiz/order/task/TaskWorker.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/task/TaskWorker.java
index 9912c415b6..51c6bec28c 100644
--- a/applications/order/src/main/java/org/ofbiz/order/task/TaskWorker.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/task/TaskWorker.java
@@ -16,14 +16,14 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.task;
+package org.apache.ofbiz.order.task;
import java.util.Map;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericValue;
/**
* Order Processing Task Worker
diff --git a/applications/order/src/main/java/org/ofbiz/order/test/FinAccountTest.java b/applications/order/src/main/java/org/apache/ofbiz/order/test/FinAccountTest.java
similarity index 91%
rename from applications/order/src/main/java/org/ofbiz/order/test/FinAccountTest.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/test/FinAccountTest.java
index 125a1d6f8a..82f3d95e93 100644
--- a/applications/order/src/main/java/org/ofbiz/order/test/FinAccountTest.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/test/FinAccountTest.java
@@ -16,12 +16,12 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.test;
+package org.apache.ofbiz.order.test;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.service.testtools.OFBizTestCase;
-import org.ofbiz.order.finaccount.FinAccountHelper;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.service.testtools.OFBizTestCase;
+import org.apache.ofbiz.order.finaccount.FinAccountHelper;
public class FinAccountTest extends OFBizTestCase {
public FinAccountTest(String name) {
diff --git a/applications/order/src/main/java/org/ofbiz/order/test/OrderTestServices.java b/applications/order/src/main/java/org/apache/ofbiz/order/test/OrderTestServices.java
similarity index 90%
rename from applications/order/src/main/java/org/ofbiz/order/test/OrderTestServices.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/test/OrderTestServices.java
index 28852de5ef..5f33b0605a 100644
--- a/applications/order/src/main/java/org/ofbiz/order/test/OrderTestServices.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/test/OrderTestServices.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.test;
+package org.apache.ofbiz.order.test;
import java.math.BigDecimal;
import java.util.LinkedList;
@@ -25,21 +25,21 @@ import java.util.Locale;
import java.util.Map;
import java.util.Random;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.UtilGenerics;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.order.order.OrderChangeHelper;
-import org.ofbiz.order.shoppingcart.CheckOutHelper;
-import org.ofbiz.order.shoppingcart.ShoppingCart;
-import org.ofbiz.service.DispatchContext;
-import org.ofbiz.service.GenericServiceException;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ModelService;
-import org.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.UtilGenerics;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.order.order.OrderChangeHelper;
+import org.apache.ofbiz.order.shoppingcart.CheckOutHelper;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart;
+import org.apache.ofbiz.service.DispatchContext;
+import org.apache.ofbiz.service.GenericServiceException;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ModelService;
+import org.apache.ofbiz.service.ServiceUtil;
/**
* Order Processing Services
diff --git a/applications/order/src/main/java/org/ofbiz/order/test/PurchaseOrderTest.java b/applications/order/src/main/java/org/apache/ofbiz/order/test/PurchaseOrderTest.java
similarity index 95%
rename from applications/order/src/main/java/org/ofbiz/order/test/PurchaseOrderTest.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/test/PurchaseOrderTest.java
index 92699b7918..1cccf7c269 100644
--- a/applications/order/src/main/java/org/ofbiz/order/test/PurchaseOrderTest.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/test/PurchaseOrderTest.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.test;
+package org.apache.ofbiz.order.test;
import java.math.BigDecimal;
import java.util.HashMap;
@@ -24,10 +24,10 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Map;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.service.testtools.OFBizTestCase;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.service.testtools.OFBizTestCase;
public class PurchaseOrderTest extends OFBizTestCase {
diff --git a/applications/order/src/main/java/org/ofbiz/order/test/SalesOrderTest.java b/applications/order/src/main/java/org/apache/ofbiz/order/test/SalesOrderTest.java
similarity index 97%
rename from applications/order/src/main/java/org/ofbiz/order/test/SalesOrderTest.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/test/SalesOrderTest.java
index ad16a796b9..239f6fd24a 100644
--- a/applications/order/src/main/java/org/ofbiz/order/test/SalesOrderTest.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/test/SalesOrderTest.java
@@ -16,17 +16,17 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.test;
+package org.apache.ofbiz.order.test;
import java.math.BigDecimal;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.service.testtools.OFBizTestCase;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.service.testtools.OFBizTestCase;
public class SalesOrderTest extends OFBizTestCase {
diff --git a/applications/order/src/main/java/org/ofbiz/order/thirdparty/paypal/ExpressCheckoutEvents.java b/applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/paypal/ExpressCheckoutEvents.java
similarity index 93%
rename from applications/order/src/main/java/org/ofbiz/order/thirdparty/paypal/ExpressCheckoutEvents.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/paypal/ExpressCheckoutEvents.java
index 9df58c779a..21d7e760b0 100644
--- a/applications/order/src/main/java/org/ofbiz/order/thirdparty/paypal/ExpressCheckoutEvents.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/paypal/ExpressCheckoutEvents.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.thirdparty.paypal;
+package org.apache.ofbiz.order.thirdparty.paypal;
import java.io.IOException;
import java.util.HashMap;
@@ -26,21 +26,21 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.UtilHttp;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.order.shoppingcart.ShoppingCart;
-import org.ofbiz.order.shoppingcart.ShoppingCartEvents;
-import org.ofbiz.product.store.ProductStoreWorker;
-import org.ofbiz.service.GenericServiceException;
-import org.ofbiz.service.LocalDispatcher;
-import org.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.UtilHttp;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCart;
+import org.apache.ofbiz.order.shoppingcart.ShoppingCartEvents;
+import org.apache.ofbiz.product.store.ProductStoreWorker;
+import org.apache.ofbiz.service.GenericServiceException;
+import org.apache.ofbiz.service.LocalDispatcher;
+import org.apache.ofbiz.service.ServiceUtil;
public class ExpressCheckoutEvents {
diff --git a/applications/order/src/main/java/org/ofbiz/order/thirdparty/taxware/TaxwareException.java b/applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/taxware/TaxwareException.java
similarity index 92%
rename from applications/order/src/main/java/org/ofbiz/order/thirdparty/taxware/TaxwareException.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/taxware/TaxwareException.java
index 51a4d3aeed..eb844725ca 100644
--- a/applications/order/src/main/java/org/ofbiz/order/thirdparty/taxware/TaxwareException.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/taxware/TaxwareException.java
@@ -18,9 +18,9 @@
*******************************************************************************/
-package org.ofbiz.order.thirdparty.taxware;
+package org.apache.ofbiz.order.thirdparty.taxware;
-import org.ofbiz.base.util.GeneralException;
+import org.apache.ofbiz.base.util.GeneralException;
/**
diff --git a/applications/order/src/main/java/org/ofbiz/order/thirdparty/taxware/TaxwareServices.java b/applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/taxware/TaxwareServices.java
similarity index 94%
rename from applications/order/src/main/java/org/ofbiz/order/thirdparty/taxware/TaxwareServices.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/taxware/TaxwareServices.java
index ca3c752493..fcfe5ac087 100644
--- a/applications/order/src/main/java/org/ofbiz/order/thirdparty/taxware/TaxwareServices.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/taxware/TaxwareServices.java
@@ -16,16 +16,16 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.thirdparty.taxware;
+package org.apache.ofbiz.order.thirdparty.taxware;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.service.DispatchContext;
-import org.ofbiz.service.ModelService;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.service.DispatchContext;
+import org.apache.ofbiz.service.ModelService;
import com.ibm.icu.math.BigDecimal;
diff --git a/applications/order/src/main/java/org/ofbiz/order/thirdparty/taxware/TaxwareUTL.java b/applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/taxware/TaxwareUTL.java
similarity index 97%
rename from applications/order/src/main/java/org/ofbiz/order/thirdparty/taxware/TaxwareUTL.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/taxware/TaxwareUTL.java
index 596e2e1a35..717fdd66d8 100644
--- a/applications/order/src/main/java/org/ofbiz/order/thirdparty/taxware/TaxwareUTL.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/taxware/TaxwareUTL.java
@@ -17,7 +17,7 @@
* under the License.
*******************************************************************************/
-package org.ofbiz.order.thirdparty.taxware;
+package org.apache.ofbiz.order.thirdparty.taxware;
import java.io.File;
@@ -30,17 +30,17 @@ import java.util.Date;
import java.util.Iterator;
import java.util.List;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.base.util.UtilURL;
-import org.ofbiz.datafile.DataFile;
-import org.ofbiz.datafile.DataFileException;
-import org.ofbiz.datafile.ModelRecord;
-import org.ofbiz.datafile.ModelField;
-import org.ofbiz.datafile.Record;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.base.util.UtilURL;
+import org.apache.ofbiz.datafile.DataFile;
+import org.apache.ofbiz.datafile.DataFileException;
+import org.apache.ofbiz.datafile.ModelRecord;
+import org.apache.ofbiz.datafile.ModelField;
+import org.apache.ofbiz.datafile.Record;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericValue;
/**
@@ -236,7 +236,7 @@ public class TaxwareUTL {
DataFile df = null;
try {
- df = DataFile.makeDataFile(UtilURL.fromResource("org/ofbiz/thirdparty/taxware/TaxwareFiles.xml"), dataFile);
+ df = DataFile.makeDataFile(UtilURL.fromResource("org/apache/ofbiz/thirdparty/taxware/TaxwareFiles.xml"), dataFile);
} catch (DataFileException e) {
Debug.logError(e, module);
throw new TaxwareException("Cannot load datafile.");
diff --git a/applications/order/src/main/java/org/ofbiz/order/thirdparty/zipsales/ZipSalesServices.java b/applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/zipsales/ZipSalesServices.java
similarity index 95%
rename from applications/order/src/main/java/org/ofbiz/order/thirdparty/zipsales/ZipSalesServices.java
rename to applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/zipsales/ZipSalesServices.java
index 989a17e579..5f18ba93c5 100644
--- a/applications/order/src/main/java/org/ofbiz/order/thirdparty/zipsales/ZipSalesServices.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/thirdparty/zipsales/ZipSalesServices.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*******************************************************************************/
-package org.ofbiz.order.thirdparty.zipsales;
+package org.apache.ofbiz.order.thirdparty.zipsales;
import java.math.BigDecimal;
import java.net.URL;
@@ -28,27 +28,27 @@ import java.util.List;
import java.util.Locale;
import java.util.Map;
-import org.ofbiz.base.util.Debug;
-import org.ofbiz.base.util.GeneralException;
-import org.ofbiz.base.util.StringUtil;
-import org.ofbiz.base.util.UtilGenerics;
-import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilProperties;
-import org.ofbiz.base.util.UtilURL;
-import org.ofbiz.base.util.UtilValidate;
-import org.ofbiz.datafile.DataFile;
-import org.ofbiz.datafile.DataFileException;
-import org.ofbiz.datafile.Record;
-import org.ofbiz.datafile.RecordIterator;
-import org.ofbiz.entity.Delegator;
-import org.ofbiz.entity.GenericEntityException;
-import org.ofbiz.entity.GenericValue;
-import org.ofbiz.entity.util.EntityQuery;
-import org.ofbiz.entity.util.EntityUtil;
-import org.ofbiz.entity.util.EntityUtilProperties;
-import org.ofbiz.security.Security;
-import org.ofbiz.service.DispatchContext;
-import org.ofbiz.service.ServiceUtil;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.GeneralException;
+import org.apache.ofbiz.base.util.StringUtil;
+import org.apache.ofbiz.base.util.UtilGenerics;
+import org.apache.ofbiz.base.util.UtilMisc;
+import org.apache.ofbiz.base.util.UtilProperties;
+import org.apache.ofbiz.base.util.UtilURL;
+import org.apache.ofbiz.base.util.UtilValidate;
+import org.apache.ofbiz.datafile.DataFile;
+import org.apache.ofbiz.datafile.DataFileException;
+import org.apache.ofbiz.datafile.Record;
+import org.apache.ofbiz.datafile.RecordIterator;
+import org.apache.ofbiz.entity.Delegator;
+import org.apache.ofbiz.entity.GenericEntityException;
+import org.apache.ofbiz.entity.GenericValue;
+import org.apache.ofbiz.entity.util.EntityQuery;
+import org.apache.ofbiz.entity.util.EntityUtil;
+import org.apache.ofbiz.entity.util.EntityUtilProperties;
+import org.apache.ofbiz.security.Security;
+import org.apache.ofbiz.service.DispatchContext;
+import org.apache.ofbiz.service.ServiceUtil;
/**
* Zip-Sales Database Services
@@ -56,7 +56,7 @@ import org.ofbiz.service.ServiceUtil;
public class ZipSalesServices {
public static final String module = ZipSalesServices.class.getName();
- public static final String dataFile = "org/ofbiz/order/thirdparty/zipsales/ZipSalesTaxTables.xml";
+ public static final String dataFile = "org/apache/ofbiz/order/thirdparty/zipsales/ZipSalesTaxTables.xml";
public static final String flatTable = "FlatTaxTable";
public static final String ruleTable = "FreightRuleTable";
public static final String resource_error = "OrderErrorUiLabels";
diff --git a/applications/order/template/entry/BillSettings.ftl b/applications/order/template/entry/BillSettings.ftl
index 81c043c619..d0e11f1d89 100644
--- a/applications/order/template/entry/BillSettings.ftl
+++ b/applications/order/template/entry/BillSettings.ftl
@@ -99,7 +99,7 @@ function makeExpDate() {
|
diff --git a/applications/order/template/entry/CheckInits.ftl b/applications/order/template/entry/CheckInits.ftl
index c5d7405977..300b5f6d50 100644
--- a/applications/order/template/entry/CheckInits.ftl
+++ b/applications/order/template/entry/CheckInits.ftl
@@ -152,7 +152,7 @@ under the License.
diff --git a/applications/order/template/entry/CheckoutOptions.ftl b/applications/order/template/entry/CheckoutOptions.ftl
index e6adbec96e..a109d90b7b 100644
--- a/applications/order/template/entry/CheckoutOptions.ftl
+++ b/applications/order/template/entry/CheckoutOptions.ftl
@@ -388,7 +388,7 @@ function submitForm(form, mode, value) {
|
${uiLabelMap.CommonUpdate}
<#if paymentMethod.description?has_content> (${paymentMethod.description})#if>
diff --git a/applications/order/template/entry/CheckoutPayment.ftl b/applications/order/template/entry/CheckoutPayment.ftl
index 3d05f3d0af..5ae662b9c4 100644
--- a/applications/order/template/entry/CheckoutPayment.ftl
+++ b/applications/order/template/entry/CheckoutPayment.ftl
@@ -192,7 +192,7 @@ var issuerId = "";
<#assign creditCard = paymentMethod.getRelatedOne("CreditCard", false) />
checked="checked"#if> />
-
+
<#if paymentMethod.description?has_content>(${paymentMethod.description})#if>
${uiLabelMap.CommonUpdate}
" />
diff --git a/applications/order/template/entry/OptionSettings.ftl b/applications/order/template/entry/OptionSettings.ftl
index ecdd52f725..06bb1f15f5 100644
--- a/applications/order/template/entry/OptionSettings.ftl
+++ b/applications/order/template/entry/OptionSettings.ftl
@@ -56,7 +56,7 @@ under the License.
<#assign chosenShippingMethod = cart.getShipmentMethodTypeId(shipGroupIndex) + '@' + cart.getCarrierPartyId(shipGroupIndex)>
#if>
<#assign supplierPartyId = cart.getSupplierPartyId(shipGroupIndex)!>
-<#assign supplier = delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", supplierPartyId), false)! />
+<#assign supplier = delegator.findOne("PartyGroup", Static["org.apache.ofbiz.base.util.UtilMisc"].toMap("partyId", supplierPartyId), false)! />
|
@@ -71,7 +71,7 @@ under the License.
${uiLabelMap.ProductShipmentMethod}
- <#assign shipEstimateWrapper = Static["org.ofbiz.order.shoppingcart.shipping.ShippingEstimateWrapper"].getWrapper(dispatcher, cart, 0)>
+ <#assign shipEstimateWrapper = Static["org.apache.ofbiz.order.shoppingcart.shipping.ShippingEstimateWrapper"].getWrapper(dispatcher, cart, 0)>
<#assign carrierShipmentMethods = shipEstimateWrapper.getShippingMethods()>
<#list carrierShipmentMethods as carrierShipmentMethod>
diff --git a/applications/order/template/entry/OrderAgreements.ftl b/applications/order/template/entry/OrderAgreements.ftl
index 7ccb11c99c..c1cffaafe8 100644
--- a/applications/order/template/entry/OrderAgreements.ftl
+++ b/applications/order/template/entry/OrderAgreements.ftl
@@ -146,7 +146,7 @@ under the License.
<#if catalogCol?has_content>
<#list catalogCol! as catalogId>
- <#assign thisCatalogName = Static["org.ofbiz.product.catalog.CatalogWorker"].getCatalogName(request, catalogId)>
+ <#assign thisCatalogName = Static["org.apache.ofbiz.product.catalog.CatalogWorker"].getCatalogName(request, catalogId)>
#list>
diff --git a/applications/order/template/entry/OrderHeaderInfo.ftl b/applications/order/template/entry/OrderHeaderInfo.ftl
index 74a7bd8cbf..80f2d3bdd4 100644
--- a/applications/order/template/entry/OrderHeaderInfo.ftl
+++ b/applications/order/template/entry/OrderHeaderInfo.ftl
@@ -20,7 +20,7 @@ under the License.
<#assign shoppingCart = sessionAttributes.shoppingCart!>
<#assign currencyUomId = shoppingCart.getCurrency()>
<#assign partyId = shoppingCart.getPartyId()>
-<#assign partyMap = Static["org.ofbiz.party.party.PartyWorker"].getPartyOtherValues(request, partyId, "party", "person", "partyGroup")>
+<#assign partyMap = Static["org.apache.ofbiz.party.party.PartyWorker"].getPartyOtherValues(request, partyId, "party", "person", "partyGroup")>
<#assign agreementId = shoppingCart.getAgreementId()!>
<#assign quoteId = shoppingCart.getQuoteId()!>
diff --git a/applications/order/template/entry/SetItemShipGroups.ftl b/applications/order/template/entry/SetItemShipGroups.ftl
index c8f1e8709d..6b07fca26c 100644
--- a/applications/order/template/entry/SetItemShipGroups.ftl
+++ b/applications/order/template/entry/SetItemShipGroups.ftl
@@ -30,7 +30,7 @@ under the License.
<#list 1..shoppingCart.getShipGroupSize() as currIndex>
<#assign shipGroupIndex = currIndex - 1>
- <#assign supplier = delegator.findOne("PartyGroup", Static["org.ofbiz.base.util.UtilMisc"].toMap("partyId", shoppingCart.getSupplierPartyId(shipGroupIndex)), false)! />
+ <#assign supplier = delegator.findOne("PartyGroup", Static["org.apache.ofbiz.base.util.UtilMisc"].toMap("partyId", shoppingCart.getSupplierPartyId(shipGroupIndex)), false)! />
|
diff --git a/applications/order/template/entry/ShipSettings.ftl b/applications/order/template/entry/ShipSettings.ftl
index f4e05c870d..0c5518689d 100644
--- a/applications/order/template/entry/ShipSettings.ftl
+++ b/applications/order/template/entry/ShipSettings.ftl
@@ -121,7 +121,7 @@ under the License.
|
<#if shipToPartyShippingContactMechList?has_content>
|
- | ${uiLabelMap.OrderShipToAnotherParty}: ${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(shipToParty)} |
+ | ${uiLabelMap.OrderShipToAnotherParty}: ${Static["org.apache.ofbiz.party.party.PartyHelper"].getPartyName(shipToParty)} |
|
<#list shipToPartyShippingContactMechList as shippingContactMech>
<#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress", false)>
@@ -187,7 +187,7 @@ under the License.
<#list suppliers as supplier>
-
+
#list>
${uiLabelMap.ProductReserveInventoryFromFacility}:
@@ -247,7 +247,7 @@ under the License.
#if>
<#if shipToPartyShippingContactMechList?has_content>
|
- | ${uiLabelMap.OrderShipToAnotherParty}: ${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(shipToParty)} |
+ | ${uiLabelMap.OrderShipToAnotherParty}: ${Static["org.apache.ofbiz.party.party.PartyHelper"].getPartyName(shipToParty)} |
|
<#list shipToPartyShippingContactMechList as shippingContactMech>
<#assign shippingAddress = shippingContactMech.getRelatedOne("PostalAddress", false)>
diff --git a/applications/order/template/entry/SplitShip.ftl b/applications/order/template/entry/SplitShip.ftl
index 16bda0a96a..0edb56d749 100644
--- a/applications/order/template/entry/SplitShip.ftl
+++ b/applications/order/template/entry/SplitShip.ftl
@@ -55,7 +55,7 @@ function submitForm(form, mode, value) {
<#if (shipGroups.size() > 0)>
<#assign groupIdx = 0>
<#list shipGroups as group>
- <#assign shipEstimateWrapper = Static["org.ofbiz.order.shoppingcart.shipping.ShippingEstimateWrapper"].getWrapper(dispatcher, cart, groupIdx)>
+ <#assign shipEstimateWrapper = Static["org.apache.ofbiz.order.shoppingcart.shipping.ShippingEstimateWrapper"].getWrapper(dispatcher, cart, groupIdx)>
<#assign carrierShipmentMethods = shipEstimateWrapper.getShippingMethods()>
<#assign groupNumber = groupIdx + 1>
| |