2 * Copyright (C) 2016 Roland Haeder
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Affero General Public License as
6 * published by the Free Software Foundation, either version 3 of the
7 * License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Affero General Public License for more details.
14 * You should have received a copy of the GNU Affero General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 package org.mxchange.addressbook.beans.phone;
19 import java.io.Serializable;
20 import javax.ejb.Local;
21 import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
22 import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
23 import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
26 * An interface for a request web controller (bean) for administrative phone
29 * @author Roland Haeder<roland@mxchange.org>
32 public interface AddressbookAdminPhoneWebRequestController extends Serializable {
35 * Setter for dialable cellphone number instance
37 * @param cellPhone Dialable cellphone number instance
39 void setCellPhone (final DialableMobileNumber cellPhone);
42 * Getter for dialable cellphone number instance
44 * @return Dialable cellphone number instance
46 DialableMobileNumber getMobileNumber ();
49 * Setter for dialable land-line number instance
51 * @param landLine Dialable land-line number instance
53 void setLandLine (final DialableLandLineNumber landLine);
56 * Getter for dialable land-line number instance
58 * @return Dialable land-line number instance
60 DialableLandLineNumber getLandLine ();
63 * Setter for dialable fax number instance
65 * @param fax Dialable fax number instance
67 void setFax (final DialableFaxNumber fax);
70 * Getter for dialable fax number instance
72 * @return Dialable fax number instance
74 DialableFaxNumber getFax ();