]> git.mxchange.org Git - jjobs-lib.git/commitdiff
removed address book sharing
authorRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 20:26:49 +0000 (21:26 +0100)
committerRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 20:26:49 +0000 (21:26 +0100)
src/org/mxchange/jjobs/model/shared/SharedAddressbooksSessionBeanRemote.java [deleted file]

diff --git a/src/org/mxchange/jjobs/model/shared/SharedAddressbooksSessionBeanRemote.java b/src/org/mxchange/jjobs/model/shared/SharedAddressbooksSessionBeanRemote.java
deleted file mode 100644 (file)
index 959ecce..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright (C) 2016 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.jjobs.model.shared;
-
-import java.io.Serializable;
-import java.util.List;
-import javax.ejb.Remote;
-import org.mxchange.jjobs.exceptions.UserAlreadySharingAddressbookException;
-import org.mxchange.jjobs.model.addressbook.Addressbook;
-import org.mxchange.jjobs.model.addressbook.shared.ShareableAddressbook;
-import org.mxchange.jusercore.model.user.User;
-
-/**
- * A remote interface for sharing address books
- * <p>
- * @author Roland Haeder
- */
-@Remote
-public interface SharedAddressbooksSessionBeanRemote extends Serializable {
-
-       /**
-        * Retrieves a list of all user's shared address books. The list contains
-        * only the shares. But the address books and sharee can be easily
-        * extracted.
-        * <p>
-        * @param user User instance to get list of shared address books (shares)
-        * from
-        *
-        * @return List of shares (= shared address book entries)
-        */
-       List<ShareableAddressbook> allSharedAddressbooks (final User user);
-
-       /**
-        * Starts an address book share between currently logged-in user and
-        * assigned user for current address book.
-        * <p>
-        * @param sharee User sharee instance
-        * @param addressbook Address book instance
-        *
-        * @return Updated share instance
-        *
-        * @throws
-        * org.mxchange.jjobs.exceptions.UserAlreadySharingAddressbookException
-        * When the user is already sharing the address book
-        */
-       ShareableAddressbook startSharing (final User sharee, final Addressbook addressbook) throws UserAlreadySharingAddressbookException;
-
-       /**
-        * 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);
-
-}