From: Roland Häder Date: Thu, 27 Apr 2017 12:30:22 +0000 (+0200) Subject: ported project to new libraries jaddressbook-share-core/lib X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ddec6f59f2d9cdbbf6d54c295af90e8209fcd36c;p=jjobs-ejb.git ported project to new libraries jaddressbook-share-core/lib Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jjobs/model/addressbook/JobsAddressbookSessionBean.java b/src/java/org/mxchange/jjobs/model/addressbook/JobsAddressbookSessionBean.java index 591ceaa..288ed1e 100644 --- a/src/java/org/mxchange/jjobs/model/addressbook/JobsAddressbookSessionBean.java +++ b/src/java/org/mxchange/jjobs/model/addressbook/JobsAddressbookSessionBean.java @@ -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 *

* @author Roland Häder */ @@ -82,16 +82,6 @@ public class JobsAddressbookSessionBean extends BaseJobsDatabaseBean implements return query.getResultList(); } - @Override - public List 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?