/*
- * Copyright (C) 2016 - 2020 Free Software Foundation
+ * Copyright (C) 2016 - 2024 Free Software Foundation
*
* 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
public interface AdminContactsMobileSessionBeanRemote extends Serializable {
/**
- * Links existing mobile number with given contact instance. The id number
- * should be set.
- * <p>
+ * Links existing mobile number with given contact instance.The id number
+ * should be set.<p>
* @param contact Contact to link to
* @param mobileNumber Mobile number to link
* <p>
* <p>
* @throws MobileNumberAlreadyLinkedException If a mobile number is already
* linked in contact
+ * @throws ContactNotFoundException If the given contact wasn't found
*/
Contact linkExistingMobileNumberWithContact (final Contact contact, final DialableMobileNumber mobileNumber) throws MobileNumberAlreadyLinkedException, ContactNotFoundException;