]> git.mxchange.org Git - jjobs-war.git/commitdiff
removed sharing stuff (only in addressbook project)
authorRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 20:37:32 +0000 (21:37 +0100)
committerRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 20:37:32 +0000 (21:37 +0100)
src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionBean.java
src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionController.java

index 30bf372127b73c16b1d4c0d9f3fd81e5289e6b51..8a26bdd66926c7304180cb0d49ae5d1aea04e1b0 100644 (file)
@@ -246,18 +246,6 @@ public class AddressbookWebSessionBean implements AddressbookWebSessionControlle
                return this.allEntries(addressbook).size();
        }
 
-       @Override
-       public List<User> allUsersNotSharing () {
-               // Is the user logged in?
-               if (!this.loginController.isUserLoggedIn()) {
-                       // Not logged in
-                       throw new FaceletException("This method can only be called as logged-in user."); //NOI18N
-               }
-
-               // Call EJB
-               return this.addressbookBean.allUsersNotSharing(this.loginController.getLoggedInUser(), this.getAddressbook());
-       }
-
        @Override
        public Addressbook getAddressbook () {
                return this.addressbook;
index 47686906d18168c662589f855c332a2b839927a3..ce6203cfa6a9b6a1f084c1ce15ca4643df86e002 100644 (file)
@@ -186,15 +186,7 @@ public interface AddressbookWebSessionController extends Serializable {
        void setAddressbook (final Addressbook addressbook);
 
        /**
-        * Retrieves a list of all users this user is not sharing this address book
-        * with.
-        * <p>
-        * @return List of not sharing users
-        */
-       List<User> allUsersNotSharing ();
-
-       /**
-        * Checks wether an address book has been loaded by checking the id number.
+        * Checks weather an address book has been loaded by checking the id number.
         * <p>
         * @return Whether the address book is loaded
         */