@Remote
public interface AddressbookSessionBeanRemote extends Serializable {
- /**
- * Retrieves a list of all users this user is not sharing the given address
- * book with.
- * <p>
- * @param user User instance
- * @param addressbook Address book instance
- * <p>
- * @return List of users
- */
- List<User> allUsersNotSharing (final User user, final Addressbook addressbook);
-
- /**
- * Count all shared address books by given user
- * <p>
- * @param user User instance
- * <p>
- * @return Count of all user's shared address books
- */
- Integer countAllUserSharedAddressbooks (final User user);
-
/**
* Some getter for an address book instance from given id number. If the
* address book is not found, an exception is thrown.