]> git.mxchange.org Git - jproduct-lib.git/blobdiff - src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java
Added business method clear()
[jproduct-lib.git] / src / org / mxchange / jshopcore / model / basket / BasketSessionBeanRemote.java
index 54bbf59ecc9de8ba6ec1f0378b8b4eda4533a41a..b5faad5ec069725178b7df4f63273e93c9496d58 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 Roland Haeder
+ * Copyright (C) 2016 Roland Haeder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -23,17 +23,24 @@ import org.mxchange.jshopcore.model.customer.Customer;
 
 /**
  * An interface for a basket bean
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 @Remote
 public interface BasketSessionBeanRemote extends Serializable {
 
+       /**
+        * Clears this bean from previous usage
+        */
+       void clear ();
+
        /**
         * Registers the order list of tems with the customer
-        *
+        * <p>
         * @param customer Customer instance
-        * @param itemList Ordered items list
+        * @param orderedItems Ordered items list
+        * <p>
+        * @return Access key
         */
-       public void registerItems (final Customer customer, final List<AddableBasketItem> itemList);
+       String registerItems (final Customer customer, final List<AddableBasketItem> orderedItems);
 }