- added business method unlinkCellphoneDataFromContact() which unlinks cell phone instance from a contact instance. If none is linked, a proper exception is thrown.
import java.io.Serializable;
import javax.ejb.Remote;
+import org.mxchange.jcontacts.contact.Contact;
/**
* A remote interface for administrative purposes around contact's phone numbers
@Remote
public interface AdminContactsPhoneSessionBeanRemote extends Serializable {
+ /**
+ * Unlinks cell phone data from given contact and returns the updated
+ * (detached?) version.
+ * <p>
+ * @param contact Contact to unlink cell phone instance
+ * <p>
+ * @return Updated contact instance
+ */
+ Contact unlinkCellphoneDataFromContact (final Contact contact);
+
}