]> git.mxchange.org Git - pizzaservice-war.git/blob - src/java/org/mxchange/pizzaapplication/beans/helper/PizzaAdminWebRequestController.java
Continued with contact data editing (admin):
[pizzaservice-war.git] / src / java / org / mxchange / pizzaapplication / beans / helper / PizzaAdminWebRequestController.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.pizzaapplication.beans.helper;
18
19 import java.io.Serializable;
20 import org.mxchange.jcontacts.contact.Contact;
21 import org.mxchange.jusercore.model.user.User;
22
23 /**
24  * An interface for general bean helper
25  * <p>
26  * @author Roland Haeder<roland@mxchange.org>
27  */
28 public interface PizzaAdminWebRequestController extends Serializable {
29
30         /**
31          * Getter for user instance
32          * <p>
33          * @return User instance
34          */
35         User getUser ();
36
37         /**
38          * Setter for user instance
39          * <p>
40          * @param user User instance
41          */
42         void setUser (final User user);
43
44         /**
45          * Copies currently set user instance's data to adminUserController
46          */
47         void copyUserToController ();
48
49         /**
50          * Getter for contact instance
51          * <p>
52          * @return Contact instance
53          */
54         Contact getContact ();
55
56         /**
57          * Setter for contact instance
58          * <p>
59          * @param contact Contact instance
60          */
61         void setContact (final Contact contact);
62
63         /**
64          * Copies currently set contact instance's data to adminContactController
65          */
66         void copyContactToController ();
67
68 }