From: Roland Häder Date: Tue, 16 Aug 2016 08:02:53 +0000 (+0200) Subject: Renaming season has started: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=34b1764ffce4e1da38f74d69ee2ad34d06460dff;p=jphone-lib.git Renaming season has started: - renamed cellphone to mobile (all occurences) - let's don't discrimite other mobile phones, right? --- diff --git a/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java b/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java index 7c7398f..7ecb759 100644 --- a/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java +++ b/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java @@ -18,7 +18,7 @@ package org.mxchange.jphone.phonenumbers.phone; import java.io.Serializable; import javax.ejb.Remote; -import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; +import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber; /** * A remote administrative interface for any kind of phone numbers. @@ -33,7 +33,7 @@ public interface AdminPhoneSessionBeanRemote extends Serializable { *

* @param cellPhoneNumber Cell phone data to be deleted */ - void deleteCellphoneData (final DialableCellphoneNumber cellPhoneNumber); + void deleteMobileData (final DialableMobileNumber cellPhoneNumber); /** * Updates data from given cell phone number instance in database @@ -42,6 +42,6 @@ public interface AdminPhoneSessionBeanRemote extends Serializable { *

* @return Updated cell phone number instance */ - DialableCellphoneNumber updateCellphoneData (final DialableCellphoneNumber cellPhoneNumber); + DialableMobileNumber updateMobileData (final DialableMobileNumber cellPhoneNumber); } diff --git a/src/org/mxchange/jphone/phonenumbers/phone/PhoneSessionBeanRemote.java b/src/org/mxchange/jphone/phonenumbers/phone/PhoneSessionBeanRemote.java index 8037bc5..da9a72c 100644 --- a/src/org/mxchange/jphone/phonenumbers/phone/PhoneSessionBeanRemote.java +++ b/src/org/mxchange/jphone/phonenumbers/phone/PhoneSessionBeanRemote.java @@ -20,9 +20,9 @@ import java.io.Serializable; import java.util.List; import javax.ejb.Remote; import org.mxchange.jphone.exceptions.PhoneEntityNotFoundException; -import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; +import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber; /** * A remote interface for phone numbers (any kind) @@ -41,14 +41,14 @@ public interface PhoneSessionBeanRemote extends Serializable { *

* @throws PhoneEntityNotFoundException If the entity was not found */ - DialableCellphoneNumber findCellphoneById (Long cellphoneId) throws PhoneEntityNotFoundException; + DialableMobileNumber findMobileNumberById (Long cellphoneId) throws PhoneEntityNotFoundException; /** * Returns a list of all cell phone numbers *

* @return All cell phone numbers */ - List allCellphoneNumbers (); + List allMobileNumbers (); /** * Returns a list of all land-line numbers