]> git.mxchange.org Git - jjobs-ejb.git/commitdiff
ported project to new libraries jaddressbook-share-core/lib
authorRoland Häder <roland@mxchange.org>
Thu, 27 Apr 2017 12:30:22 +0000 (14:30 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 27 Apr 2017 12:30:22 +0000 (14:30 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jjobs/model/addressbook/JobsAddressbookSessionBean.java

index 591ceaa69c0e15ac28d43b4c5b969e811fc72203..288ed1e9c9d4eb735f849de3b997751999c544b8 100644 (file)
@@ -23,16 +23,16 @@ import javax.ejb.Stateless;
 import javax.persistence.NoResultException;
 import javax.persistence.Query;
 import org.mxchange.addressbook.model.addressbook.AddressbookSessionBeanRemote;
-import org.mxchange.jaddressbookcore.exceptions.AddressbookNameAlreadyUsedException;
-import org.mxchange.jaddressbookcore.exceptions.AddressbookNotFoundException;
-import org.mxchange.jaddressbookcore.model.addressbook.Addressbook;
-import org.mxchange.jaddressbookcore.model.addressbook.UserAddressbook;
-import org.mxchange.jaddressbookcore.model.addressbook.entry.AddressbookEntry;
+import org.mxchange.jaddressbook.exceptions.AddressbookNameAlreadyUsedException;
+import org.mxchange.jaddressbook.exceptions.AddressbookNotFoundException;
+import org.mxchange.jaddressbook.model.addressbook.Addressbook;
+import org.mxchange.jaddressbook.model.addressbook.UserAddressbook;
+import org.mxchange.jaddressbook.model.addressbook.entry.AddressbookEntry;
 import org.mxchange.jjobs.database.BaseJobsDatabaseBean;
 import org.mxchange.jusercore.model.user.User;
 
 /**
- * A stateless bean handling addressbooks
+ * A stateless bean handling address books
  * <p>
  * @author Roland Häder<roland@mxchange.org>
  */
@@ -82,16 +82,6 @@ public class JobsAddressbookSessionBean extends BaseJobsDatabaseBean implements
                return query.getResultList();
        }
 
-       @Override
-       public List<User> allUsersNotSharing (final User user, final Addressbook addressbook) {
-               throw new UnsupportedOperationException("JJobs don't have addressbok sharing (maybe yet?)"); //NOI18N
-       }
-
-       @Override
-       public Integer countAllUserSharedAddressbooks (final User user) {
-               throw new UnsupportedOperationException("JJobs don't have addressbok sharing (maybe yet?)"); //NOI18N
-       }
-
        @Override
        public Addressbook createAddressbook (final Addressbook addressbook) throws AddressbookNameAlreadyUsedException {
                // Is it not null?