X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Fjshopcore%2Fmodel%2Fbasket%2FBasketSessionBeanRemote.java;h=b5faad5ec069725178b7df4f63273e93c9496d58;hb=5b883ef4e71bd27337374c06a310d97c59d49497;hp=54bbf59ecc9de8ba6ec1f0378b8b4eda4533a41a;hpb=19818c912796a1dc69cbf9909ea3d5b767b5ce0d;p=jproduct-lib.git diff --git a/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java index 54bbf59..b5faad5 100644 --- a/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java @@ -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 - * + *

* @author Roland Haeder */ @Remote public interface BasketSessionBeanRemote extends Serializable { + /** + * Clears this bean from previous usage + */ + void clear (); + /** * Registers the order list of tems with the customer - * + *

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

+ * @return Access key */ - public void registerItems (final Customer customer, final List itemList); + String registerItems (final Customer customer, final List orderedItems); }