]> git.mxchange.org Git - jjobs-war.git/blob - src/java/org/mxchange/jjobs/beans/phone/JobsAdminPhoneWebRequestController.java
Continued with rewrite: (please cherry-pick)
[jjobs-war.git] / src / java / org / mxchange / jjobs / beans / phone / JobsAdminPhoneWebRequestController.java
1 /*
2  * Copyright (C) 2016 Roland Haeder
3  *
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.
8  *
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.
13  *
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/>.
16  */
17 package org.mxchange.jjobs.beans.phone;
18
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;
24
25 /**
26  * An interface for a request web controller (bean) for administrative phone
27  * number purposes.
28  * <p>
29  * @author Roland Haeder<roland@mxchange.org>
30  */
31 @Local
32 public interface JobsAdminPhoneWebRequestController extends Serializable {
33
34         /**
35          * Getter for dialable cellphone number instance
36          * <p>
37          * @return Dialable cellphone number instance
38          */
39         DialableCellphoneNumber getCellPhone ();
40
41         /**
42          * Setter for dialable land-line number instance
43          * <p>
44          * @param landLine Dialable land-line number instance
45          */
46         void setLandLine (final DialableLandLineNumber landLine);
47
48         /**
49          * Getter for dialable land-line number instance
50          * <p>
51          * @return Dialable land-line number instance
52          */
53         DialableLandLineNumber getLandLine ();
54
55         /**
56          * Setter for dialable fax number instance
57          * <p>
58          * @param fax Dialable fax number instance
59          */
60         void setFax (final DialableFaxNumber fax);
61
62         /**
63          * Getter for dialable fax number instance
64          * <p>
65          * @return Dialable fax number instance
66          */
67         DialableFaxNumber getFax ();
68
69         /**
70          * Setter for dialable cellphone number instance
71          * <p>
72          * @param cellPhone Dialable cellphone number instance
73          */
74         void setCellPhone (final DialableCellphoneNumber cellPhone);
75
76 }