From 0e65abf254489acac2a9822481d246e7203e6f29 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 2 Mar 2016 21:37:32 +0100 Subject: [PATCH] removed sharing stuff (only in addressbook project) --- .../beans/addressbook/AddressbookWebSessionBean.java | 12 ------------ .../addressbook/AddressbookWebSessionController.java | 10 +--------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionBean.java index 30bf3721..8a26bdd6 100644 --- a/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionBean.java @@ -246,18 +246,6 @@ public class AddressbookWebSessionBean implements AddressbookWebSessionControlle return this.allEntries(addressbook).size(); } - @Override - public List 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; diff --git a/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionController.java b/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionController.java index 47686906..ce6203cf 100644 --- a/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionController.java +++ b/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionController.java @@ -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. - *

- * @return List of not sharing users - */ - List 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. *

* @return Whether the address book is loaded */ -- 2.39.5