3 * Copyright (C) 2016 Roland Haeder
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.
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.
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/>.
18 package org.mxchange.jjobs.beans.contact.phone;
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;
27 * An interface for user beans
29 * @author Roland Haeder<roland@mxchange.org>
32 public interface JobsAdminContactPhoneWebRequestController extends Serializable {
35 * Unlinks mobile data with current contact
37 * @return Redirect outcome
39 String unlinkMobileContactData ();
42 * Event observer for newly added users by adminstrator
44 * @param event Event being fired
46 void afterAdminAddedUserEvent (final AdminAddedUserEvent event);
49 * Observes events being fired when an administrator has added a new
52 * @param event Event being fired
54 void afterAdminAddedContact (final AdminAddedContactEvent event);
57 * Event observer for updated contact data by administrators
59 * @param event Updated contact data event
61 void afterAdminUpdatedContactDataEvent (final AdminUpdatedContactEvent event);