]> git.mxchange.org Git - jjobs-war.git/blob - src/java/org/mxchange/jjobs/beans/phone/JobsAdminPhoneWebRequestController.java
Continued with some rewrites: (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.mobileprovider.MobileProvider;
22
23 /**
24  * An interface for a request web controller (bean) for administrative phone
25  * number purposes.
26  * <p>
27  * @author Roland Haeder<roland@mxchange.org>
28  */
29 @Local
30 public interface JobsAdminPhoneWebRequestController extends Serializable {
31
32         /**
33          * Changes cellphone entry data
34          * <p>
35          * @return Redirect outcome
36          */
37         String editCellphoneData ();
38
39         /**
40          * Getter for cell phone provider
41          * <p>
42          * @return Cell phone provider
43          */
44         MobileProvider getCellphoneProvider ();
45
46         /**
47          * Setter for cell phone provider
48          * <p>
49          * @param cellphoneProvider Cell phone provider
50          */
51         void setCellphoneProvider (final MobileProvider cellphoneProvider);
52
53         /**
54          * Getter for dial number without prefix
55          * <p>
56          * @return Dial number without prefix
57          */
58         Long getPhoneNumber ();
59
60         /**
61          * Setter for dial number without prefix
62          * <p>
63          * @param phoneNumber Dial number without prefix
64          */
65         void setPhoneNumber (final Long phoneNumber);
66
67 }