From aebfe6cdb4b5f753ec7e86cb512690bf22126c80 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 9 Oct 2015 21:39:32 +0200 Subject: [PATCH] Auto-formatted whole project --- .../jshopcore/model/basket/BasketSessionBeanRemote.java | 1 + .../model/category/AdminCategorySessionBeanRemote.java | 2 ++ .../jshopcore/model/customer/CustomerSessionBeanRemote.java | 4 ++++ .../model/product/AdminProductSessionBeanRemote.java | 2 ++ .../mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java | 2 ++ 5 files changed, 11 insertions(+) diff --git a/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java index 010c030..8256654 100644 --- a/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java @@ -34,6 +34,7 @@ public interface BasketSessionBeanRemote extends Serializable { *

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

* @return Access key */ public String registerItems (final Customer customer, final List itemList); diff --git a/src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java b/src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java index 3ad1c54..378a504 100644 --- a/src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/category/AdminCategorySessionBeanRemote.java @@ -33,7 +33,9 @@ public interface AdminCategorySessionBeanRemote extends Serializable { * Adds given category data from request to database *

* @param category Category instance + *

* @return Updated category instance + *

* @throws * org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException If * the given title is already used diff --git a/src/org/mxchange/jshopcore/model/customer/CustomerSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/customer/CustomerSessionBeanRemote.java index a3709b3..26b9e72 100644 --- a/src/org/mxchange/jshopcore/model/customer/CustomerSessionBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/customer/CustomerSessionBeanRemote.java @@ -32,6 +32,7 @@ public interface CustomerSessionBeanRemote extends Serializable { * Fills given customer instance with all available data *

* @param customer Initial Customer instance + *

* @return Prepared Customer instance */ public Customer fillCustomerData (final Customer customer); @@ -40,6 +41,7 @@ public interface CustomerSessionBeanRemote extends Serializable { * Checks if the the given customer instance is already registered *

* @param customer Customer instance + *

* @return Whether the customer is already registered */ public boolean isReqistered (final Customer customer); @@ -49,7 +51,9 @@ public interface CustomerSessionBeanRemote extends Serializable { * persisting. *

* @param customer Initial customer instance + *

* @return Prepared Customer instance + *

* @throws * org.mxchange.jshopcore.exceptions.CustomerAlreadyRegisteredException If * the customer is already registered. diff --git a/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java index e97c16e..5168f20 100644 --- a/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/product/AdminProductSessionBeanRemote.java @@ -41,7 +41,9 @@ public interface AdminProductSessionBeanRemote extends Serializable { * Adds given product data from request to database *

* @param product Product instance + *

* @return Updated product instance + *

* @throws * org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException If the * given product title is already used diff --git a/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java b/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java index 6144f2e..3762a84 100644 --- a/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java +++ b/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java @@ -33,6 +33,7 @@ public interface ReceiptBeanRemote extends Serializable { * found. *

* @param accessKey Access key on the online PDF + *

* @return Wrapped byte stream */ public WrapableReceipt createReceiptFromAccessKey (final String accessKey); @@ -41,6 +42,7 @@ public interface ReceiptBeanRemote extends Serializable { * 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); -- 2.39.5