- Bean method addAddressbook() should be "basicly finished"
- Same for isAddressbookNameUsed()
- renamed isLoggedIn() to isUserLoggedIn() to make it more clear
* @param addressbookName Address book name
*/
public void setAddressbookName(final String addressbookName);
+
+ /**
+ * Checks if the given address book name is already used by the user.
+ * <p>
+ * @param addressbookName Address book name to check
+ * <p>
+ * @return Whether the name has already been used by the user
+ */
+ public boolean isAddressbookNameUsed(final String addressbookName);
}
}
@Override
- public boolean isLoggedIn () {
+ public boolean isUserLoggedIn () {
// Compare instance
return (this.getLoggedInUser() instanceof User);
}
* <p>
* @return Whether the user is logged-in
*/
- public boolean isLoggedIn ();
+ public boolean isUserLoggedIn ();
}