From 6dccec0d6e6c486e47ec01bd06425065eb1f900b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 27 Jul 2017 23:08:56 +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 --- .../FinancialsAdminBusinessDataWebRequestBean.java} | 6 +++--- ...nancialsAdminBusinessDataWebRequestController.java} | 6 ++---- .../FinancialsBusinessDataWebSessionBean.java} | 10 +++++----- .../FinancialsBusinessDataWebSessionController.java} | 6 ++---- 4 files changed, 12 insertions(+), 16 deletions(-) rename src/java/org/mxchange/jfinancials/beans/{businesscontact/FinancialsAdminBusinessContactWebRequestBean.java => businessdata/FinancialsAdminBusinessDataWebRequestBean.java} (96%) rename src/java/org/mxchange/jfinancials/beans/{businesscontact/FinancialsAdminBusinessContactWebRequestController.java => businessdata/FinancialsAdminBusinessDataWebRequestController.java} (82%) rename src/java/org/mxchange/jfinancials/beans/{businesscontact/FinancialsBusinessContactWebSessionBean.java => businessdata/FinancialsBusinessDataWebSessionBean.java} (95%) rename src/java/org/mxchange/jfinancials/beans/{businesscontact/FinancialsBusinessContactWebSessionController.java => businessdata/FinancialsBusinessDataWebSessionController.java} (86%) diff --git a/src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsAdminBusinessContactWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsAdminBusinessDataWebRequestBean.java similarity index 96% rename from src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsAdminBusinessContactWebRequestBean.java rename to src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsAdminBusinessDataWebRequestBean.java index aa8e0417..42c5a160 100644 --- a/src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsAdminBusinessContactWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsAdminBusinessDataWebRequestBean.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.jfinancials.beans.businesscontact; +package org.mxchange.jfinancials.beans.businessdata; import javax.annotation.PostConstruct; import javax.enterprise.context.SessionScoped; @@ -34,7 +34,7 @@ import org.mxchange.jfinancials.beans.BaseFinancialsController; */ @Named ("adminBusinessDataController") @SessionScoped -public class FinancialsAdminBusinessContactWebRequestBean extends BaseFinancialsController implements FinancialsAdminBusinessContactWebRequestController { +public class FinancialsAdminBusinessDataWebRequestBean extends BaseFinancialsController implements FinancialsAdminBusinessDataWebRequestController { /** * Serial number @@ -99,7 +99,7 @@ public class FinancialsAdminBusinessContactWebRequestBean extends BaseFinancials /** * Constructor */ - public FinancialsAdminBusinessContactWebRequestBean () { + public FinancialsAdminBusinessDataWebRequestBean () { // Call super constructor super(); } diff --git a/src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsAdminBusinessContactWebRequestController.java b/src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsAdminBusinessDataWebRequestController.java similarity index 82% rename from src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsAdminBusinessContactWebRequestController.java rename to src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsAdminBusinessDataWebRequestController.java index d4c97d25..be4a7705 100644 --- a/src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsAdminBusinessContactWebRequestController.java +++ b/src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsAdminBusinessDataWebRequestController.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.jfinancials.beans.businesscontact; +package org.mxchange.jfinancials.beans.businessdata; import java.io.Serializable; -import javax.ejb.Local; /** * An interface for session-scoped financial controller *

* @author Roland Häder */ -@Local -public interface FinancialsAdminBusinessContactWebRequestController extends Serializable { +public interface FinancialsAdminBusinessDataWebRequestController extends Serializable { } diff --git a/src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsBusinessContactWebSessionBean.java b/src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsBusinessDataWebSessionBean.java similarity index 95% rename from src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsBusinessContactWebSessionBean.java rename to src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsBusinessDataWebSessionBean.java index ca8995ea..9e6481a5 100644 --- a/src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsBusinessContactWebSessionBean.java +++ b/src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsBusinessDataWebSessionBean.java @@ -14,11 +14,11 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -package org.mxchange.jfinancials.beans.businesscontact; +package org.mxchange.jfinancials.beans.businessdata; import java.util.List; import javax.annotation.PostConstruct; -import javax.enterprise.context.RequestScoped; +import javax.enterprise.context.SessionScoped; import javax.faces.view.facelets.FaceletException; import javax.inject.Inject; import javax.inject.Named; @@ -38,8 +38,8 @@ import org.mxchange.jfinancials.beans.user.login.FinancialsUserLoginWebSessionCo * @author Roland Häder */ @Named ("businessDataController") -@RequestScoped -public class FinancialsBusinessContactWebSessionBean extends BaseFinancialsController implements FinancialsBusinessContactWebSessionController { +@SessionScoped +public class FinancialsBusinessDataWebSessionBean extends BaseFinancialsController implements FinancialsBusinessDataWebSessionController { /** * Serial number @@ -120,7 +120,7 @@ public class FinancialsBusinessContactWebSessionBean extends BaseFinancialsContr /** * Constructor */ - public FinancialsBusinessContactWebSessionBean () { + public FinancialsBusinessDataWebSessionBean () { // Call super constructor super(); } diff --git a/src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsBusinessContactWebSessionController.java b/src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsBusinessDataWebSessionController.java similarity index 86% rename from src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsBusinessContactWebSessionController.java rename to src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsBusinessDataWebSessionController.java index dc1d93d3..deefec8c 100644 --- a/src/java/org/mxchange/jfinancials/beans/businesscontact/FinancialsBusinessContactWebSessionController.java +++ b/src/java/org/mxchange/jfinancials/beans/businessdata/FinancialsBusinessDataWebSessionController.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.jfinancials.beans.businesscontact; +package org.mxchange.jfinancials.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 FinancialsBusinessContactWebSessionController extends Serializable { +public interface FinancialsBusinessDataWebSessionController extends Serializable { /** * Returns a list of all business contacts -- 2.39.5