]> git.mxchange.org Git - jjobs-war.git/blob - src/java/org/mxchange/jjobs/beans/phone/JobsAdminContactPhoneWebSessionController.java
Refactured a lot:
[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         List<Contact> allCellphoneContacts ();
40
41         /**
42          * Getter for dialable cellphone number instance
43          * <p>
44          * @return Dialable cellphone number instance
45          */
46         DialableCellphoneNumber getCellPhone ();
47
48         /**
49          * Setter for dialable land-line number instance
50          * <p>
51          * @param landLine Dialable land-line number instance
52          */
53         void setLandLine (final DialableLandLineNumber landLine);
54
55         /**
56          * Getter for dialable land-line number instance
57          * <p>
58          * @return Dialable land-line number instance
59          */
60         DialableLandLineNumber getLandLine ();
61
62         /**
63          * Setter for dialable fax number instance
64          * <p>
65          * @param fax Dialable fax number instance
66          */
67         void setFax (final DialableFaxNumber fax);
68
69         /**
70          * Getter for dialable fax number instance
71          * <p>
72          * @return Dialable fax number instance
73          */
74         DialableFaxNumber getFax ();
75
76         /**
77          * Setter for dialable cellphone number instance
78          * <p>
79          * @param cellPhone Dialable cellphone number instance
80          */
81         void setCellPhone (final DialableCellphoneNumber cellPhone);
82
83         /**
84          * Getter for linked contact account
85          * <p>
86          * @return Linked contact account
87          */
88         Contact getContact ();
89
90         /**
91          * Setter for linked contact account
92          * <p>
93          * @param contact Linked contact account
94          */
95         void setContact (final Contact contact);
96
97 }