From fe3ba87c08dd5c2531803279056f4254b113041a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 28 Aug 2015 11:48:41 +0200 Subject: [PATCH] =?utf8?q?Renamed=20getCategories()=20to=20getAllCategorie?= =?utf8?q?s()=20to=20make=20its=20purpose=20more=20clear=20Signed-off-by:R?= =?utf8?q?oland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../pizzaapplication/application/PizzaApplication.java | 2 +- .../pizzaapplication/application/PizzaServiceApplication.java | 2 +- src/java/org/mxchange/pizzaapplication/beans/PizzaBean.java | 2 +- .../org/mxchange/pizzaapplication/beans/PizzaServiceBean.java | 4 ++-- web/admin/category.jsp | 2 +- web/static/admin/admin_category_selection_box.jsp | 2 +- web/static/admin/admin_parent_category_selection_box.jsp | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/java/org/mxchange/pizzaapplication/application/PizzaApplication.java b/src/java/org/mxchange/pizzaapplication/application/PizzaApplication.java index 8515db3f..9f72fb87 100644 --- a/src/java/org/mxchange/pizzaapplication/application/PizzaApplication.java +++ b/src/java/org/mxchange/pizzaapplication/application/PizzaApplication.java @@ -267,7 +267,7 @@ public interface PizzaApplication extends Application { * @return All categories * @throws javax.servlet.ServletException If anything went wrong */ - public Iterator getCategories () throws ServletException; + public Iterator getAllCategories () throws ServletException; /** * Checks if given Product instance is available and returns a printable diff --git a/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java b/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java index eb222f5f..7ca4f5e7 100644 --- a/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java +++ b/src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java @@ -542,7 +542,7 @@ public class PizzaServiceApplication extends BasePizzaServiceSystem implements P * @return All categories */ @Override - public Iterator getCategories () throws ServletException { + public Iterator getAllCategories () throws ServletException { // Trace message this.getLogger().trace("CALLED!"); diff --git a/src/java/org/mxchange/pizzaapplication/beans/PizzaBean.java b/src/java/org/mxchange/pizzaapplication/beans/PizzaBean.java index 84a35600..142e678b 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/PizzaBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/PizzaBean.java @@ -233,7 +233,7 @@ public interface PizzaBean extends Serializable { * @return All categories * @throws javax.servlet.ServletException If anything went wrong */ - public Iterator getCategories () throws ServletException; + public Iterator getAllCategories () throws ServletException; /** * Checks if given Product instance is available and returns a printable diff --git a/src/java/org/mxchange/pizzaapplication/beans/PizzaServiceBean.java b/src/java/org/mxchange/pizzaapplication/beans/PizzaServiceBean.java index b077f1cf..17843ba1 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/PizzaServiceBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/PizzaServiceBean.java @@ -255,8 +255,8 @@ public class PizzaServiceBean implements PizzaBean { * @return All categories */ @Override - public Iterator getCategories () throws ServletException { - return this.app.getCategories(); + public Iterator getAllCategories () throws ServletException { + return this.app.getAllCategories(); } /** diff --git a/web/admin/category.jsp b/web/admin/category.jsp index 089eb06f..744b04bb 100644 --- a/web/admin/category.jsp +++ b/web/admin/category.jsp @@ -60,7 +60,7 @@ - + ${category.categoryId}: diff --git a/web/static/admin/admin_category_selection_box.jsp b/web/static/admin/admin_category_selection_box.jsp index 9d280a68..d6187af5 100644 --- a/web/static/admin/admin_category_selection_box.jsp +++ b/web/static/admin/admin_category_selection_box.jsp @@ -11,7 +11,7 @@ diff --git a/web/static/admin/admin_parent_category_selection_box.jsp b/web/static/admin/admin_parent_category_selection_box.jsp index b2e379b4..8eb9f79a 100644 --- a/web/static/admin/admin_parent_category_selection_box.jsp +++ b/web/static/admin/admin_parent_category_selection_box.jsp @@ -12,7 +12,7 @@ -- 2.39.5