import org.mxchange.jcoreee.database.BaseDatabaseBean;
import org.mxchange.jcustomercore.model.customer.Customer;
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.order.Orderable;
import org.mxchange.jshopcore.model.order.ShopOrder;
// @TODO Nothing done so far
}
+ @Override
+ public Basket<AddableBasketItem> getCurrentBasket () {
+ // Trace message
+ this.getLoggerBeanLocal().logTrace("getCurrentBasket: CALLED!!"); //NOI18N
+
+ // @TODO For now this method returns only an empty basked until they are persitable
+ Basket<AddableBasketItem> basket = new ShopBasket();
+
+ // Trace message
+ this.getLoggerBeanLocal().logTrace(MessageFormat.format("getCurrentBasket: basket.size()={0} EXIT!!", basket.size())); //NOI18N
+
+ // Return it
+ return basket;
+ }
+
@Override
public String registerItems (final Customer customer, final List<AddableBasketItem> orderedItems) {
// Trace message