]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
Product-only:
authorRoland Häder <roland@mxchange.org>
Thu, 16 Apr 2020 20:08:31 +0000 (22:08 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 17 Apr 2020 16:23:42 +0000 (18:23 +0200)
- renamed allFoos() to fetchAllFoos()

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jproduct/model/category/PizzaAdminProductCategorySessionBean.java
src/java/org/mxchange/jproduct/model/category/PizzaProductCategorySessionBean.java
src/java/org/mxchange/jproduct/model/product/PizzaAdminGenericProductSessionBean.java
src/java/org/mxchange/jproduct/model/product/PizzaGenericProductSessionBean.java

index db49d791cc016574b4ec3fc8bfc1523af0125f51..f85125bbca80c6fe2f88f70c2d16a47c3e264205 100644 (file)
@@ -169,7 +169,7 @@ public class PizzaAdminProductCategorySessionBean extends BasePizzaProductEnterp
                boolean isFound = false;
 
                // Get full list from other EJB
-               final List<Category> list = this.categoryBean.allCategories();
+               final List<Category> list = this.categoryBean.fetchAllCategories();
 
                // Check each entry
                for (final Category createdCategory : list) {
index b50be0514bcc65a0ee7bb56265fb1564b692f4fb..5f3b9b0e60dd45bbcc7b15d8690855e461843ff6 100644 (file)
@@ -45,7 +45,7 @@ public class PizzaProductCategorySessionBean extends BasePizzaEnterpriseBean imp
 
        @Override
        @SuppressWarnings ("unchecked")
-       public List<Category> allCategories () {
+       public List<Category> fetchAllCategories () {
                // Trace message
                this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.allCategories: CALLED!", this.getClass().getSimpleName())); //NOI18N
 
index a651042673dcf8ebc0887ecc19a92db985a00451..c82ecd503b3e909a3c3bd53429cdc6508a6919bc 100644 (file)
@@ -155,7 +155,7 @@ public class PizzaAdminGenericProductSessionBean extends BasePizzaProductEnterpr
                boolean isFound = false;
 
                // Get full list from other EJB
-               final List<Product> list = this.productBean.allProducts();
+               final List<Product> list = this.productBean.fetchAllProducts();
 
                // Check each entry
                for (final Product createdProduct : list) {
index f79b38442a7f8a275e9e0ed7c9e3a3700af9375b..178e3cdc675f0347c4376fb2fd9b1b035715dc21 100644 (file)
@@ -37,7 +37,7 @@ public class PizzaGenericProductSessionBean extends BasePizzaEnterpriseBean impl
 
        @Override
        @SuppressWarnings ("unchecked")
-       public List<Product> allAvailableProducts () {
+       public List<Product> 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<Product> allProducts () {
+       public List<Product> fetchAllProducts () {
                // Trace message
                this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.allProducts: CALLED!", this.getClass().getSimpleName())); //NOI18N