From 73f3988f00679a72e0ed6f2d4cb3db5ddcfe6cd5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 14 Apr 2020 21:49:40 +0200 Subject: [PATCH] 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()" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../MobileProviderSingletonBeanRemote.java | 2 +- .../phonenumbers/phone/PhoneSessionBeanRemote.java | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) 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 (); } -- 2.39.5