]> git.mxchange.org Git - jcontacts-lib.git/blobdiff - src/org/mxchange/jcontacts/contact/ContactSessionBeanRemote.java
added business method updateContactData() with conly a contact instance
[jcontacts-lib.git] / src / org / mxchange / jcontacts / contact / ContactSessionBeanRemote.java
index 064145123ed91b7db5e58e20416252e42869e07f..f2d4fa388a3274650080eb6ebac548bea334518b 100644 (file)
@@ -53,6 +53,17 @@ public interface ContactSessionBeanRemote extends Serializable {
         */
        Contact updateContactData (final Contact contact, final boolean isCellphoneUnlinked, final boolean isLandlineUnlinked, final boolean isFaxUnlinked);
 
+       /**
+        * Updates given contact in database. Please note that the id number must be
+        * set. This method should also make sure that cellphone, land-line and fix
+        * numbers are updated, too.
+        * <p>
+        * @param contact Contact to update
+        * <p>
+        * @return Updated contact instance
+        */
+       Contact updateContactData (final Contact contact);
+
        /**
         * Returns a list of all found contacts
         * <p>