From 0905b51686279de37ca94fed9412e51883c82deb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 19 Aug 2017 21:56:42 +0200 Subject: [PATCH] Please cherry-pick: - this method is also only called from JSF views, no place in an interface which is for CDI bean -> bean calls - this is mostly already deprecated but the interface shall remain MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- ...AddressbookAdminBusinessDataWebRequestController.java | 9 --------- .../AddressbookBusinessDataWebSessionBean.java | 8 +++++++- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookAdminBusinessDataWebRequestController.java b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookAdminBusinessDataWebRequestController.java index bbefa67a..dbc3d9b0 100644 --- a/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookAdminBusinessDataWebRequestController.java +++ b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookAdminBusinessDataWebRequestController.java @@ -17,8 +17,6 @@ package org.mxchange.addressbook.beans.businessdata; import java.io.Serializable; -import java.util.List; -import org.mxchange.jcontactsbusiness.basicdata.BusinessBasicData; /** * An interface for session-scoped financial controller @@ -27,11 +25,4 @@ import org.mxchange.jcontactsbusiness.basicdata.BusinessBasicData; */ public interface AddressbookAdminBusinessDataWebRequestController extends Serializable { - /** - * Returns a list of all business contacts - *

- * @return A list of all business contacts - */ - List allBusinessContacts (); - } diff --git a/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookBusinessDataWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookBusinessDataWebSessionBean.java index 82b98e2f..e00cdca1 100644 --- a/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookBusinessDataWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/businessdata/AddressbookBusinessDataWebSessionBean.java @@ -26,6 +26,7 @@ import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import org.mxchange.addressbook.beans.BaseAddressbookController; +import org.mxchange.addressbook.beans.user.login.AddressbookUserLoginWebSessionController; import org.mxchange.jcontactsbusiness.basicdata.AdminBusinessDataSessionBeanRemote; import org.mxchange.jcontactsbusiness.basicdata.BusinessBasicData; import org.mxchange.jcontactsbusiness.basicdata.BusinessDataSessionBeanRemote; @@ -119,7 +120,12 @@ public class AddressbookBusinessDataWebSessionBean extends BaseAddressbookContro super(); } - @Override + + /** + * Returns a list of all business contacts + *

+ * @return A list of all business contacts + */ @SuppressWarnings ("ReturnOfCollectionOrArrayField") public List allBusinessContacts () { return this.businessContacts; -- 2.39.5