]> git.mxchange.org Git - jphone-lib.git/commitdiff
added business methods for fetching all cellphone, land-line and fax numers
authorRoland Häder <roland@mxchange.org>
Mon, 8 Aug 2016 13:50:16 +0000 (15:50 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 8 Aug 2016 13:50:16 +0000 (15:50 +0200)
src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java

index cb52fb4c4edf6baa24b74f62ca9338e37e10562b..1be27d830972d368c9042dee1bbdcc522d4597a2 100644 (file)
 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
+        * <p>
+        * @return All cell phone numbers
+        */
+       List<? extends DialableCellphoneNumber> allCellphoneNumbers ();
+
+       /**
+        * Returns a list of all land-line numbers
+        * <p>
+        * @return All land-line numbers
+        */
+       List<? extends DialableLandLineNumber> allLandLineNumbers ();
+
+       /**
+        * Returns a list of all fax numbers
+        * <p>
+        * @return All fax numbers
+        */
+       List<? extends DialableFaxNumber> allFaxNumbers ();
+
 }