]> git.mxchange.org Git - jphone-lib.git/commitdiff
Renaming season has started:
authorRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 08:02:53 +0000 (10:02 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 08:52:09 +0000 (10:52 +0200)
- renamed cellphone to mobile (all occurences)
- let's don't discrimite other mobile phones, right?

src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java
src/org/mxchange/jphone/phonenumbers/phone/PhoneSessionBeanRemote.java

index 7c7398f1d1dd22da8c462b228497c41e5afc8647..7ecb759282f4bcb56ded244c11a0750dcfe60240 100644 (file)
@@ -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 {
         * <p>
         * @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 {
         * <p>
         * @return Updated cell phone number instance
         */
-       DialableCellphoneNumber updateCellphoneData (final DialableCellphoneNumber cellPhoneNumber);
+       DialableMobileNumber updateMobileData (final DialableMobileNumber cellPhoneNumber);
 
 }
index 8037bc53f15ae65027ef6ce4440a5a73a7058805..da9a72cf7d8f8ca848816add0378235132b168d2 100644 (file)
@@ -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 {
         * <p>
         * @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
         * <p>
         * @return All cell phone numbers
         */
-       List<DialableCellphoneNumber> allCellphoneNumbers ();
+       List<DialableMobileNumber> allMobileNumbers ();
 
        /**
         * Returns a list of all land-line numbers