]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
use ShopCustomerUtils ...
authorRoland Häder <roland@mxchange.org>
Thu, 20 Apr 2017 00:13:35 +0000 (02:13 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Apr 2017 00:13:35 +0000 (02:13 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/model/basket/BasketSessionBean.java

index 9fc9eb8dec9f46b0126f92c9cdf56e4d32cf33f2..c2fcb6341642d1396fb7e0e6195072ec431a48f9 100644 (file)
@@ -27,7 +27,7 @@ import org.mxchange.jshopcore.model.basket.AddableBasketItem;
 import org.mxchange.jshopcore.model.basket.Basket;
 import org.mxchange.jshopcore.model.basket.BasketSessionBeanRemote;
 import org.mxchange.jshopcore.model.basket.ShopBasket;
-import org.mxchange.jshopcore.model.customer.CustomerUtils;
+import org.mxchange.jshopcore.model.customer.ShopCustomerUtils;
 import org.mxchange.jshopcore.model.order.Orderable;
 import org.mxchange.jshopcore.model.order.ShopOrder;
 
@@ -99,7 +99,7 @@ public class BasketSessionBean extends BaseDatabaseBean implements BasketSession
                // First try to register the order (to get an id number from it)
                try {
                        // Generate access key
-                       accessKey = CustomerUtils.generateAccessKey(this.getEntityManager(), customer);
+                       accessKey = ShopCustomerUtils.generateAccessKey(this.getEntityManager(), customer);
 
                        // Debug message
                        this.getLoggerBeanLocal().logDebug(MessageFormat.format("registerItems: accessKey={0}", accessKey)); //NOI18N