]> git.mxchange.org Git - addressbook-lib.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 08:16:53 +0000 (10:16 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 08:16:53 +0000 (10:16 +0200)
- added remote interface for sharing address books
- updated jar(s)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcoreee.jar
src/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBeanRemote.java [new file with mode: 0644]

index c2e022d69fedac84439d9796883f1931d015a012..4cdb134dfe55c2381d746baac342af402e2a4f80 100644 (file)
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 (file)
index 0000000..edfa19b
--- /dev/null
@@ -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 <http://www.gnu.org/licenses/>.
+ */
+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
+ * <p>
+ * @author Roland Haeder
+ */
+@Remote
+public interface SharedAddressbooksSessionBeanRemote extends Serializable {
+
+       /**
+        * Checks if the given user is sharing address books with others
+        * <p>
+        * @param user User instance
+        * @return Whether the user is sharing address books
+        */
+       boolean isUserSharingAddressbooks (final User user);
+
+}