From: Roland Häder Date: Thu, 20 Apr 2017 00:13:35 +0000 (+0200) Subject: use ShopCustomerUtils ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c43908aa5bbba8d3c61699aea59667b5a36323a4;p=pizzaservice-ejb.git use ShopCustomerUtils ... Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/model/basket/BasketSessionBean.java b/src/java/org/mxchange/pizzaapplication/model/basket/BasketSessionBean.java index 9fc9eb8..c2fcb63 100644 --- a/src/java/org/mxchange/pizzaapplication/model/basket/BasketSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/model/basket/BasketSessionBean.java @@ -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