]> git.mxchange.org Git - jcontacts-lib.git/commitdiff
added business method deleteCellphoneData() for removing cell phone numbers.
authorRoland Häder <roland@mxchange.org>
Wed, 10 Aug 2016 10:19:51 +0000 (12:19 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 10 Aug 2016 10:19:51 +0000 (12:19 +0200)
src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java

index 6fa96b0aca8a728e23f24796a45351e896599c38..9384083d0609b2a45fbc8d8800569cb176a2fa64 100644 (file)
@@ -30,11 +30,18 @@ import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
 public interface AdminContactsPhoneSessionBeanRemote extends Serializable {
 
        /**
-        * Updates data from given cellphone number instance in database
+        * Deletes given cell phone data.
         * <p>
-        * @param cellPhoneNumber Cellphone number instance to update
+        * @param cellPhoneNumber Cell phone data to be deleted
+        */
+       void deleteCellphoneData (final DialableCellphoneNumber cellPhoneNumber);
+
+       /**
+        * Updates data from given cell phone number instance in database
+        * <p>
+        * @param cellPhoneNumber Cell phone number instance to update
         * <p>
-        * @return Updated cellphone number instance
+        * @return Updated cell phone number instance
         */
        DialableCellphoneNumber updateCellphoneData (final DialableCellphoneNumber cellPhoneNumber);