From: Roland Häder Date: Thu, 16 Apr 2020 20:08:31 +0000 (+0200) Subject: Product-only: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3b62727aeed21a8ddf7871293ff46850046ffa7f;p=pizzaservice-ejb.git Product-only: - renamed allFoos() to fetchAllFoos() Signed-off-by: Roland Häder --- 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