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