From: Roland Häder Date: Wed, 10 Aug 2016 11:01:15 +0000 (+0200) Subject: right place for these business methods, they are not contact-related and only "phone... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7b4f9d9428f59e18b0ca774bdaca22e7521a3389;p=jphone-lib.git right place for these business methods, they are not contact-related and only "phone-generic" --- diff --git a/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java b/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java index cb52fb4..7c7398f 100644 --- a/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java +++ b/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java @@ -18,6 +18,7 @@ package org.mxchange.jphone.phonenumbers.phone; import java.io.Serializable; import javax.ejb.Remote; +import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; /** * A remote administrative interface for any kind of phone numbers. @@ -27,4 +28,20 @@ import javax.ejb.Remote; @Remote public interface AdminPhoneSessionBeanRemote extends Serializable { + /** + * Deletes given cell phone data. + *

+ * @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 cell phone number instance + */ + DialableCellphoneNumber updateCellphoneData (final DialableCellphoneNumber cellPhoneNumber); + }