From ac9d1b2e035bae43d5746835ee1ef26d0c3938bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 8 Aug 2016 15:50:16 +0200 Subject: [PATCH] added business methods for fetching all cellphone, land-line and fax numers --- .../phone/AdminPhoneSessionBeanRemote.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java b/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java index cb52fb4..1be27d8 100644 --- a/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java +++ b/src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java @@ -17,7 +17,11 @@ package org.mxchange.jphone.phonenumbers.phone; import java.io.Serializable; +import java.util.List; import javax.ejb.Remote; +import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; +import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber; +import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; /** * A remote administrative interface for any kind of phone numbers. @@ -27,4 +31,25 @@ import javax.ejb.Remote; @Remote public interface AdminPhoneSessionBeanRemote extends Serializable { + /** + * Returns a list of all cell phone numbers + *

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

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

+ * @return All fax numbers + */ + List allFaxNumbers (); + } -- 2.39.5