2 * Copyright (C) 2015 Roland Haeder
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (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 General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 package org.mxchange.addressbook.beans.user;
19 import java.io.Serializable;
20 import org.mxchange.jcontacts.contact.gender.Gender;
21 import org.mxchange.jusercore.model.user.User;
24 * An interface for user beans
26 * @author Roland Haeder<roland@mxchange.org>
28 public interface UserWebController extends Serializable {
31 * Creates an instance from all properties
33 * @return A user instance
35 public User createUserInstance ();
40 * @return the cellphoneNumber
42 public String getCellphoneNumber ();
47 * @param cellphoneNumber the cellphoneNumber to set
49 public void setCellphoneNumber (final String cellphoneNumber);
56 public String getCity ();
61 * @param city the city to set
63 public void setCity (final String city);
70 public String getComment ();
75 * @param comment Comments
77 public void setComment (final String comment);
80 * Getter for user name
84 public String getUserName ();
87 * Setter for user name
89 * @param userName User name
91 public void setUserName (final String userName);
94 * Getter for unencrypted user password
96 * @return Unencrypted user password
98 public String getUserPassword ();
101 * Setter for unencrypted user password
103 * @param userPassword Unencrypted user password
105 public void setUserPassword (final String userPassword);
110 * @return the companyName
112 public String getCompanyName ();
117 * @param companyName the companyName to set
119 public void setCompanyName (final String companyName);
124 * @return the countryCode
126 public String getCountryCode ();
131 * @param countryCode the countryCode to set
133 public void setCountryCode (final String countryCode);
138 * @return the emailAddress
140 public String getEmailAddress ();
145 * @param emailAddress the emailAddress to set
147 public void setEmailAddress (final String emailAddress);
152 * @return the familyName
154 public String getFamilyName ();
159 * @param familyName the familyName to set
161 public void setFamilyName (final String familyName);
166 * @return the faxNumber
168 public String getFaxNumber ();
173 * @param faxNumber the faxNumber to set
175 public void setFaxNumber (final String faxNumber);
180 * @return the first name
182 public String getFirstName ();
187 * @param firstName the first name to set
189 public void setFirstName (final String firstName);
192 * Gender of the contact
196 public Gender getGender ();
199 * Gender of the contact
201 * @param gender the gender to set
203 public void setGender (final Gender gender);
208 * @return the houseNumber
210 public Short getHouseNumber ();
215 * @param houseNumber the houseNumber to set
217 public void setHouseNumber (final Short houseNumber);
222 * @return the phoneNumber
224 public String getPhoneNumber ();
229 * @param phoneNumber the phoneNumber to set
231 public void setPhoneNumber (final String phoneNumber);
238 public String getStreet ();
243 * @param street the street to set
245 public void setStreet (final String street);
250 * @return the zipCode
252 public Integer getZipCode ();
257 * @param zipCode the zipCode to set
259 public void setZipCode (final Integer zipCode);
262 * Checks whether all required personal data is set
264 * @return Whether the required personal data is set
266 public boolean isRequiredPersonalDataSet ();