From 138c2e65b7cbeb5f7ab788f630c2a564feda7552 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 15 Oct 2017 22:57:51 +0200 Subject: [PATCH] Continued: - removed findMobileNumberById() as this has been moved to WAR project (and later Swing) for performance reasons MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../AdminMobileProviderSessionBeanRemote.java | 4 +-- .../phone/PhoneSessionBeanRemote.java | 34 ------------------- 2 files changed, 2 insertions(+), 36 deletions(-) diff --git a/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/AdminMobileProviderSessionBeanRemote.java b/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/AdminMobileProviderSessionBeanRemote.java index ad79191..58a4b34 100644 --- a/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/AdminMobileProviderSessionBeanRemote.java +++ b/src/org/mxchange/jphone/model/phonenumbers/mobileprovider/AdminMobileProviderSessionBeanRemote.java @@ -18,7 +18,7 @@ package org.mxchange.jphone.model.phonenumbers.mobileprovider; import java.io.Serializable; import javax.ejb.Remote; -import org.mxchange.jphone.exceptions.MobileProviderAlreadyAddedException; +import org.mxchange.jphone.exceptions.mobileprovider.MobileProviderAlreadyAddedException; /** * A remote interface for mobile provider data retrieval for administrative @@ -38,7 +38,7 @@ public interface AdminMobileProviderSessionBeanRemote extends Serializable { *

* @return Updated instance *

- * @throws org.mxchange.jphone.exceptions.MobileProviderAlreadyAddedException Thrown if the mobile provider is already added + * @throws org.mxchange.jphone.exceptions.mobileprovider.MobileProviderAlreadyAddedException Thrown if the mobile provider is already added */ MobileProvider addMobileProvider (final MobileProvider mobileProvider) throws MobileProviderAlreadyAddedException; diff --git a/src/org/mxchange/jphone/model/phonenumbers/phone/PhoneSessionBeanRemote.java b/src/org/mxchange/jphone/model/phonenumbers/phone/PhoneSessionBeanRemote.java index 570bf58..975c272 100644 --- a/src/org/mxchange/jphone/model/phonenumbers/phone/PhoneSessionBeanRemote.java +++ b/src/org/mxchange/jphone/model/phonenumbers/phone/PhoneSessionBeanRemote.java @@ -19,7 +19,6 @@ package org.mxchange.jphone.model.phonenumbers.phone; import java.io.Serializable; import java.util.List; import javax.ejb.Remote; -import org.mxchange.jphone.exceptions.PhoneEntityNotFoundException; import org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber; import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber; @@ -32,39 +31,6 @@ import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber; @Remote public interface PhoneSessionBeanRemote extends Serializable { - /** - * Finds a fax entry by given id number - *

- * @param faxNumberId Fax entry id number - *

- * @return A valid fax instance - *

- * @throws PhoneEntityNotFoundException If the entity was not found - */ - DialableFaxNumber findFaxNumberById (final Long faxNumberId) throws PhoneEntityNotFoundException; - - /** - * Finds a land-line entry by given id number - *

- * @param landLineNumberId Land-line entry id number - *

- * @return A valid land-line instance - *

- * @throws PhoneEntityNotFoundException If the entity was not found - */ - DialableLandLineNumber findLandLineNumberById (final Long landLineNumberId) throws PhoneEntityNotFoundException; - - /** - * Finds a mobile entry by given id number - *

- * @param mobileNumberId Mobile entry id number - *

- * @return A valid mobile instance - *

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

-- 2.39.5