import java.io.Serializable;
import javax.ejb.Remote;
+import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
+import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
/**
public interface AdminPhoneSessionBeanRemote extends Serializable {
/**
- * Deletes given cell phone data.
+ * Deletes given fax data.
* <p>
- * @param cellPhoneNumber Cell phone data to be deleted
+ * @param faxNumber Fax data to be deleted
*/
- void deleteMobileData (final DialableMobileNumber cellPhoneNumber);
+ void deleteFaxData (final DialableFaxNumber faxNumber);
/**
- * Updates data from given cell phone number instance in database
+ * Deletes given land-line data.
* <p>
- * @param cellPhoneNumber Cell phone number instance to update
+ * @param landLineNumber Land-line data to be deleted
+ */
+ void deleteLandLineData (final DialableLandLineNumber landLineNumber);
+
+ /**
+ * Deletes given mobile data.
+ * <p>
+ * @param mobileNumber Mobile data to be deleted
+ */
+ void deleteMobileData (final DialableMobileNumber mobileNumber);
+
+ /**
+ * Updates data from given fax number instance in database
+ * <p>
+ * @param faxNumber Fax number instance to update
+ * <p>
+ * @return Updated fax number instance
+ */
+ DialableFaxNumber updateFaxData (final DialableFaxNumber faxNumber);
+
+ /**
+ * Updates data from given land-line number instance in database
+ * <p>
+ * @param landLineNumber Land-line number instance to update
+ * <p>
+ * @return Updated landLine number instance
+ */
+ DialableLandLineNumber updateLandLineData (final DialableLandLineNumber landLineNumber);
+
+ /**
+ * Updates data from given mobile number instance in database
+ * <p>
+ * @param mobileNumber Mobile number instance to update
* <p>
- * @return Updated cell phone number instance
+ * @return Updated mobile number instance
*/
- DialableMobileNumber updateMobileData (final DialableMobileNumber cellPhoneNumber);
+ DialableMobileNumber updateMobileData (final DialableMobileNumber mobileNumber);
}