]> git.mxchange.org Git - addressbook-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 19 Aug 2017 19:56:42 +0000 (21:56 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 19 Aug 2017 20:14:41 +0000 (22:14 +0200)
- 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 <roland@mxchange.org>
src/java/org/mxchange/addressbook/beans/businessdata/AddressbookAdminBusinessDataWebRequestController.java
src/java/org/mxchange/addressbook/beans/businessdata/AddressbookBusinessDataWebSessionBean.java

index bbefa67a2c78015ff4d14d86b312f97751eba0ad..dbc3d9b00ee3cca38448924aa5030807a16e05cb 100644 (file)
@@ -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
-        * <p>
-        * @return A list of all business contacts
-        */
-       List<BusinessBasicData> allBusinessContacts ();
-
 }
index 82b98e2f36cb68151b26b52a082a139ec6ca679d..e00cdca11b43ae09e67cfb715c81245f8fe71d7f 100644 (file)
@@ -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
+        * <p>
+        * @return A list of all business contacts
+        */
        @SuppressWarnings ("ReturnOfCollectionOrArrayField")
        public List<BusinessBasicData> allBusinessContacts () {
                return this.businessContacts;