From db4e6e9174c1f9bfea8a394cbcde35b90cffde43 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 10 Aug 2016 12:19:51 +0200 Subject: [PATCH] added business method deleteCellphoneData() for removing cell phone numbers. --- .../phone/AdminContactsPhoneSessionBeanRemote.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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); -- 2.39.5