]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Renamed controller as all controllers must have suffix "Controller" (naming convention)
authorRoland Häder <roland@mxchange.org>
Tue, 19 Apr 2016 08:34:11 +0000 (10:34 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 19 Apr 2016 17:51:31 +0000 (19:51 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestController.java [deleted file]
src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestHelper.java [deleted file]
src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestController.java [new file with mode: 0644]
src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestHelper.java [new file with mode: 0644]

diff --git a/src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestController.java b/src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestController.java
deleted file mode 100644 (file)
index 0e3b01a..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2016 Cho-Time GmbH
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jratecalc.beans.helper;
-
-import java.io.Serializable;
-import org.mxchange.jusercore.model.user.User;
-
-/**
- * An interface for general bean helper
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-public interface RateCalcAdminWebRequestController extends Serializable {
-
-       /**
-        * Getter for user instance
-        * <p>
-        * @return User instance
-        */
-       User getUser ();
-
-       /**
-        * Setter for user instance
-        * <p>
-        * @param user User instance
-        */
-       void setUser (final User user);
-
-}
diff --git a/src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestHelper.java b/src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestHelper.java
deleted file mode 100644 (file)
index 0f2f8e5..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/*\r
- * Copyright (C) 2016 Cho-Time GmbH\r
- *\r
- * This program is free software: you can redistribute it and/or modify\r
- * it under the terms of the GNU Affero General Public License as\r
- * published by the Free Software Foundation, either version 3 of the\r
- * License, or (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU Affero General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Affero General Public License\r
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
- */\r
-package org.mxchange.jratecalc.beans.helper;\r
-\r
-import javax.enterprise.context.RequestScoped;\r
-import javax.inject.Named;\r
-import org.mxchange.jusercore.model.user.User;\r
-\r
-/**\r
- * A general helper for beans\r
- * <p>\r
- * @author Roland Haeder<roland@mxchange.org>\r
- */\r
-@Named ("adminHelper")\r
-@RequestScoped\r
-public class RateCalcAdminWebRequestHelper implements RateCalcAdminWebRequestController {\r
-\r
-       /**\r
-        * Serial number\r
-        */\r
-       private static final long serialVersionUID = 17_258_793_567_145_701L;\r
-\r
-       /**\r
-        * User instance\r
-        */\r
-       private User user;\r
-\r
-       /**\r
-        * Default constructor\r
-        */\r
-       public RateCalcAdminWebRequestHelper () {\r
-       }\r
-\r
-       @Override\r
-       public User getUser () {\r
-               return this.user;\r
-       }\r
-\r
-       @Override\r
-       public void setUser (final User user) {\r
-               this.user = user;\r
-       }\r
-\r
-}\r
diff --git a/src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestController.java b/src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestController.java
new file mode 100644 (file)
index 0000000..823030e
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.pizzaapplication.beans.helper;
+
+import java.io.Serializable;
+import org.mxchange.jusercore.model.user.User;
+
+/**
+ * An interface for general bean helper
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public interface PizzaAdminWebRequestController extends Serializable {
+
+       /**
+        * Getter for user instance
+        * <p>
+        * @return User instance
+        */
+       User getUser ();
+
+       /**
+        * Setter for user instance
+        * <p>
+        * @param user User instance
+        */
+       void setUser (final User user);
+
+}
diff --git a/src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestHelper.java b/src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestHelper.java
new file mode 100644 (file)
index 0000000..ce2c9e0
--- /dev/null
@@ -0,0 +1,58 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.pizzaapplication.beans.helper;
+
+import javax.enterprise.context.RequestScoped;
+import javax.inject.Named;
+import org.mxchange.jusercore.model.user.User;
+
+/**
+ * A general helper for beans
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+@Named ("adminHelper")
+@RequestScoped
+public class PizzaAdminWebRequestHelper implements PizzaAdminWebRequestController {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 17_258_793_567_145_701L;
+
+       /**
+        * User instance
+        */
+       private User user;
+
+       /**
+        * Default constructor
+        */
+       public PizzaAdminWebRequestHelper () {
+       }
+
+       @Override
+       public User getUser () {
+               return this.user;
+       }
+
+       @Override
+       public void setUser (final User user) {
+               this.user = user;
+       }
+
+}