From: Roland Haeder Date: Wed, 2 Mar 2016 20:37:32 +0000 (+0100) Subject: removed sharing stuff (only in addressbook project) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0e65abf254489acac2a9822481d246e7203e6f29;p=jjobs-war.git removed sharing stuff (only in addressbook project) --- 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 */