From 73019124ab06fb6502de56bf1c348b2d74fa6711 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 27 Jul 2017 23:08:50 +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 --- .../AddressbookAdminBusinessDataWebRequestBean.java} | 6 +++--- .../AddressbookAdminBusinessDataWebRequestController.java} | 6 ++---- .../AddressbookBusinessDataWebSessionBean.java} | 6 +++--- .../AddressbookBusinessDataWebSessionController.java} | 6 ++---- 4 files changed, 10 insertions(+), 14 deletions(-) rename src/java/org/mxchange/addressbook/beans/{businesscontact/AddressbookAdminBusinessContactWebRequestBean.java => businessdata/AddressbookAdminBusinessDataWebRequestBean.java} (96%) rename src/java/org/mxchange/addressbook/beans/{businesscontact/AddressbookAdminBusinessContactWebRequestController.java => businessdata/AddressbookAdminBusinessDataWebRequestController.java} (86%) rename src/java/org/mxchange/addressbook/beans/{businesscontact/AddressbookBusinessContactWebSessionBean.java => businessdata/AddressbookBusinessDataWebSessionBean.java} (96%) rename src/java/org/mxchange/addressbook/beans/{businesscontact/AddressbookBusinessContactWebSessionController.java => businessdata/AddressbookBusinessDataWebSessionController.java} (83%) diff --git a/src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookAdminBusinessContactWebRequestBean.java b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookAdminBusinessDataWebRequestBean.java similarity index 96% rename from src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookAdminBusinessContactWebRequestBean.java rename to src/java/org/mxchange/addressbook/beans/businessdata/AddressbookAdminBusinessDataWebRequestBean.java index d0f821ca..4b9c46c3 100644 --- a/src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookAdminBusinessContactWebRequestBean.java +++ b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookAdminBusinessDataWebRequestBean.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.addressbook.beans.businesscontact; +package org.mxchange.addressbook.beans.businessdata; import java.util.List; import javax.annotation.PostConstruct; @@ -36,7 +36,7 @@ import org.mxchange.jcountry.data.Country; */ @Named ("adminBusinessDataController") @RequestScoped -public class AddressbookAdminBusinessContactWebRequestBean extends BaseAddressbookController implements AddressbookAdminBusinessContactWebRequestController { +public class AddressbookAdminBusinessDataWebRequestBean extends BaseAddressbookController implements AddressbookAdminBusinessDataWebRequestController { /** * Serial number @@ -106,7 +106,7 @@ public class AddressbookAdminBusinessContactWebRequestBean extends BaseAddressbo /** * Constructor */ - public AddressbookAdminBusinessContactWebRequestBean () { + public AddressbookAdminBusinessDataWebRequestBean () { // Call super constructor super(); } diff --git a/src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookAdminBusinessContactWebRequestController.java b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookAdminBusinessDataWebRequestController.java similarity index 86% rename from src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookAdminBusinessContactWebRequestController.java rename to src/java/org/mxchange/addressbook/beans/businessdata/AddressbookAdminBusinessDataWebRequestController.java index d99b84ac..9eb8f49b 100644 --- a/src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookAdminBusinessContactWebRequestController.java +++ b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookAdminBusinessDataWebRequestController.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.addressbook.beans.businesscontact; +package org.mxchange.addressbook.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 AddressbookAdminBusinessContactWebRequestController extends Serializable { +public interface AddressbookAdminBusinessDataWebRequestController extends Serializable { /** * Returns a list of all business contacts diff --git a/src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookBusinessContactWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookBusinessDataWebSessionBean.java similarity index 96% rename from src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookBusinessContactWebSessionBean.java rename to src/java/org/mxchange/addressbook/beans/businessdata/AddressbookBusinessDataWebSessionBean.java index 975e485e..7d7a6251 100644 --- a/src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookBusinessContactWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookBusinessDataWebSessionBean.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.addressbook.beans.businesscontact; +package org.mxchange.addressbook.beans.businessdata; import javax.annotation.PostConstruct; import javax.enterprise.context.SessionScoped; @@ -36,7 +36,7 @@ import org.mxchange.jcountry.data.Country; */ @Named ("businessDataController") @SessionScoped -public class AddressbookBusinessContactWebSessionBean extends BaseAddressbookController implements AddressbookBusinessContactWebSessionController { +public class AddressbookBusinessDataWebSessionBean extends BaseAddressbookController implements AddressbookBusinessDataWebSessionController { /** * Serial number @@ -107,7 +107,7 @@ public class AddressbookBusinessContactWebSessionBean extends BaseAddressbookCon /** * Constructor */ - public AddressbookBusinessContactWebSessionBean () { + public AddressbookBusinessDataWebSessionBean () { // Call super constructor super(); } diff --git a/src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookBusinessContactWebSessionController.java b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookBusinessDataWebSessionController.java similarity index 83% rename from src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookBusinessContactWebSessionController.java rename to src/java/org/mxchange/addressbook/beans/businessdata/AddressbookBusinessDataWebSessionController.java index de6ce5cf..b02a65cc 100644 --- a/src/java/org/mxchange/addressbook/beans/businesscontact/AddressbookBusinessContactWebSessionController.java +++ b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookBusinessDataWebSessionController.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.addressbook.beans.businesscontact; +package org.mxchange.addressbook.beans.businessdata; import java.io.Serializable; -import javax.ejb.Local; /** * An interface for session-scoped financial controller *

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