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.pizzaapplication.beans.phone;
19 import java.io.Serializable;
20 import javax.ejb.Local;
21 import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
22 import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
23 import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
26 * An interface for a request web controller (bean) for administrative phone
29 * @author Roland Haeder<roland@mxchange.org>
32 public interface PizzaAdminPhoneWebRequestController extends Serializable {
35 * Getter for dialable cellphone number instance
37 * @return Dialable cellphone number instance
39 DialableCellphoneNumber getCellPhone ();
42 * Setter for dialable land-line number instance
44 * @param landLine Dialable land-line number instance
46 void setLandLine (final DialableLandLineNumber landLine);
49 * Getter for dialable land-line number instance
51 * @return Dialable land-line number instance
53 DialableLandLineNumber getLandLine ();
56 * Setter for dialable fax number instance
58 * @param fax Dialable fax number instance
60 void setFax (final DialableFaxNumber fax);
63 * Getter for dialable fax number instance
65 * @return Dialable fax number instance
67 DialableFaxNumber getFax ();
70 * Setter for dialable cellphone number instance
72 * @param cellPhone Dialable cellphone number instance
74 void setCellPhone (final DialableCellphoneNumber cellPhone);