From: Roland Häder Date: Tue, 14 Apr 2020 19:49:40 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=73f3988f00679a72e0ed6f2d4cb3db5ddcfe6cd5;p=jphone-lib.git Continued: - renamed allSomeEntities() to fetchAllSomeEntities() - maybe removed deprecated or not recommended business methods - if a method fetches e.g. a limited list of "Bar" entities, limited by an entity "Foo" it must be named "fetchAllBarsByFoo()" Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/MobileProviderSingletonBeanRemote.java b/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/MobileProviderSingletonBeanRemote.java index 057685c..2ff1431 100644 --- a/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/MobileProviderSingletonBeanRemote.java +++ b/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/MobileProviderSingletonBeanRemote.java @@ -33,6 +33,6 @@ public interface MobileProviderSingletonBeanRemote extends Serializable { *

* @return A list of all SMS providers */ - List allMobileProviders (); + List fetchAllMobileProviders (); } diff --git a/src/org/mxchange/jphone/model/phonenumbers/phone/PhoneSessionBeanRemote.java b/src/org/mxchange/jphone/model/phonenumbers/phone/PhoneSessionBeanRemote.java index 6aa2f13..3a6194b 100644 --- a/src/org/mxchange/jphone/model/phonenumbers/phone/PhoneSessionBeanRemote.java +++ b/src/org/mxchange/jphone/model/phonenumbers/phone/PhoneSessionBeanRemote.java @@ -32,24 +32,24 @@ import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber; public interface PhoneSessionBeanRemote extends Serializable { /** - * Returns a list of all cell phone numbers + * Returns a list of all fax numbers *

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

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

- * @return All fax numbers + * @return All cell phone numbers */ - List allFaxNumbers (); + List fetchAllMobileNumbers (); }