]> git.mxchange.org Git - jcontacts-lib.git/commitdiff
added business method updateContactData() with conly a contact instance
authorRoland Häder <roland@mxchange.org>
Tue, 26 Apr 2016 09:15:39 +0000 (11:15 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 26 Apr 2016 09:15:39 +0000 (11:15 +0200)
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>