From 9880ce3ac7482161b3185f6083a6bdc81cf3daa9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 27 Jul 2017 23:08:43 +0200 Subject: [PATCH] Please repeat: - renamed package to businessdata (not just contact, okay, still the newly added depdencies are named like that) - renamed classes/interfaces accordingly - removed Local annotation as this is for local EJBs (?) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../PizzaAdminBusinessDataWebSessionBean.java} | 6 +++--- .../PizzaAdminBusinessDataWebSessionController.java} | 6 ++---- .../PizzaBusinessDataWebSessionBean.java} | 6 +++--- .../PizzaBusinessDataWebSessionController.java} | 6 ++---- 4 files changed, 10 insertions(+), 14 deletions(-) rename src/java/org/mxchange/pizzaapplication/beans/{businesscontact/PizzaAdminBusinessContactWebSessionBean.java => businessdata/PizzaAdminBusinessDataWebSessionBean.java} (96%) rename src/java/org/mxchange/pizzaapplication/beans/{businesscontact/PizzaAdminBusinessContactWebSessionController.java => businessdata/PizzaAdminBusinessDataWebSessionController.java} (86%) rename src/java/org/mxchange/pizzaapplication/beans/{businesscontact/PizzaBusinessContactWebSessionBean.java => businessdata/PizzaBusinessDataWebSessionBean.java} (96%) rename src/java/org/mxchange/pizzaapplication/beans/{businesscontact/PizzaBusinessContactWebSessionController.java => businessdata/PizzaBusinessDataWebSessionController.java} (83%) diff --git a/src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaAdminBusinessContactWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaAdminBusinessDataWebSessionBean.java similarity index 96% rename from src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaAdminBusinessContactWebSessionBean.java rename to src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaAdminBusinessDataWebSessionBean.java index 0213298c..6be9682e 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaAdminBusinessContactWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaAdminBusinessDataWebSessionBean.java @@ -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.pizzaapplication.beans.businesscontact; +package org.mxchange.pizzaapplication.beans.businessdata; import java.util.List; import javax.annotation.PostConstruct; @@ -36,7 +36,7 @@ import org.mxchange.pizzaapplication.beans.BasePizzaController; */ @Named ("adminBusinessDataController") @SessionScoped -public class PizzaAdminBusinessContactWebSessionBean extends BasePizzaController implements PizzaAdminBusinessContactWebSessionController { +public class PizzaAdminBusinessDataWebSessionBean extends BasePizzaController implements PizzaAdminBusinessDataWebSessionController { /** * Serial number @@ -106,7 +106,7 @@ public class PizzaAdminBusinessContactWebSessionBean extends BasePizzaController /** * Constructor */ - public PizzaAdminBusinessContactWebSessionBean () { + public PizzaAdminBusinessDataWebSessionBean () { // Call super constructor super(); } diff --git a/src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaAdminBusinessContactWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaAdminBusinessDataWebSessionController.java similarity index 86% rename from src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaAdminBusinessContactWebSessionController.java rename to src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaAdminBusinessDataWebSessionController.java index cf28564e..b39af31b 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaAdminBusinessContactWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaAdminBusinessDataWebSessionController.java @@ -14,11 +14,10 @@ * 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.businesscontact; +package org.mxchange.pizzaapplication.beans.businessdata; import java.io.Serializable; import java.util.List; -import javax.ejb.Local; import org.mxchange.jcontactsbusiness.BusinessBasicData; /** @@ -26,8 +25,7 @@ import org.mxchange.jcontactsbusiness.BusinessBasicData; *

* @author Roland Häder */ -@Local -public interface PizzaAdminBusinessContactWebSessionController extends Serializable { +public interface PizzaAdminBusinessDataWebSessionController extends Serializable { /** * Returns a list of all business contacts diff --git a/src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaBusinessContactWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaBusinessDataWebSessionBean.java similarity index 96% rename from src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaBusinessContactWebSessionBean.java rename to src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaBusinessDataWebSessionBean.java index 9bbd6b35..ecd16537 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaBusinessContactWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaBusinessDataWebSessionBean.java @@ -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.pizzaapplication.beans.businesscontact; +package org.mxchange.pizzaapplication.beans.businessdata; import javax.annotation.PostConstruct; import javax.enterprise.context.SessionScoped; @@ -36,7 +36,7 @@ import org.mxchange.pizzaapplication.beans.user.login.PizzaUserLoginWebSessionCo */ @Named ("businessDataController") @SessionScoped -public class PizzaBusinessContactWebSessionBean extends BasePizzaController implements PizzaBusinessContactWebSessionController { +public class PizzaBusinessDataWebSessionBean extends BasePizzaController implements PizzaBusinessDataWebSessionController { /** * Serial number @@ -107,7 +107,7 @@ public class PizzaBusinessContactWebSessionBean extends BasePizzaController impl /** * Constructor */ - public PizzaBusinessContactWebSessionBean () { + public PizzaBusinessDataWebSessionBean () { // Call super constructor super(); } diff --git a/src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaBusinessContactWebSessionController.java b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaBusinessDataWebSessionController.java similarity index 83% rename from src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaBusinessContactWebSessionController.java rename to src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaBusinessDataWebSessionController.java index e06503f2..eade4895 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/businesscontact/PizzaBusinessContactWebSessionController.java +++ b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaBusinessDataWebSessionController.java @@ -14,17 +14,15 @@ * 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.businesscontact; +package org.mxchange.pizzaapplication.beans.businessdata; import java.io.Serializable; -import javax.ejb.Local; /** * An interface for session-scoped financial controller *

* @author Roland Häder */ -@Local -public interface PizzaBusinessContactWebSessionController extends Serializable { +public interface PizzaBusinessDataWebSessionController extends Serializable { } -- 2.39.5