From: Roland Häder Date: Wed, 10 Aug 2016 10:19:51 +0000 (+0200) Subject: added business method deleteCellphoneData() for removing cell phone numbers. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=db4e6e9174c1f9bfea8a394cbcde35b90cffde43;p=jcontacts-business-lib.git added business method deleteCellphoneData() for removing cell phone numbers. --- diff --git a/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java b/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java index 6fa96b0..9384083 100644 --- a/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java +++ b/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java @@ -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. *

- * @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 + *

+ * @param cellPhoneNumber Cell phone number instance to update *

- * @return Updated cellphone number instance + * @return Updated cell phone number instance */ DialableCellphoneNumber updateCellphoneData (final DialableCellphoneNumber cellPhoneNumber);