From: Roland Haeder Date: Wed, 14 Oct 2015 08:16:53 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=413b1571a4563c2f659303262ac28eba2c8fa063;p=addressbook-lib.git Continued: - added remote interface for sharing address books - updated jar(s) Signed-off-by:Roland Häder --- diff --git a/lib/jcoreee.jar b/lib/jcoreee.jar index c2e022d..4cdb134 100644 Binary files a/lib/jcoreee.jar and b/lib/jcoreee.jar differ diff --git a/src/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBeanRemote.java b/src/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBeanRemote.java new file mode 100644 index 0000000..edfa19b --- /dev/null +++ b/src/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBeanRemote.java @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2015 Roland Haeder + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package org.mxchange.addressbook.model.shared; + +import java.io.Serializable; +import javax.ejb.Remote; +import org.mxchange.jusercore.model.user.User; + +/** + * A remote interface for sharing address books + *

+ * @author Roland Haeder + */ +@Remote +public interface SharedAddressbooksSessionBeanRemote extends Serializable { + + /** + * Checks if the given user is sharing address books with others + *

+ * @param user User instance + * @return Whether the user is sharing address books + */ + boolean isUserSharingAddressbooks (final User user); + +}