From 7b11f5441268bc8871710bf0cf2e17b377ddcb60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 19 Apr 2016 10:34:11 +0200 Subject: [PATCH] Renamed controller as all controllers must have suffix "Controller" (naming convention) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../PizzaAdminWebRequestController.java} | 6 +- .../helper/PizzaAdminWebRequestHelper.java} | 116 +++++++++--------- 2 files changed, 61 insertions(+), 61 deletions(-) rename src/java/org/mxchange/{jratecalc/beans/helper/RateCalcAdminWebRequestController.java => pizzaapplication/beans/helper/PizzaAdminWebRequestController.java} (86%) rename src/java/org/mxchange/{jratecalc/beans/helper/RateCalcAdminWebRequestHelper.java => pizzaapplication/beans/helper/PizzaAdminWebRequestHelper.java} (82%) diff --git a/src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestController.java b/src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestController.java similarity index 86% rename from src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestController.java rename to src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestController.java index 0e3b01ae..823030eb 100644 --- a/src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestController.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 Cho-Time GmbH + * 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 @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -package org.mxchange.jratecalc.beans.helper; +package org.mxchange.pizzaapplication.beans.helper; import java.io.Serializable; import org.mxchange.jusercore.model.user.User; @@ -24,7 +24,7 @@ import org.mxchange.jusercore.model.user.User; *

* @author Roland Haeder */ -public interface RateCalcAdminWebRequestController extends Serializable { +public interface PizzaAdminWebRequestController extends Serializable { /** * Getter for user instance diff --git a/src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestHelper.java b/src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestHelper.java similarity index 82% rename from src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestHelper.java rename to src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestHelper.java index 0f2f8e52..ce2c9e0c 100644 --- a/src/java/org/mxchange/jratecalc/beans/helper/RateCalcAdminWebRequestHelper.java +++ b/src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestHelper.java @@ -1,58 +1,58 @@ -/* - * 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 . - */ -package org.mxchange.jratecalc.beans.helper; - -import javax.enterprise.context.RequestScoped; -import javax.inject.Named; -import org.mxchange.jusercore.model.user.User; - -/** - * A general helper for beans - *

- * @author Roland Haeder - */ -@Named ("adminHelper") -@RequestScoped -public class RateCalcAdminWebRequestHelper implements RateCalcAdminWebRequestController { - - /** - * Serial number - */ - private static final long serialVersionUID = 17_258_793_567_145_701L; - - /** - * User instance - */ - private User user; - - /** - * Default constructor - */ - public RateCalcAdminWebRequestHelper () { - } - - @Override - public User getUser () { - return this.user; - } - - @Override - public void setUser (final User user) { - this.user = user; - } - -} +/* + * 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 . + */ +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 + *

+ * @author Roland Haeder + */ +@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; + } + +} -- 2.39.5