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.
@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 ();
+
}