From 1da672f05424e966ba56d755cbbafde07a360fa0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 9 Aug 2016 15:31:53 +0200 Subject: [PATCH] added business method for updating cellphone numbers --- .../phone/AdminContactsPhoneSessionBeanRemote.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java b/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java index a41a9bb..6fa96b0 100644 --- a/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java +++ b/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java @@ -18,6 +18,7 @@ package org.mxchange.jcontacts.phone; import java.io.Serializable; import javax.ejb.Remote; +import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; /** * A remote interface for administrative purposes around contact's phone numbers @@ -28,4 +29,13 @@ import javax.ejb.Remote; @Remote public interface AdminContactsPhoneSessionBeanRemote extends Serializable { + /** + * Updates data from given cellphone number instance in database + *

+ * @param cellPhoneNumber Cellphone number instance to update + *

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