From ecbe2a2a98f37ffc530e9aff7cca1f27fe94a62f Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 21 Sep 2015 12:04:50 +0200 Subject: [PATCH] =?utf8?q?Continued:=20-=20added=20missing=20methods=20for?= =?utf8?q?=20setting=20customer=20and=20access=20key=20-=20updated=20jars?= =?utf8?q?=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/jcoreee.jar | Bin 18592 -> 18795 bytes lib/jshop-core.jar | Bin 35810 -> 36825 bytes .../model/basket/BasketSessionBeanRemote.java | 3 +- .../model/receipt/ReceiptBeanRemote.java | 37 ++++++++++++++++++ 4 files changed, 39 insertions(+), 1 deletion(-) diff --git a/lib/jcoreee.jar b/lib/jcoreee.jar index 42674a26cdfe924a0f1bbc181451a5e055c6db1b..6061f285cd719c267ee2f1a5e8a526abc4202328 100644 GIT binary patch delta 3063 zcmaJ@YfN0n75?sBmRT-$c^bol173_V*cdQoSzZP&4=*pjg24~`fY<~(aWKYqUX8P+ zrB2->Brulxt5u@9xNW4$(yIMoDXP?_YOAV}BUP%DDsiHyQKdFgf4L5F>V9WCl5 zcJ7=z_spC#_xsK__nlempL3RfU#}<00eryogP~b}S>~m|Q1rKJ#(p>kK-wC;Kax9p zYZZp z)>nVH7UE_?`mWp6blgD(ntj;eparcCb|T_Kn?k#o9dhYZ*ySJ{Q3omLa?mX!Jr4Z( z!_xinxIb!nlSU>dOZ45`ytJgVqvItOtZobTnG&5*HmmKtdi~e*uwGZ5;5KJXLi`uO+A(UWo#OLY(^M`D1wVM=*M~lnQs7lP>c<5unxT_p_NL&t|J$D?8VxM zQdq{?gfiI1D(6}rV{PFoNwjBCfvxaD;Z0OBMl$2QhALW$?{B&a)!0Uc)NoQ2ybl@8 zRoJdjs}NGCQwS^6D>U$L@kal5O`y1u&NiA7=oS5_an8Qa9Hq7BcdcSQToTYf52nYi zJKR&BTy{I$)m{htuwUU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I-0~<*Sc>z5t@f@KEyHG`pa<(2`npXKiY^V2rVzj`D1GHK@D$qfE zFEKl@8{MdbA8z_CUW71+2;~>WYv@M;Coo0lx=87(dxapA&4_Bsk*XD!DB3|-hB3;f zmNKcJW7VOaGN{DxDLAnQ5^Xbty=b76chmQ1B*}m#3M+?X{Rc%b$k->tC8Jr;>40an z<9>4MXgxR07Lr9gzokoZ?C=*_Aq55+6kayZ{CAIs^pvEY-I;Q*;Uy!xJ|^dG#|QPi z&@5+7y!>;e$&6OQH>MI=>6Kkv(KugCf5t6rXx5{4AzPl+TIuImm%0d3Qd*1kq`J9o zpSQ7_DXl5jQXy`upX=lJ-JFemG}oG!kL39gj&IIKIo_Y|<+y#}EshHd6CD3qc!T5k z`Id3H&--&+to8%U%49Ns7s&bIGWb<`{_8>_bzIBW>Mq+xfuI@uZ?C- za_YT|P0aSP^>j7=X`DZ*FzZrLwc44F8XnaBVgc0IOtB#?#nQ%)uc!QX{pej2pw8CKIIPad itemList); + public String registerItems (final Customer customer, final List itemList); } diff --git a/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java b/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java index 2328adc..6e64228 100644 --- a/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java @@ -18,6 +18,7 @@ package org.mxchange.jshopcore.model.receipt; import java.io.Serializable; import javax.ejb.Remote; +import org.mxchange.jshopcore.model.customer.Customer; /** * A remote interface for official recipt creation @@ -35,4 +36,40 @@ public interface ReceiptBeanRemote extends Serializable { * @return Wrapped byte stream */ public WrapableReceipt createReceiptFromAccessKey (final String accessKey); + + /** + * Fetches access key, if customer instance matches, else null is returned + * + * @param customer Customer instance + * @return Access key or null + */ + public String fetchAccessKey (final Customer customer); + + /** + * Setter for access key + * + * @param accessKey Access key + */ + public void setAccessKey (final String accessKey); + + /** + * Getter for access key + * + * @return Access key + */ + public String getAccessKey (); + + /** + * Setter for customer instance + * + * @param customer Customer instance + */ + public void setCustomer (final Customer customer); + + /** + * Getter for customer instance + * + * @return Customer instance + */ + public Customer getCustomer (); } -- 2.39.5