2 * Copyright (C) 2016 Roland Haeder
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.contact;
19 import java.io.Serializable;
20 import java.util.Date;
21 import org.mxchange.jcontacts.contact.Contact;
22 import org.mxchange.jcontacts.contact.gender.Gender;
23 import org.mxchange.jcountry.data.Country;
24 import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider;
27 * An administrative interface for user beans
29 * @author Roland Haeder<roland@mxchange.org>
31 public interface AddressbookAdminContactWebRequestController extends Serializable {
34 * Copies given contact's data to this controller
36 * @param contact Contact instance
38 void copyContactToController (final Contact contact);
41 * Getter for cellphone id
43 * @return Cellphone id
45 Long getCellphoneId ();
48 * Setter for cellphone id
50 * @param cellphoneId Cellphone id
52 void setCellphoneId (final Long cellphoneId);
66 void setFaxId (final Long faxId);
69 * Getter for land-line id
71 * @return Land-line id
73 Long getLandLineId ();
76 * Setter for land-line id
78 * @param landLineId Land-line id
80 void setLandLineId (final Long landLineId);
83 * Getter for birth day
90 * Setter for birth day
92 * @param birthday Birth day
94 void setBirthday (final Date birthday);
97 * Getter for ellphone number's carrier
99 * @return Cellphone number's carrier
101 MobileProvider getCellphoneCarrier ();
104 * Setter for cellphone number's carrier prefix
106 * @param cellphoneCarrier Cellphone number's carrier prefix
108 void setCellphoneCarrier (final MobileProvider cellphoneCarrier);
111 * Getter for ellphone number
113 * @return Cellphone number
115 Long getCellphoneNumber ();
118 * Setter for ellphone number
120 * @param cellphoneNumber Cellphone number
122 void setCellphoneNumber (final Long cellphoneNumber);
134 * @param city the city to set
136 void setCity (final String city);
139 * Getter for comments
143 String getComment ();
148 * @param comment Comments
150 void setComment (final String comment);
153 * Getter for contact id
157 Long getContactId ();
160 * Setter for contact id
162 * @param contactId Contact id
164 void setContactId (final Long contactId);
167 * Getter for country instance
169 * @return Country instance
171 Country getCountry ();
174 * Setter for country instance
176 * @param country Country instance
178 void setCountry (final Country country);
181 * Getter for email address
183 * @return Email address
185 String getEmailAddress ();
188 * Setter for email address
190 * @param emailAddress Email address
192 void setEmailAddress (final String emailAddress);
197 * @return the familyName
199 String getFamilyName ();
204 * @param familyName the familyName to set
206 void setFamilyName (final String familyName);
209 * Getter for fax number's area code
211 * @return Fax number's area code
213 Integer getFaxAreaCode ();
216 * Setter for fax number's area code
218 * @param faxAreaCode Fax number's area code
220 void setFaxAreaCode (final Integer faxAreaCode);
223 * Getter for fax's country instance
225 * @return Fax' country instance
227 Country getFaxCountry ();
230 * Setter for fax's country instance
232 * @param faxCountry Fax' country instance
234 void setFaxCountry (final Country faxCountry);
237 * Getter for fax number
241 Long getFaxNumber ();
244 * Setter for fax number
246 * @param faxNumber Fax number
248 void setFaxNumber (final Long faxNumber);
253 * @return the first name
255 String getFirstName ();
260 * @param firstName the first name to set
262 void setFirstName (final String firstName);
265 * Gender of the contact
272 * Gender of the contact
274 * @param gender the gender to set
276 void setGender (final Gender gender);
281 * @return the houseNumber
283 Short getHouseNumber ();
288 * @param houseNumber the houseNumber to set
290 void setHouseNumber (final Short houseNumber);
293 * Getter for phone number's area code
295 * @return Phone number's area code
297 Integer getPhoneAreaCode ();
300 * Setter for phone number's area code
302 * @param phoneAreaCode Phone number's area code
304 void setPhoneAreaCode (final Integer phoneAreaCode);
307 * Getter for phone number's country instance
309 * @return Phone number's country instance
311 Country getPhoneCountry ();
314 * Setter for phone number's country instance
316 * @param phoneCountry Phone number's country instance
318 void setPhoneCountry (final Country phoneCountry);
321 * Getter for phone number
323 * @return Phone number
325 Long getPhoneNumber ();
328 * Setter for phone number
330 * @param phoneNumber Phone number
332 void setPhoneNumber (final Long phoneNumber);
344 * @param street the street to set
346 void setStreet (final String street);
351 * @return the zipCode
353 Integer getZipCode ();
358 * @param zipCode the zipCode to set
360 void setZipCode (final Integer zipCode);