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;
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
*/