]> git.mxchange.org Git - jjobs-war.git/blob - src/java/org/mxchange/jjobs/beans/contact/phone/JobsAdminContactPhoneWebRequestController.java
Continued with land-line and fax numbers: (please cherry-pick)
[jjobs-war.git] / src / java / org / mxchange / jjobs / beans / contact / phone / JobsAdminContactPhoneWebRequestController.java
1
2 /*
3  * Copyright (C) 2016 Roland Haeder
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Affero General Public License as
7  * published by the Free Software Foundation, either version 3 of the
8  * License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Affero General Public License for more details.
14  *
15  * You should have received a copy of the GNU Affero General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18 package org.mxchange.jjobs.beans.contact.phone;
19
20 import java.io.Serializable;
21 import javax.ejb.Local;
22 import org.mxchange.jcontacts.events.contact.add.AdminAddedContactEvent;
23 import org.mxchange.jcontacts.events.contact.update.AdminUpdatedContactEvent;
24 import org.mxchange.jusercore.events.user.add.AdminAddedUserEvent;
25
26 /**
27  * An interface for user beans
28  * <p>
29  * @author Roland Haeder<roland@mxchange.org>
30  */
31 @Local
32 public interface JobsAdminContactPhoneWebRequestController extends Serializable {
33
34         /**
35          * Unlinks mobile data with current contact
36          * <p>
37          * @return Redirect outcome
38          */
39         String unlinkMobileContactData ();
40
41         /**
42          * Event observer for newly added users by adminstrator
43          * <p>
44          * @param event Event being fired
45          */
46         void afterAdminAddedUserEvent (final AdminAddedUserEvent event);
47
48         /**
49          * Observes events being fired when an administrator has added a new
50          * contact.
51          * <p>
52          * @param event Event being fired
53          */
54         void afterAdminAddedContact (final AdminAddedContactEvent event);
55
56         /**
57          * Event observer for updated contact data by administrators
58          * <p>
59          * @param event Updated contact data event
60          */
61         void afterAdminUpdatedContactDataEvent (final AdminUpdatedContactEvent event);
62
63 }