From 9e6862cc03b1d3a16f043224a17c4ee21863e913 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 23 Oct 2017 21:46:52 +0200 Subject: [PATCH] Continued: - "get" is for pure getters, better use "all" for this kind method of methods - "doAdminFoo" is old way, just "addSomeFoo()" is fine MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../jproduct/model/category/AdminCategorySessionBeanRemote.java | 2 +- .../jproduct/model/product/AdminProductSessionBeanRemote.java | 2 +- .../jproduct/model/product/ProductSessionBeanRemote.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/mxchange/jproduct/model/category/AdminCategorySessionBeanRemote.java b/src/org/mxchange/jproduct/model/category/AdminCategorySessionBeanRemote.java index e2e00a7..50bf98c 100644 --- a/src/org/mxchange/jproduct/model/category/AdminCategorySessionBeanRemote.java +++ b/src/org/mxchange/jproduct/model/category/AdminCategorySessionBeanRemote.java @@ -37,6 +37,6 @@ public interface AdminCategorySessionBeanRemote extends Serializable { *

* @throws CategoryAlreadyAddedException If the category cannot be added */ - Category doAdminAddCategory (final Category category) throws CategoryAlreadyAddedException; + Category addProductCategory (final Category category) throws CategoryAlreadyAddedException; } diff --git a/src/org/mxchange/jproduct/model/product/AdminProductSessionBeanRemote.java b/src/org/mxchange/jproduct/model/product/AdminProductSessionBeanRemote.java index 8c3c179..346184c 100644 --- a/src/org/mxchange/jproduct/model/product/AdminProductSessionBeanRemote.java +++ b/src/org/mxchange/jproduct/model/product/AdminProductSessionBeanRemote.java @@ -37,6 +37,6 @@ public interface AdminProductSessionBeanRemote extends Serializable { *

* @throws ProductAlreadyAddedException If something unexpected happened */ - Product doAdminAddProduct (final Product product) throws ProductAlreadyAddedException; + Product addGenericProduct (final Product product) throws ProductAlreadyAddedException; } diff --git a/src/org/mxchange/jproduct/model/product/ProductSessionBeanRemote.java b/src/org/mxchange/jproduct/model/product/ProductSessionBeanRemote.java index f3ff691..89b6061 100644 --- a/src/org/mxchange/jproduct/model/product/ProductSessionBeanRemote.java +++ b/src/org/mxchange/jproduct/model/product/ProductSessionBeanRemote.java @@ -40,6 +40,6 @@ public interface ProductSessionBeanRemote extends Serializable { *

* @return Only available products */ - List getAvailableProducts (); + List allAvailableProducts (); } -- 2.39.5