From: Roland Häder Date: Sat, 19 Aug 2017 19:56:42 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0905b51686279de37ca94fed9412e51883c82deb;p=addressbook-war.git 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 Signed-off-by: Roland Häder --- 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;