From: Roland Häder Date: Tue, 9 Aug 2016 13:31:53 +0000 (+0200) Subject: added business method for updating cellphone numbers X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1da672f05424e966ba56d755cbbafde07a360fa0;p=jcontacts-business-lib.git added business method for updating cellphone numbers --- 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); + }