]> git.mxchange.org Git - jfinancials-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 19:56:42 +0000 (21:56 +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/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebSessionBean.java
src/java/org/mxchange/jfinancials/beans/business/basicdata/FinancialsBusinessDataWebSessionController.java

index d26b46c89b559a3f107cd9bff4e6632c3d355e69..9f3b16e8cd4c95d7ccaf6603a875b3fed73fc898 100644 (file)
@@ -25,12 +25,12 @@ import javax.inject.Named;
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
+import org.mxchange.jcontactsbusiness.basicdata.AdminBusinessDataSessionBeanRemote;
 import org.mxchange.jcontactsbusiness.basicdata.BusinessBasicData;
 import org.mxchange.jcontactsbusiness.basicdata.BusinessDataSessionBeanRemote;
 import org.mxchange.jcountry.data.Country;
 import org.mxchange.jfinancials.beans.BaseFinancialsController;
 import org.mxchange.jfinancials.beans.user.login.FinancialsUserLoginWebSessionController;
-import org.mxchange.jcontactsbusiness.basicdata.AdminBusinessDataSessionBeanRemote;
 
 /**
  * A business contact bean (controller)
@@ -120,7 +120,12 @@ public class FinancialsBusinessDataWebSessionBean extends BaseFinancialsControll
                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;
index d3ed5b3f6885066827f024a4aa586cee1d76377e..60b1397bfd73335f48fe91c0a4fa548500063275 100644 (file)
@@ -17,8 +17,6 @@
 package org.mxchange.jfinancials.beans.business.basicdata;
 
 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 FinancialsBusinessDataWebSessionController extends Serializable {
 
-       /**
-        * Returns a list of all business contacts
-        * <p>
-        * @return A list of all business contacts
-        */
-       List<BusinessBasicData> allBusinessContacts ();
-
 }