-/*
- * Copyright (C) 2016 Roland Haeder<roland@mxchange.org>
- *
- * 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.jcontacts.contact;
-
-import java.io.Serializable;
-import java.util.List;
-import javax.ejb.Remote;
-import org.mxchange.jcontacts.exceptions.ContactNotFoundException;
-
-/**
- * A remote interface for general contact purposes
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-@Remote
-public interface ContactSessionBeanRemote extends Serializable {
-
- /**
- * Updates given contact data
- * <p>
- * @param contact Contact data to update
- * <p>
- * @return Updated contact instance
- */
- Contact updateContactPersonalData (final Contact contact);
-
- /**
- * Returns a list of all found contacts
- * <p>
- * @return A list of call contacts
- */
- List<Contact> getAllContacts ();
-
- /**
- * Returns a list of all registered email addresses.
- * <p>
- * @return A list of all email addresses
- */
- List<String> getEmailAddressList ();
-
- /**
- * Returns a contact instance which has the given id number.
- * <p>
- * @param contactId Contact id
- * <p>
- * @return Contact instance
- * <p>
- * @throws ContactNotFoundException If the contact was not found
- */
- Contact findContactById (final Long contactId) throws ContactNotFoundException;
-
-}
+/*\r
+ * Copyright (C) 2016 Roland Haeder<roland@mxchange.org>\r
+ *\r
+ * This program is free software: you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation, either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * This program is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.\r
+ */\r
+package org.mxchange.jcontacts.contact;\r
+\r
+import java.io.Serializable;\r
+import java.util.List;\r
+import javax.ejb.Remote;\r
+import org.mxchange.jcontacts.exceptions.ContactNotFoundException;\r
+\r
+/**\r
+ * A remote interface for general contact purposes\r
+ * <p>\r
+ * @author Roland Haeder<roland@mxchange.org>\r
+ */\r
+@Remote\r
+public interface ContactSessionBeanRemote extends Serializable {\r
+\r
+ /**\r
+ * Updates given contact data\r
+ * <p>\r
+ * @param contact Contact data to update\r
+ * @param isCellphoneUnlinked Whether a cellphone entry has been unlinked in contact instance\r
+ * @param isLandlineUnlinked Whether a land-line entry has been unlinked in contact instance\r
+ * @param isFaxUnlinked Whether a fax entry has been unlinked in contact instance\r
+ * <p>\r
+ * @return Updated contact instance\r
+ */\r
+ Contact updateContactPersonalData (final Contact contact, final boolean isCellphoneUnlinked, final boolean isLandlineUnlinked, final boolean isFaxUnlinked);\r
+\r
+ /**\r
+ * Returns a list of all found contacts\r
+ * <p>\r
+ * @return A list of call contacts\r
+ */\r
+ List<Contact> getAllContacts ();\r
+\r
+ /**\r
+ * Returns a list of all registered email addresses.\r
+ * <p>\r
+ * @return A list of all email addresses\r
+ */\r
+ List<String> getEmailAddressList ();\r
+\r
+ /**\r
+ * Returns a contact instance which has the given id number.\r
+ * <p>\r
+ * @param contactId Contact id\r
+ * <p>\r
+ * @return Contact instance\r
+ * <p>\r
+ * @throws ContactNotFoundException If the contact was not found\r
+ */\r
+ Contact findContactById (final Long contactId) throws ContactNotFoundException;\r
+\r
+}\r