]> git.mxchange.org Git - addressbook-lib.git/blobdiff - src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java
Continued:
[addressbook-lib.git] / src / org / mxchange / addressbook / model / addressbook / AddressbookSessionBeanRemote.java
index de3baa0d2bfc420b84b2f9b0cd222572d4dd9f58..44da7a749cb208446df64e0de8b507c39680df2c 100644 (file)
@@ -64,6 +64,14 @@ public interface AddressbookSessionBeanRemote extends Serializable {
         */
        public Addressbook createAddressbook (final Addressbook addressbook) throws AddressbookNameAlreadyUsedException;
 
+       /**
+        * Checks whether the given address book id is used (means available).
+        * <p>
+        * @param addressbookId Address book id to check
+        * @return Whether the id is valid
+        */
+       public boolean isAddressbookIdUsed (final Long addressbookId);
+
        /**
         * Checks if the given address book's name is already used by the user.
         * <p>