2 * Copyright (C) 2016 Roland Haeder GmbH
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.
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.
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/>.
17 package org.mxchange.addressbook.beans.helper;
19 import java.io.Serializable;
20 import org.mxchange.jcontacts.contact.Contact;
21 import org.mxchange.jusercore.model.user.User;
24 * An interface for general bean helper
26 * @author Roland Haeder<roland@mxchange.org>
28 public interface AddressbookAdminWebRequestController extends Serializable {
31 * Getter for user instance
33 * @return User instance
38 * Setter for user instance
40 * @param user User instance
42 void setUser (final User user);
45 * Copies currently set user instance's data to adminUserController
47 void copyUserToController ();
50 * Getter for contact instance
52 * @return Contact instance
54 Contact getContact ();
57 * Setter for contact instance
59 * @param contact Contact instance
61 void setContact (final Contact contact);
64 * Copies currently set contact instance's data to adminContactController
66 void copyContactToController ();