From 9088951ac0fa2d8c97498606a5655c7c53c5a431 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 19 Apr 2017 18:54:12 +0200 Subject: [PATCH] added business method getCurrentBasket() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/basket/BasketSessionBeanRemote.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java index 457d22a..915e2c6 100644 --- a/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java @@ -29,6 +29,14 @@ import org.mxchange.jcustomercore.model.customer.Customer; @Remote public interface BasketSessionBeanRemote extends Serializable { + /** + * Returns user's current basket, or creates an empty initial if none is + * found. + *

+ * @return User's current basked + */ + Basket getCurrentBasked (); + /** * Clears this bean from previous usage */ @@ -37,7 +45,7 @@ public interface BasketSessionBeanRemote extends Serializable { /** * Registers the order list of tems with the customer *

- * @param customer Customer instance + * @param customer Customer instance * @param orderedItems Ordered items list *

* @return Access key -- 2.39.5