From: Roland Häder Date: Mon, 8 Aug 2016 13:50:16 +0000 (+0200) Subject: added business methods for fetching all cellphone, land-line and fax numers X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ac9d1b2e035bae43d5746835ee1ef26d0c3938bb;p=jphone-lib.git added business methods for fetching all cellphone, land-line and fax numers --- 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 (); + }