]> git.mxchange.org Git - jjobs-war.git/blob - src/java/org/mxchange/jjobs/beans/phone/JobsAdminContactPhoneWebSessionController.java
updated copyright + author
[jjobs-war.git] / src / java / org / mxchange / jjobs / beans / phone / JobsAdminContactPhoneWebSessionController.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 java.util.List;
21 import org.mxchange.jcontacts.contact.Contact;
22 import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
23 import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
24 import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
25
26 /**
27  * An interface for a request web controller (bean) for administrative phone
28  * number purposes.
29  * <p>
30  * @author Roland Haeder<roland@mxchange.org>
31  */
32 public interface JobsAdminContactPhoneWebSessionController extends Serializable {
33
34         /**
35          * Getter for all contacts having current cellphone instance linked
36          * <p>
37          * @return List of all linked contacts
38          */
39         @Deprecated
40         List<Contact> allCellphoneContacts ();
41
42         /**
43          * Getter for dialable cellphone number instance
44          * <p>
45          * @return Dialable cellphone number instance
46          */
47         DialableCellphoneNumber getCellPhone ();
48
49         /**
50          * Setter for dialable land-line number instance
51          * <p>
52          * @param landLine Dialable land-line number instance
53          */
54         void setLandLine (final DialableLandLineNumber landLine);
55
56         /**
57          * Getter for dialable land-line number instance
58          * <p>
59          * @return Dialable land-line number instance
60          */
61         DialableLandLineNumber getLandLine ();
62
63         /**
64          * Setter for dialable fax number instance
65          * <p>
66          * @param fax Dialable fax number instance
67          */
68         void setFax (final DialableFaxNumber fax);
69
70         /**
71          * Getter for dialable fax number instance
72          * <p>
73          * @return Dialable fax number instance
74          */
75         DialableFaxNumber getFax ();
76
77         /**
78          * Setter for dialable cellphone number instance
79          * <p>
80          * @param cellPhone Dialable cellphone number instance
81          */
82         void setCellPhone (final DialableCellphoneNumber cellPhone);
83
84         /**
85          * Getter for linked contact account
86          * <p>
87          * @return Linked contact account
88          */
89         @Deprecated
90         Contact getContact ();
91
92         /**
93          * Setter for linked contact account
94          * <p>
95          * @param contact Linked contact account
96          */
97         @Deprecated
98         void setContact (final Contact contact);
99
100 }