From 3b62727aeed21a8ddf7871293ff46850046ffa7f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 16 Apr 2020 22:08:31 +0200 Subject: [PATCH] Product-only: - renamed allFoos() to fetchAllFoos() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/category/PizzaAdminProductCategorySessionBean.java | 2 +- .../model/category/PizzaProductCategorySessionBean.java | 2 +- .../model/product/PizzaAdminGenericProductSessionBean.java | 2 +- .../model/product/PizzaGenericProductSessionBean.java | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/java/org/mxchange/jproduct/model/category/PizzaAdminProductCategorySessionBean.java b/src/java/org/mxchange/jproduct/model/category/PizzaAdminProductCategorySessionBean.java index db49d79..f85125b 100644 --- a/src/java/org/mxchange/jproduct/model/category/PizzaAdminProductCategorySessionBean.java +++ b/src/java/org/mxchange/jproduct/model/category/PizzaAdminProductCategorySessionBean.java @@ -169,7 +169,7 @@ public class PizzaAdminProductCategorySessionBean extends BasePizzaProductEnterp boolean isFound = false; // Get full list from other EJB - final List list = this.categoryBean.allCategories(); + final List list = this.categoryBean.fetchAllCategories(); // Check each entry for (final Category createdCategory : list) { diff --git a/src/java/org/mxchange/jproduct/model/category/PizzaProductCategorySessionBean.java b/src/java/org/mxchange/jproduct/model/category/PizzaProductCategorySessionBean.java index b50be05..5f3b9b0 100644 --- a/src/java/org/mxchange/jproduct/model/category/PizzaProductCategorySessionBean.java +++ b/src/java/org/mxchange/jproduct/model/category/PizzaProductCategorySessionBean.java @@ -45,7 +45,7 @@ public class PizzaProductCategorySessionBean extends BasePizzaEnterpriseBean imp @Override @SuppressWarnings ("unchecked") - public List allCategories () { + public List fetchAllCategories () { // Trace message this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.allCategories: CALLED!", this.getClass().getSimpleName())); //NOI18N diff --git a/src/java/org/mxchange/jproduct/model/product/PizzaAdminGenericProductSessionBean.java b/src/java/org/mxchange/jproduct/model/product/PizzaAdminGenericProductSessionBean.java index a651042..c82ecd5 100644 --- a/src/java/org/mxchange/jproduct/model/product/PizzaAdminGenericProductSessionBean.java +++ b/src/java/org/mxchange/jproduct/model/product/PizzaAdminGenericProductSessionBean.java @@ -155,7 +155,7 @@ public class PizzaAdminGenericProductSessionBean extends BasePizzaProductEnterpr boolean isFound = false; // Get full list from other EJB - final List list = this.productBean.allProducts(); + final List list = this.productBean.fetchAllProducts(); // Check each entry for (final Product createdProduct : list) { diff --git a/src/java/org/mxchange/jproduct/model/product/PizzaGenericProductSessionBean.java b/src/java/org/mxchange/jproduct/model/product/PizzaGenericProductSessionBean.java index f79b384..178e3cd 100644 --- a/src/java/org/mxchange/jproduct/model/product/PizzaGenericProductSessionBean.java +++ b/src/java/org/mxchange/jproduct/model/product/PizzaGenericProductSessionBean.java @@ -37,7 +37,7 @@ public class PizzaGenericProductSessionBean extends BasePizzaEnterpriseBean impl @Override @SuppressWarnings ("unchecked") - public List allAvailableProducts () { + public List fetchAllAvailableProducts () { // Trace message this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.allAvailableProducts: CALLED!", this.getClass().getSimpleName())); //NOI18N @@ -56,7 +56,7 @@ public class PizzaGenericProductSessionBean extends BasePizzaEnterpriseBean impl @Override @SuppressWarnings ("unchecked") - public List allProducts () { + public List fetchAllProducts () { // Trace message this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.allProducts: CALLED!", this.getClass().getSimpleName())); //NOI18N -- 2.39.5